MAL-2026-20290: Malicious code in @fedfub/string-utils (npm)

Published Nov 19, 2026
·
Updated

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>-patch@99.0.0, 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.

Affected Software

1 affected component
npm/@fedfub/string-utils=1.0.0

Event History

Nov 19, 2026
Advisory Published
via OSV·04:00 PM
Data Sourced
via OSV·04:00 PM
DescriptionAffected Software

Frequently Asked Questions

1

What systems are exposed if this package was installed?

Any system where the package's postinstall hook ran is exposed, including developer workstations and build environments. The code collects matching environment-variable secrets, source files in the working directory, and the contents of ~/.ssh.

2

Does exploitation require the package to be imported or used by the application?

No. The malicious behavior is implemented in a postinstall hook, so it runs during installation. A sandboxed install was observed connecting to 73.218.105.44.

3

What attacker access could result from an installation?

The package posts collected data to its collection endpoint, attempts to persist at reboot or user logon, and polls a command endpoint every 30 seconds. Returned commands are executed and their output is posted back to the attacker.

4

What should be checked during incident triage?

Check for an @reboot crontab entry and, on Windows, a SYSTEM onlogon scheduled task. Also inspect package.json files under affected users' home directories for a fedfub-utils dependency and look for dependency-name packages suffixed with -patch at version 99.0.0.

5

Can this spread beyond the initially affected project?

Yes. It attempts to republish itself under each dependency name of the host project as <name>-patch@99.0.0, and it adds fedfub-utils to every package.json under the home directory.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203