MAL-2026-12404 Malicious code in npm-module-service (npm)
Malicious package
Published
MAL-2026-12404 is a malicious package: npm-module-service (npm). Every version was published to cause harm.
Task:
1. Search this repository's dependency manifests and lockfiles for the package, including transitive dependencies.
2. If it is present, remove it, regenerate the lockfile with the project's package manager, and replace whatever it was used for.
3. List any CI runners, developer machines or containers that installed it, so their secrets can be rotated.
4. If the package is not used anywhere, say so and change nothing.
Reference: https://insights.sbomify.com/MAL-2026-12404/ (Markdown: https://insights.sbomify.com/MAL-2026-12404/index.md)
- Package
- npm-module-service
- Registry
- npm
What is MAL-2026-12404?
MAL-2026-12404 is a malicious package in npm-module-service, published on 5 Aug 2026.
Official description
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.
What should I do about MAL-2026-12404?
Remove the package from your dependencies and lockfiles, then rotate any secrets on machines where it was installed.