MAL-2026-4242 Malicious code in foundy-toolkit (npm)

Malicious package Published
Package
foundy-toolkit
Registry
npm

What is MAL-2026-4242?

MAL-2026-4242 is a malicious package in foundy-toolkit, published on 20 May 2026.

Official description

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.

What should I do about MAL-2026-4242?

Remove the package from your dependencies and lockfiles, then rotate any secrets on machines where it was installed.

Sources

Also known as GHSA-48f2-rw49-vgx3.

Is MAL-2026-4242 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free