Malicious Code Detected in foundry-toolkit: npm Package Vulnerability
Summary
MAL-2026-1052: Malicious code in foundry-toolkit (npm). Affects foundry-toolkit versions 1.0.1 – 1.0.5. No fix is published. How to fix ↓
Check if this vulnerability affects your application
Upload a manifest or SBOM and we'll show whether you're affected, plus every other risky package in the same scan.
No signup required · Results in about 60 seconds
Background
The 'foundry-toolkit' is an npm package designed to facilitate various development tasks within the Foundry ecosystem. It provides tools and utilities that streamline the workflow for developers. However, version 1.0.5 of this package has been identified as malicious, posing significant security risks to users who incorporate it into their projects.
Vulnerability Detail
The vulnerability stems from the malicious nature of the 'foundry-toolkit' package, specifically version 1.0.5. It communicates with a domain linked to malicious activities and executes commands that can compromise the security of the host system. This behavior can lead to unauthorized access, data breaches, and potential exploitation of the affected systems.
How To Fix
This package is malicious. Remove it and rotate any credentials it could have accessed.
npm uninstall foundry-toolkit
If it arrived as a transitive dependency, remove the package that pulled it in, then reinstall.
Tip — Not sure whether your app is affected? Vulert can check the versions your app actually runs. Scan free →
Workaround
As a temporary workaround, you can remove the 'foundry-toolkit' package from your project until a secure version is confirmed. Use the following command to uninstall it: npm uninstall foundry-toolkit.
Conclusion
The 'foundry-toolkit' package version 1.0.5 has been identified as malicious, posing serious security threats to users. It is essential to update to a secure version or remove the package entirely to protect your systems from potential exploitation.
See every vulnerability recorded for foundry-toolkit →
FAQ
The 'foundry-toolkit' is an npm package that provides tools for developers working within the Foundry ecosystem.
You can check if your application is affected by this vulnerability using Vulert, which monitors open-source vulnerabilities in real-time. Visit Vulert Scanner to use the Vulert playground without any signup.
If you have installed version 1.0.5 of 'foundry-toolkit', you should uninstall it immediately and update to a secure version.
Using a malicious package can lead to unauthorized access, data breaches, and exploitation of your system, potentially compromising sensitive information.
Yes, it is recommended to update to the latest version of 'foundry-toolkit' to mitigate the risks associated with this vulnerability.