npm

express-session-handler @2.3.3

Vulnerability report · Last retrieved from osv.dev August 21, 2026 at 10:09 PM UTC

Malicious

OSV ID

MAL-2026-14345

Ecosystem

npm

Summary

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.

Source: amazon-inspector (0e94450f5541b39d8310a8b640dee027b0970db6e7cf724352726d49393bfb77)

Protect your entire dependency tree

Scan your lock files automatically on every PR. Block malicious packages before they reach production.