Skip to main content
MalwarePublished

express-plugin (npm) · Malicious Code

Affects express-pluginSource GCVE Database

0

Malicious package : remove express-plugin and rotate any secrets on hosts that installed it.

Data as of 26 Jun 2026, 22:25 UTC

Classification

Malicious package

Published to npm · OSV MAL-2026-6523

What to do

Remove express-plugin 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-pluginAffected
  • =1.6.6
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-plugin' version 1.6.6 contains malicious code that executes arbitrary JavaScript fetched from a third-party mutable paste hosting service upon module load. This code runs with full Node.js require privileges, allowing an attacker to execute any code on the host system. The package masquerades as a benign Express middleware and includes a decoy function to mislead users. The remote payload can be changed at any time by the attacker without republishing the package, enabling dynamic malicious actions such as credential theft or persistence.

References

Community reviews

Loading reviews…