Critical Malicious Code Vulnerability in Toonfetch Package
Summary
MAL-2025-191436: Malicious code in toonfetch (npm). Affects toonfetch versions 0.3.2. 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
Toonfetch is an npm package designed for fetching and displaying animated content. It is popular among developers for its ease of use and integration capabilities. However, the package has been compromised, leading to significant security concerns that affect any system using it.
Vulnerability Detail
The vulnerability stems from a malicious code injection by the Sha1-Hulud: The Second Coming NPM worm. This worm is capable of stealing tokens and credentials, publishing them to GitHub, and propagating itself to other npm packages owned by the user. Additionally, it can establish persistence through GitHub actions and may even destroy the user's home directory. Any system with this package installed is considered fully compromised, necessitating immediate action.
How To Fix
This package is malicious. Remove it and rotate any credentials it could have accessed.
npm uninstall toonfetch
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 measure, you can isolate the affected environment by using a container or virtual machine that can be easily discarded after the package is removed. However, this does not guarantee complete safety, and the package should be removed as soon as possible.
Conclusion
The Toonfetch package has been compromised by a malicious worm, leading to severe security risks for any system using it. Immediate removal of the package and rotation of all sensitive information is essential. Utilizing tools like Vulert can help prevent future vulnerabilities.
See every vulnerability recorded for toonfetch →
FAQ
You should remove the Toonfetch package immediately and rotate all secrets and keys stored on your system.
If you have installed Toonfetch, your system is likely compromised. Look for unusual activity, such as unauthorized access or changes to your files.
Regularly monitor your dependencies for vulnerabilities using tools like Vulert, which can alert you in real-time for open-source vulnerabilities.
It is not recommended to reinstall Toonfetch until a secure, patched version is released. Always check for updates and vulnerabilities before reinstallation.
Vulert is a monitoring tool that uses your package-lock.json to alert you in real-time for open-source vulnerabilities. You can check if your application is affected by visiting the Vulert playground.