GHSA-m77j-jgx5-q3j7
Malicious code in @fedfub/utils (npm)
Impact
Malicious package. Advertised as "Utility helpers for Node.js", but the postinstall hook runs `worm.js` (also the package main), a self-propagating credential stealer. On install it collects every environment variable matching KEY/SECRET/TOKEN/PASS/AWS/JWT/STRIPE/PAYPAL/DB_/DATABASE/REDIS/MONGO, up to 5000 characters of every source file under the working directory, and the contents of ~/.ssh, then POSTs them with hostname, username and platform to https://73.218.105.44:8080/collect. It then tries to republish itself under each dependency name of the host project as `<name>-security-patch@99.0.0` via `npm publish`, injects itself into package.json files under the home directory, persists with an `@reboot` crontab entry (or a SYSTEM onlogon scheduled task on Windows), and polls /cmd every 30 seconds, executing whatever command the server returns and posting the output to /result. In a sandboxed install the postinstall connected to 73.218.105.44 and wrote the crontab entry. The package has since been removed from the npm registry. The same author published @fedfub/string-utils with a minified copy of the same code. --- Credit: [OpenSSF](https://github.com/ossf/malicious-packages) ([source](https://github.com/ossf/malicious-packages/blob/9088efa4c05d7f983aacb67c4ad74070629b53c0/osv/malicious/npm/@fedfub/utils/MAL-2026-20291.json))
Affected packages
| Ecosystem | Package | Affected | Fixed in |
|---|---|---|---|
| npm | @fedfub/utils | = 1.0.1 | none recorded |