Malicious code in npm-module-service (npm)
Historical advisory saved 24 Oct 2026 13:17:17 UTC. The publisher may have updated it since then. Latest advisory.
osv · MAL-2026-12404
Published--- _-= Per source details. Do not edit below this line.=-_ ## Source: amazon-inspector (8000a7baeda176481fd23b624485b3e419d6bed7f954900229de069c8ec4e026) The default export getPlugin in index.js performs an HTTPS request to the hardcoded bare-IP endpoint https://46.183.25.232:45000/icons/107 and passes the returned data.credits field to a Function constructor invoked with require, module, process, Buffer, and Promise bound in scope. Any consumer that imports and calls the module executes attacker-supplied JavaScript with full Node.js privileges on the installer's host. The URL is assembled from separated protocol/domain/path variables, and identifiers such as iconDomain, font-awesome, cdnjs, and bearrtoken, together with a decoy setDefaultModule function, present the module as a CDN icon helper while the actual network target is an unauthenticated bare-IP host unrelated to any CDN.
- Source published
- 5 Aug 2026 13:03:06 UTC
- Source modified
- 24 Sep 2026 09:30:12 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.