NetSight
unscoredMalware report

MAL-2026-20290

Malicious code in @fedfub/string-utils (npm)

Impact

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 packages

EcosystemPackageAffectedFixed in
npm@fedfub/string-utilsunknownnone recorded

References