{"id":"MAL-2026-15565","revision":null,"records":[{"revision":"a340e4a415154becbc8b9121ec957780","observedAt":"2026-10-24T13:17:17.793+00:00","statement":{"source":"osv","id":"MAL-2026-15565","aliases":[],"title":"Malicious code in @testrelic/playwright-analytics (npm)","description":"\n---\n_-= Per source details. Do not edit below this line.=-_\n\n## Source: amazon-inspector (c305bbe247587c98b06f039cdcf78066dbcd4fdacf5a5de0411023c2a4fcc97a)\nscripts/postinstall.cjs is registered as the package's postinstall lifecycle script and runs automatically on `npm install`. After a block of legitimate-looking config-scaffolding code, the file contains roughly 7 KB of whitespace padding followed by an obfuscated payload that reconstructs a large string via a custom Fisher–Yates shuffle, resolves the String `constructor` property (Function) to avoid any literal `Function`/`eval` token, and invokes `Function('', decodedBody)(decodedArg)`. Immediately before the invocation the script assigns `require`, `module`, `__dirname`, and `__filename` onto the global object so the decoded body can load arbitrary Node built-ins. The whitespace gap conceals the payload from casual review of the file, and the indirection through `String[constructor]` avoids the literal tokens static reviewers grep for. The bundled `dist/index.cjs`, `dist/reporter-entry.cjs`, and `dist/cli.cjs` additionally contain `require('child_process')` alongside outbound HTTP POST call sites and `ping` invocations. The package's declared identity (a Playwright analytics reporter under an unfamiliar `@testrelic` scope) is inconsistent with shipping an obfuscated postinstall dynamic-code loader.\n","state":0,"publishedAt":"2026-08-29T03:00:52+00:00","modifiedAt":"2026-09-09T15:32:41.8180255+00:00","affected":[{"ecosystem":"npm","name":"@testrelic/playwright-analytics","ranges":[],"versions":["2.13.0","2.12.1-next.88"],"rawVersionEvidence":null}],"metrics":[],"references":["https://www.npmjs.com/package/@testrelic/playwright-analytics/v/2.13.0","https://www.npmjs.com/package/@testrelic/playwright-analytics/v/2.12.1-next.88"],"sourceUrl":"https://osv.dev/vulnerability/MAL-2026-15565","license":"OSV · upstream source license applies","key":"osv:MAL-2026-15565","identifiers":["MAL-2026-15565"]},"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-19T07:24:18.7298498+00:00","complete":true,"records":1786,"lastAttemptAt":"2026-11-19T07:24:18.7298498+00:00","lastSuccessAt":"2026-11-19T07:24:18.9487255+00:00","error":null,"lastVerifiedAt":"2026-11-19T07:24:18.9487263+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-306357659df1e2af16d0405959296720d406f35ce6b690cee2f97e2c7b3b93f8","complete":true,"records":428252,"lastAttemptAt":"2026-11-19T07:22:43.9622969+00:00","lastSuccessAt":"2026-11-19T07:22:43.9282436+00:00","error":null,"lastVerifiedAt":"2026-11-19T07:22:43.9622969+00:00","snapshotPublishedAt":"2026-11-19T06:33:33+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-07086e6cf313440ea30d10a928fc91b9","complete":false,"records":13861,"lastAttemptAt":"2026-11-19T07:33:41.8483147+00:00","lastSuccessAt":"2026-11-19T07:33:40.828+00:00","error":"235 identifier lookups failed; latest failures include AccessDenied (HTTP 403). Other identifiers were checked independently.","lastVerifiedAt":"2026-11-19T07:33:40.828+00:00","snapshotPublishedAt":null,"importing":false,"stagedRecords":0,"checkedIdentifiers":13426,"expectedIdentifiers":13908,"failedIdentifiers":235},{"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-19T07:24:18.7298498+00:00","complete":true,"records":1125,"lastAttemptAt":"2026-11-19T07:24:18.7298498+00:00","lastSuccessAt":"2026-11-19T07:24:18.9495005+00:00","error":null,"lastVerifiedAt":"2026-11-19T07:24:18.9495036+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-841a7083b5da4792a608345e0878654f","complete":true,"records":13873,"lastAttemptAt":"2026-11-19T07:24:19.9897258+00:00","lastSuccessAt":"2026-11-19T07:24:19.985+00:00","error":null,"lastVerifiedAt":"2026-11-19T07:24:19.985+00:00","snapshotPublishedAt":null,"importing":false,"stagedRecords":0,"checkedIdentifiers":13908,"expectedIdentifiers":13908,"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-76574c95b6792d47ba90af64983ed5843633f14426346d676016e94a5f383202","complete":true,"records":9963,"lastAttemptAt":"2026-11-19T07:24:18.6790903+00:00","lastSuccessAt":"2026-11-19T01:24:31.4213722+00:00","error":null,"lastVerifiedAt":"2026-11-19T07:24:18.6790903+00:00","snapshotPublishedAt":"2026-11-19T01:03:15+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-19T07:22:44.1289957+00:00","lastSuccessAt":"2026-11-13T19:57:08.2864435+00:00","error":null,"lastVerifiedAt":"2026-11-19T07:22:44.1289957+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-c0d9c71c6fa06d617f979e7bec0d97aca70ca5aea1558184002f8e44516f2fac","complete":true,"records":3177,"lastAttemptAt":"2026-11-19T07:24:18.6935178+00:00","lastSuccessAt":"2026-11-18T21:25:09.5127964+00:00","error":null,"lastVerifiedAt":"2026-11-19T07:24:18.6935178+00:00","snapshotPublishedAt":"2026-11-18T21:18:06+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-0378f37a427647fa1681f61567cdc1e8dc0f1ff3eb46719acf6c5f27f602fe57","complete":true,"records":232723,"lastAttemptAt":"2026-11-19T07:24:18.515734+00:00","lastSuccessAt":"2026-11-19T07:24:17.5741512+00:00","error":null,"lastVerifiedAt":"2026-11-19T07:24:18.515734+00:00","snapshotPublishedAt":"2026-11-19T07:18:08+00:00","importing":false,"stagedRecords":0,"checkedIdentifiers":null,"expectedIdentifiers":null,"failedIdentifiers":null}]}