Malicious code in akamai-sensorv1 (npm)
Historical advisory saved 24 Oct 2026 13:17:17 UTC. The publisher may have updated it since then. Latest advisory.
osv · MAL-2026-13216
Published--- _-= Per source details. Do not edit below this line.=-_ ## Source: amazon-inspector (bfc0d67815042459dd2e8c526215eb8e204e0b62ae97438b320c0bd0a69a2ddf) The package hides an executable payload inside a block comment in index.js using Unicode variation selectors (U+FE00–U+FE0F and U+E0100–U+E01EF). sync-metrics.js reads index.js, extracts that comment, decodes the invisible bytes via unpack(), and executes the resulting string with `new Function('require', batch)(require)`. Extraction and execution are triggered from touch() at the top of the exported sensor() function, so any consumer that calls the advertised API runs the concealed code. In addition, config.json hardcodes a public Google Calendar ICS URL (calendar.google.com/calendar/ical/hev4229%40gmail.com/public/basic.ics); index.js fetches the ICS, parses DESCRIPTION fields, optionally base64-decodes them to a URL, appends `/generate`, and issues a GET whose JSON response is returned to callers. This is a dead-drop command-and-control pattern in which the next-hop endpoint is rotated by editing calendar events, defeating static URL blocklists. The lookalike name imitates Akamai's sensor product but the package is not affiliated with Akamai.
- Source published
- 5 Aug 2026 15:49:26 UTC
- Source modified
- 5 Aug 2026 16:49:56 UTC
- Saved here
- 24 Oct 2026 13:17:17 UTC
- Source terms
- OSV · upstream source license applies
Original source record · Cite this exact observation · Complete original publisher JSON
Source: osv · OSV · upstream source license applies. The publisher's wording is preserved. ChangeIntel groups the information and labels changes. The JSON record includes additional source fields.