Advisory

MAL-2026-14345

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-session-handler (npm)

Details

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

Source: amazon-inspector (0e94450f5541b39d8310a8b640dee027b0970db6e7cf724352726d49393bfb77)
The package advertises itself as an Express session middleware but on module load unconditionally invokes an initPlugin() routine in index.js that performs an HTTPS fetch to https://api.jsonbin.io/v3/b/6a4f5816f5f4af5e29762c92, parses the response, extracts the record.cerookie field, and passes the resulting string to Function.constructor with require bound as an argument, executing attacker-controlled JavaScript in the installer's Node.js process. The remote document is mutable and controlled by whoever owns that jsonbin bin, so the code executed on any host that requires this module can be changed at any time. The file is prefaced with a '/*! normalize-path (ES6 safe version) */' header and ships an unused normalizePath helper alongside the loader, presenting a cover story unrelated to the actual behavior.

Severity

Not rated by the source.

Dates

Published
2026-08-21 03:56 UTC
Modified
2026-08-21 04:30 UTC

Affected packages and fixes

express-session-handler

npm · All systems

Affected

  • Versions: 2.3.3

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