{"id":"MAL-2026-15647","revision":null,"records":[{"revision":"38d201fb34ce4045b279ada1168c9865","observedAt":"2026-10-24T13:17:17.793+00:00","statement":{"source":"osv","id":"MAL-2026-15647","aliases":["GHSA-6cpr-jwvc-jhg7"],"title":"Malicious code in @testrelic/appium-analytics (npm)","description":"\n---\n_-= Per source details. Do not edit below this line.=-_\n\n## Source: amazon-inspector (0b67d6f23451a756c154b86142f91615f5c08c415166c1f66216c8c83d74cbeb)\nThe package registers scripts/postinstall.cjs as an npm postinstall hook. Alongside a benign-looking config-writer, the script contains an obfuscation layer that uses a custom Fisher-Yates-style permutation (Dbv) to reconstruct the string 'constructor' from a scrambled seed, resolves it against a function object to obtain the Function constructor, decodes a scrambled payload body, and invokes Function('', <decoded>)() at install time. Before invocation the wrapper stashes require, module, __dirname and __filename onto global under obfuscated keys so the decoded body can reach Node's module and filesystem APIs from within the Function() scope. The dist/ bundle additionally imports child_process and issues POST/GET calls from multiple files (dist/cli.cjs, dist/index.cjs, dist/service.cjs). No legitimate analytics/config bootstrap requires decoding an opaque scrambled string and executing it through Function.constructor, and the deliberate scope-escape scaffolding is characteristic of install-time droppers. The payload runs automatically on npm install on every installer machine.\n\n## Source: ghsa-malware (646f0dd17193e933882467e3c5e420f4d4e43611de485b52a33385b5aac13fda)\nAny computer that has this package installed or running should be considered fully compromised. All secrets and keys stored on that computer should be rotated immediately from a different computer. The package should be removed, but as full control of the computer may have been given to an outside entity, there is no guarantee that removing the package will remove all malicious software resulting from installing it.\n","state":0,"publishedAt":"2026-08-31T18:36:40+00:00","modifiedAt":"2026-09-04T01:00:06.4018583+00:00","affected":[{"ecosystem":"npm","name":"@testrelic/appium-analytics","ranges":[],"versions":["1.1.1-next.88"],"rawVersionEvidence":null}],"metrics":[],"references":["https://github.com/advisories/GHSA-6cpr-jwvc-jhg7","https://www.npmjs.com/package/@testrelic/appium-analytics/v/1.1.1-next.88"],"sourceUrl":"https://osv.dev/vulnerability/MAL-2026-15647","license":"OSV · upstream source license applies","key":"osv:MAL-2026-15647","identifiers":["MAL-2026-15647","GHSA-6cpr-jwvc-jhg7"]},"retained":false,"historicalAffected":[]}],"coverage":[{"source":"cisa-kev:global","scope":"Complete CISA KEV catalog; all vendors. Missing entries do not establish absence of exploitation.","generation":"2026-11-19T16:46:59.7974392+00:00","complete":true,"records":1786,"lastAttemptAt":"2026-11-19T16:46:59.7974392+00:00","lastSuccessAt":"2026-11-19T16:46:59.9705416+00:00","error":null,"lastVerifiedAt":"2026-11-19T16:46:59.9705431+00:00","snapshotPublishedAt":null,"importing":false,"stagedRecords":0,"checkedIdentifiers":null,"expectedIdentifiers":null,"failedIdentifiers":null},{"source":"cve-program","scope":"Official CVE Program baseline and cumulative hourly delta; all vendors, published and rejected records","generation":"cve-e55c589538e0700b45c7d6d41fe1447a79199283262c371c864535c791a040b9-c01a5c2f9921e5d900147c3a5ccd1d03478a4017386f59441b2f21f544837e7f","complete":true,"records":428871,"lastAttemptAt":"2026-11-19T16:44:55.5624082+00:00","lastSuccessAt":"2026-11-19T16:44:55.0504824+00:00","error":null,"lastVerifiedAt":"2026-11-19T16:44:55.5624082+00:00","snapshotPublishedAt":"2026-11-19T16:33:12+00:00","importing":false,"stagedRecords":0,"checkedIdentifiers":null,"expectedIdentifiers":null,"failedIdentifiers":null},{"source":"euvd","scope":"Rolling EUVD lookups of CVE aliases in current public OSV archives; 500 identifiers per refresh, rechecked after 48 hours. Not a global EUVD catalog. Successful not-found lookups count as checked; they do not imply withdrawal or safety. No reader inventory is sent.","generation":"enrichment-96ce16bc32d048f2951f46f990fb86cc","complete":false,"records":13866,"lastAttemptAt":"2026-11-19T16:56:42.6093851+00:00","lastSuccessAt":"2026-11-19T16:56:42.604+00:00","error":"325 identifier lookups failed; latest failures include AccessDenied (HTTP 403). Other identifiers were checked independently.","lastVerifiedAt":"2026-11-19T16:56:42.604+00:00","snapshotPublishedAt":null,"importing":false,"stagedRecords":0,"checkedIdentifiers":13589,"expectedIdentifiers":13914,"failedIdentifiers":325},{"source":"first-epss:nuget","scope":"FIRST EPSS for explicit CVE aliases in the collected public NuGet archive. Not a global EPSS backfill.","generation":"2026-11-19T16:46:59.7974392+00:00","complete":true,"records":1125,"lastAttemptAt":"2026-11-19T16:46:59.7974392+00:00","lastSuccessAt":"2026-11-19T16:47:04.0358722+00:00","error":null,"lastVerifiedAt":"2026-11-19T16:47:04.0358793+00:00","snapshotPublishedAt":null,"importing":false,"stagedRecords":0,"checkedIdentifiers":null,"expectedIdentifiers":null,"failedIdentifiers":null},{"source":"nvd","scope":"Rolling NVD lookups of CVE aliases in current public OSV archives; 500 identifiers per refresh, rechecked after 48 hours. Not a global NVD catalog. Successful not-found lookups count as checked; they do not imply withdrawal or safety. No reader inventory is sent.","generation":"enrichment-8068f4c8d46b46518f9064b4383f2cd3","complete":true,"records":13878,"lastAttemptAt":"2026-11-19T16:47:05.8523341+00:00","lastSuccessAt":"2026-11-19T16:47:05.848+00:00","error":null,"lastVerifiedAt":"2026-11-19T16:47:05.848+00:00","snapshotPublishedAt":null,"importing":false,"stagedRecords":0,"checkedIdentifiers":13914,"expectedIdentifiers":13914,"failedIdentifiers":0},{"source":"osv:Go","scope":"Complete OSV Go ecosystem archive, including withdrawn and malicious-package source records; statement counts are not unique CVE counts","generation":"go-7b847de8d346a4b605d25dfaa256e6048ccf033cdf1e65b5fde14a9872a0b2a6","complete":true,"records":9965,"lastAttemptAt":"2026-11-19T16:46:59.644214+00:00","lastSuccessAt":"2026-11-19T16:46:59.4476531+00:00","error":null,"lastVerifiedAt":"2026-11-19T16:46:59.644214+00:00","snapshotPublishedAt":"2026-11-19T16:18:26+00:00","importing":false,"stagedRecords":0,"checkedIdentifiers":null,"expectedIdentifiers":null,"failedIdentifiers":null},{"source":"osv:NuGet","scope":"Complete OSV NuGet ecosystem archive, including GitHub Advisory Database records; NuGet version matching only","generation":"nuget-f4424d7d4861b1af1404bd15abcb83f295dcd003412a9340ca99dc8200aa148a","complete":true,"records":2014,"lastAttemptAt":"2026-11-19T16:44:55.6213328+00:00","lastSuccessAt":"2026-11-13T19:57:08.2864435+00:00","error":null,"lastVerifiedAt":"2026-11-19T16:44:55.6213328+00:00","snapshotPublishedAt":"2026-11-13T19:33:10+00:00","importing":false,"stagedRecords":0,"checkedIdentifiers":null,"expectedIdentifiers":null,"failedIdentifiers":null},{"source":"osv:crates.io","scope":"Complete OSV crates.io ecosystem archive, including withdrawn and malicious-package source records; statement counts are not unique CVE counts","generation":"crates.io-313d8afdba3867de110bc2f0cc252c7b787cb94e08a055d09b0542017e147ca8","complete":true,"records":3194,"lastAttemptAt":"2026-11-19T16:46:59.7493558+00:00","lastSuccessAt":"2026-11-19T09:40:31.5988269+00:00","error":null,"lastVerifiedAt":"2026-11-19T16:46:59.7493558+00:00","snapshotPublishedAt":"2026-11-19T09:03:08+00:00","importing":false,"stagedRecords":0,"checkedIdentifiers":null,"expectedIdentifiers":null,"failedIdentifiers":null},{"source":"osv:npm","scope":"Complete OSV npm ecosystem archive, including withdrawn and malicious-package source records; statement counts are not unique CVE counts","generation":"npm-7c379b7f2e800c9fe0d176c9a38eacee027bdc59d32b77b0969ad4ad270231c8","complete":true,"records":232766,"lastAttemptAt":"2026-11-19T16:46:50.6238647+00:00","lastSuccessAt":"2026-11-19T16:46:49.627194+00:00","error":null,"lastVerifiedAt":"2026-11-19T16:46:50.6238647+00:00","snapshotPublishedAt":"2026-11-19T16:18:30+00:00","importing":false,"stagedRecords":0,"checkedIdentifiers":null,"expectedIdentifiers":null,"failedIdentifiers":null}]}