@fedfub/string-utilsnpm
Advisory published Updated
@fedfub/string-utils is a confirmed malicious npm package (MAL-2026-20290) that steals credentials and exfiltrates sensitive data (malicious version 1.0.0). Do not install it — remove it immediately and rotate any exposed credentials.
Malicious code in @fedfub/string-utils (npm)
What this malware does
Malicious package. Advertised as "String manipulation utilities", but the postinstall hook runs a minified self-propagating credential stealer, the same code as @fedfub/utils. On install it collects environment variables matching KEY/SECRET/TOKEN/PASS/AWS/JWT/STRIPE/PAYPAL/DB_/DATABASE/REDIS/MONGO, source files under the working directory and the contents of ~/.ssh, and POSTs them to https://73.218.105.44:8080/collect. It then tries to republish itself under each dependency name of the host project as <name>[email protected], adds a fedfub-utils dependency to every package.json 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 the returned command and posting the output to /result. In a sandboxed install the postinstall connected to 73.218.105.44. The package has since been removed from the npm registry.
Malicious versions
Detection & response playbook
Credential / info stealerFind it
Search your lockfiles and build artifacts for @fedfub/string-utils (version 1.0.0).
If you installed it — respond
@fedfub/string-utils is built to steal secrets, so assume every credential the build or runtime could read is compromised. Remove it from your project and lockfile, then rotate ALL exposed secrets — npm/registry tokens, cloud keys, CI/CD secrets, SSH keys, and any .env values — from a known-clean machine. Audit logs for unauthorized use of those credentials.
Did it already run?
If @fedfub/string-utils was installed, its post-install payload may already have run. Removing the package does not undo that — check outbound connections and credential use from the install window onward.
Frequently asked questions
Credits
- wormsign · finder
Detect & block this
O3 blocks @fedfub/string-utils-class packages before install and in CI — and if it already ran, its runtime egress monitoring catches the credential exfiltration and severs the channel.