foundy-toolkitnpm
Malicious code in foundy-toolkit (npm) Remove it immediately and rotate any exposed credentials.
What this malware does
On npm install, the package's postinstall script runs an inline node -e that shells out to curl -fsSL against an ephemeral Pinggy free-tier tunnel host (rqnyz-2605-7280-7--2000-c51.run.pinggy-free.link/npm/-/binary/telemetry), writes the response to the hidden path /tmp/.node-cache, chmods it executable, and launches it in the background with errors swallowed by try/catch. The download URL is not version-pinned, no hash or signature is verified, the destination host is an anonymous attacker-controlled tunnel (not a publisher CDN, not GitHub releases), and the binary's purpose is undocumented behind a telemetry cover path. The package name foundy-toolkit is a one-character deletion of foundry-toolkit, and index.js invokes forge --version to mimic the Foundry (foundry-rs) toolchain, while metadata ([email protected], github.com/foundry/foundy-toolkit) appears fabricated. Any developer or CI system that runs npm install foundy-toolkit executes attacker-controlled bytes from a mutable anonymous host.
Any computer that has this package installed or running should be considered fully compromised. All secrets and keys stored on that computer should be rotated immediately from a different computer. The package should be removed, but as full control of the computer may have been given to an outside entity, there is no guarantee that removing the package will remove all malicious software resulting from installing it.
Malicious versions
Indicators of compromise (SHA-256)
Detection & response playbook
TyposquatFind it
Scan your lockfiles (package-lock.json, pnpm-lock.yaml, yarn.lock, requirements.txt, poetry.lock, etc.) and build artifacts for foundy-toolkit (version 1.5.79). O3 Security's supply-chain scanner checks every dependency against known-malicious package intelligence at install time and in CI, flagging foundy-toolkit across your stack and pipelines.
If you installed it — respond
foundy-toolkit is a typosquat — you almost certainly intended a legitimately-named package. Remove foundy-toolkit, install the correct package, and rotate any secrets exposed during the install since post-install scripts may have already run.
Did it already run?
If foundy-toolkit was ever installed, its post-install/runtime payload may have already executed. O3's L7 egress monitoring and runtime eBPF sensors detect the credential exfiltration or command-and-control callback after install and block the malicious outbound channel, so you catch and contain the actual compromise — not just the presence of the package.
How O3 protects you
O3 blocks foundy-toolkit before install through its supply-chain scanner, and if it has already run, detects and severs the exfiltration or C2 callback at runtime through L7 egress monitoring and eBPF.
Frequently asked questions
Campaign
References
Credits
- Amazon Inspector · finder
Detect & block this
O3 blocks foundy-toolkit-class packages before install and in CI — and if it already ran, its runtime egress monitoring catches the malicious outbound activity and severs the channel.