Skip to main content
MalwarePublished

express-rate-controller (npm) · Malicious Code

Affects express-rate-controllerSource GCVE Database

0

Malicious package : remove express-rate-controller 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-12378

What to do

Remove express-rate-controller 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
npmexpress-rate-controllerAffected
  • =2.0.1
  • =2.0.0
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 express-rate-controller version 2.0.1 contains malicious code that executes attacker-controlled JavaScript fetched from a remote server with TLS verification disabled. The package misrepresents itself as an SVG utilities library and hides the malicious export from ESM and typed consumers. Any user requiring the package and invoking the hidden getPlugin() function, or iterating over the exported API, will execute arbitrary code with full require access.

References

Community reviews

Loading reviews…