MAL-2026-14345 Malicious code in express-session-handler (npm)
Malicious package
Published
MAL-2026-14345 is a malicious package: express-session-handler (npm). Every version was published to cause harm.
Task:
1. Search this repository's dependency manifests and lockfiles for the package, including transitive dependencies.
2. If it is present, remove it, regenerate the lockfile with the project's package manager, and replace whatever it was used for.
3. List any CI runners, developer machines or containers that installed it, so their secrets can be rotated.
4. If the package is not used anywhere, say so and change nothing.
Reference: https://insights.sbomify.com/MAL-2026-14345/ (Markdown: https://insights.sbomify.com/MAL-2026-14345/index.md)
- Package
- express-session-handler
- Registry
- npm
What is MAL-2026-14345?
MAL-2026-14345 is a malicious package in express-session-handler, published on 21 Aug 2026.
Official description
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.
What should I do about MAL-2026-14345?
Remove the package from your dependencies and lockfiles, then rotate any secrets on machines where it was installed.