All versions of only-test-not-install contain malicious code. The package deletes the folder ~/test from the system as a postinstall script.
Remove the package from your environment. There are no further signs of compromise.
{
"cwe_ids": [
"CWE-506"
],
"github_reviewed": true,
"github_reviewed_at": "2020-08-31T18:45:15Z",
"nvd_published_at": null,
"severity": "CRITICAL"
}