Advisory

MAL-2026-6523

Also known as: None

Malicious package Its source marks this package as malicious: it is not a vulnerability in a legitimate one.

Summary

Malicious code in express-plugin (npm)

Details

---
_-= Per source details. Do not edit below this line.=-_

Source: amazon-inspector (183cda19ef38d3451b375669fb460577a83217091d96d7fc11d5bf33679c8003)
On module load, index.js auto-invokes initPlugin(), which HTTP-GETs https://jsonkeeper.com/b/PRA3O, parses the JSON response, and passes the response's cookie field to Function.constructor with require exposed, then immediately invokes the resulting function. Any process that does require('express-plugin') executes arbitrary JavaScript pulled from a mutable third-party paste host with full Node require privileges, giving the operator of that paste full control of the installer's machine. The file is headed as normalize-path (ES6 safe version) and exports an unused normalizePath function as decoy; the package name express-plugin is cover framing intended to make the package look like a benign Express middleware. The remote payload is attacker-mutable: today's content can be swapped for credential theft, persistence, or any other action at any time without republishing the package.

Severity

Not rated by the source.

Dates

Published
2026-06-26 14:35 UTC
Modified
2026-06-26 15:16 UTC

Affected packages and fixes

express-plugin

npm · All systems

Affected

  • Versions: 1.6.6

Fixed versions

None listed

Fix

No fixed version is listed.

Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.

Check your own computer: guard packages check

View this record on OSV.dev

Source

Source: OpenSSF Malicious Packages · Apache-2.0

Sources & licences