{"id":"MAL-2026-12337","revision":null,"records":[{"revision":"d1dfad65d5b6486f8a867a36b18c9405","observedAt":"2026-10-24T13:17:17.793+00:00","statement":{"source":"osv","id":"MAL-2026-12337","aliases":[],"title":"Malicious code in akamaijs-sensor (npm)","description":"\n---\n_-= Per source details. Do not edit below this line.=-_\n\n## Source: amazon-inspector (14a4955c82b04226b267bc55691b0b9c08770710a7038b58e75bfdd009d046fe)\nThe package presents itself as an Akamai sensor generator but ships two coupled malicious mechanisms. index.js contains a /* */ comment filled with invisible Unicode variation-selector characters (U+FE00-FE0F and U+E0100-E01EF) that encode arbitrary JavaScript bytes. sync-metrics.js reads that comment, decodes the hidden bytes via an unpack() routine mapping the variation-selector ranges to nibbles, and executes the resulting source through new Function('require', batch)(require) — running attacker-authored code inside the consumer's Node process the first time the exported sensor() API is called. Separately, index.js fetches a hardcoded personal Google Calendar ICS feed at calendar.google.com/calendar/ical/hev4229%40gmail.com/public/basic.ics, extracts a URL from event DESCRIPTION fields (accepting plain, base64-decoded, or HTML href forms), appends /generate, GETs that endpoint and returns its JSON to sensor()'s caller. The calendar functions as a dead-drop the operator rotates by editing calendar events, defeating static URL indicators and letting the operator swap the live endpoint at will. The combination — invisible-Unicode-encoded code executed via new Function() plus an attacker-rotatable C2 channel whose responses flow back through the package's advertised API — is remote code execution against the installer with no legitimate purpose in a sensor generator.\n","state":0,"publishedAt":"2026-08-05T13:00:24+00:00","modifiedAt":"2026-08-15T18:15:11.0046022+00:00","affected":[{"ecosystem":"npm","name":"akamaijs-sensor","ranges":[],"versions":["3.0.0","2.0.0"],"rawVersionEvidence":null}],"metrics":[],"references":["https://www.npmjs.com/package/akamaijs-sensor/v/3.0.0","https://www.npmjs.com/package/akamaijs-sensor/v/2.0.0"],"sourceUrl":"https://osv.dev/vulnerability/MAL-2026-12337","license":"OSV · upstream source license applies","key":"osv:MAL-2026-12337","identifiers":["MAL-2026-12337"]},"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-22T00:25:34.3844261+00:00","complete":true,"records":1790,"lastAttemptAt":"2026-11-22T00:25:34.3844261+00:00","lastSuccessAt":"2026-11-22T00:25:34.5272085+00:00","error":null,"lastVerifiedAt":"2026-11-22T00:25:34.5272093+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-1d6c61c44cf3e269b6d60ed2fe0a3aa1f7e55445c7f170f16f2fa063bbf73db3-0d3e14b7ef33e2bcf8cb0f8a74243181b0f9a9ac772150bd1638464c06189433","complete":true,"records":430360,"lastAttemptAt":"2026-11-22T00:25:33.9736932+00:00","lastSuccessAt":"2026-11-22T00:25:33.9369292+00:00","error":null,"lastVerifiedAt":"2026-11-22T00:25:33.9736932+00:00","snapshotPublishedAt":"2026-11-21T23:29:28+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-b44d317117b8497cba69e81c11fd61d4","complete":false,"records":13927,"lastAttemptAt":"2026-11-22T00:38:05.7160259+00:00","lastSuccessAt":"2026-11-22T00:38:05.71+00:00","error":"139 identifier lookups failed; latest failures include AccessDenied (HTTP 403). Other identifiers were checked independently.","lastVerifiedAt":"2026-11-22T00:38:05.71+00:00","snapshotPublishedAt":null,"importing":false,"stagedRecords":0,"checkedIdentifiers":13572,"expectedIdentifiers":13975,"failedIdentifiers":139},{"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-22T00:25:34.3844261+00:00","complete":true,"records":1131,"lastAttemptAt":"2026-11-22T00:25:34.3844261+00:00","lastSuccessAt":"2026-11-22T00:25:34.5279698+00:00","error":null,"lastVerifiedAt":"2026-11-22T00:25:34.52797+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-b1edd4eceb95489f963c5eaabafcc54b","complete":true,"records":13939,"lastAttemptAt":"2026-11-22T00:26:00.2709166+00:00","lastSuccessAt":"2026-11-22T00:26:00.267+00:00","error":null,"lastVerifiedAt":"2026-11-22T00:26:00.267+00:00","snapshotPublishedAt":null,"importing":false,"stagedRecords":0,"checkedIdentifiers":13975,"expectedIdentifiers":13975,"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-e5345bb505029da8292989aaa8236ee0c21dd40080e465858702ec2ecb4dcefd","complete":true,"records":9989,"lastAttemptAt":"2026-11-22T00:25:34.2392571+00:00","lastSuccessAt":"2026-11-21T19:16:03.0413179+00:00","error":null,"lastVerifiedAt":"2026-11-22T00:25:34.2392571+00:00","snapshotPublishedAt":"2026-11-21T18:18:24+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-6ba2352decd0c95d34a1b50f642582aa34659ce946f552488f0a5cea4e0cc09a","complete":true,"records":2020,"lastAttemptAt":"2026-11-22T00:25:34.0292965+00:00","lastSuccessAt":"2026-11-20T15:46:15.4249619+00:00","error":null,"lastVerifiedAt":"2026-11-22T00:25:34.0292965+00:00","snapshotPublishedAt":"2026-11-20T14:48:20+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-67ea94df7f6b2100258b087b14035af283f000b6aefe39f55e9f2795f912fde8","complete":true,"records":3209,"lastAttemptAt":"2026-11-22T00:25:34.3429023+00:00","lastSuccessAt":"2026-11-21T19:16:06.9994675+00:00","error":null,"lastVerifiedAt":"2026-11-22T00:25:34.3429023+00:00","snapshotPublishedAt":"2026-11-21T18:18:24+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-51ee6316df1f127212a04a5d14e44bd5b8320ce3e4eef0c5252608edb6cd3602","complete":true,"records":232850,"lastAttemptAt":"2026-11-22T00:25:34.1345749+00:00","lastSuccessAt":"2026-11-21T23:27:19.9062791+00:00","error":null,"lastVerifiedAt":"2026-11-22T00:25:34.1345749+00:00","snapshotPublishedAt":"2026-11-21T23:18:21+00:00","importing":false,"stagedRecords":0,"checkedIdentifiers":null,"expectedIdentifiers":null,"failedIdentifiers":null}]}