Skip to main content
MalwarePublished Updated

npm-module-service (npm) · Malicious Code

Affects npm-module-serviceSource GCVE Database

0

Malicious package : remove npm-module-service and rotate any secrets on hosts that installed it.

Data as of 26 Oct 2026, 16:15 UTC

Classification

Malicious package

Published to npm · OSV MAL-2026-12404

What to do

Remove npm-module-service from every project, lockfile and image that pulls it in. Treat any host that installed it as compromised: rotate the credentials, tokens and keys it could read, from a clean machine.

Affected software

ProductAffectedFixed in
npmnpm-module-serviceAffected
  • =3.7.2
Fixed in–

Check your own hosts for these packages with threat-finder (opens in a new tab), our free open-source scanner.

Description

The npm package 'npm-module-service' version 3.7.2 contains malicious code that performs an HTTPS request to a hardcoded IP address and executes attacker-supplied JavaScript code with full Node.js privileges on the host. The module masquerades as a CDN icon helper but actually targets an unauthenticated bare-IP host, enabling remote code execution when the module is imported and used.

References

Community reviews

Loading reviews…