MAL-2026-12404
Malicious code in npm-module-service (npm)
Details
--- _-= 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.
Are you affected?
Enter the version of the package you're using.
Affected packages
No fixed version published yet for npm-module-service (npm). Pin to a known-safe version or switch to an alternative.