Malicious Code Injection in colourful_toad_z3n Package
Summary
MAL-2025-93639: Malicious code in colourful_toad_z3n (npm). Affected versions are not published. 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 colourful_toad_z3n package is part of the npm ecosystem, which is widely used for JavaScript package management. This package, like many others, is intended to facilitate development by providing reusable code. However, it has been identified as part of a malicious campaign that exploits npm's publishing capabilities to generate and distribute harmful derivatives, affecting developers and users alike.
Vulnerability Detail
The vulnerability originates from a malicious payload embedded within the colourful_toad_z3n package. This payload modifies the package.json file by removing private flags, altering version numbers, and creating random package names. The intent is to inflate developer reputation scores through the tea.xyz token reward campaign, leading to a polluted npm registry. This can result in security risks for applications relying on these packages, as they may inadvertently integrate malicious code.
How To Fix
This package is malicious. Remove it and rotate any credentials it could have accessed.
npm uninstall colourful_toad_z3n
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 avoid using the colourful_toad_z3n package and any other packages that may be part of the tea.xyz campaign. Additionally, consider using tools like Vulert to monitor your package-lock.json file for vulnerabilities. You can access Vulert's playground at https://vulert.com/scanner to check if your application is affected by this vulnerability without needing to sign up.
Conclusion
The colourful_toad_z3n package poses a significant security risk due to its malicious code designed to manipulate npm's publishing system. It is essential for developers to be vigilant, regularly update their dependencies, and utilize tools like Vulert to monitor for vulnerabilities. By taking proactive measures, you can safeguard your applications from potential threats.
See every vulnerability recorded for colourful_toad_z3n →
FAQ
The colourful_toad_z3n package is an npm package that has been identified as part of a malicious campaign aimed at inflating developer reputation scores through the publication of harmful derivatives.
This vulnerability can lead to the integration of malicious code into your application, potentially compromising its security and functionality.
You should uninstall the colourful_toad_z3n package immediately and review your project for any dependencies that may rely on it.
Regularly update your packages, monitor your dependencies using tools like Vulert, and avoid using packages from untrusted sources.
Yes, you can use Vulert's playground at Vulert Scanner to check for vulnerabilities in your application without requiring any signup.