Malicious Code Injection in Colourful Baboon Z3N Package
Summary
MAL-2025-100692: Malicious code in colourful_baboon_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 Baboon Z3N package is a part of the npm ecosystem, often utilized in various JavaScript applications. It is designed to facilitate the integration of functionalities within projects. However, this package has been identified as part of a malicious campaign that exploits npm's publishing capabilities, leading to potential security risks for developers and users alike.
Vulnerability Detail
The vulnerability in the Colourful Baboon Z3N package stems from its association with the tea.xyz token reward campaign. This campaign has flooded the npm registry with packages that contain malicious scripts designed to manipulate package metadata. Specifically, the malicious payload alters the package.json file by removing private flags, changing version numbers, and generating random package names. This behavior not only inflates developer reputation scores but also pollutes the npm registry, making it difficult for users to identify legitimate packages. The ramifications include potential exposure to further malicious activities and the degradation of trust in the npm ecosystem.
How To Fix
This package is malicious. Remove it and rotate any credentials it could have accessed.
npm uninstall colourful_baboon_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 workaround, you can avoid using the Colourful Baboon Z3N package and look for alternative packages that provide similar functionalities without the associated risks. Additionally, you can monitor your project's dependencies using tools like Vulert, which can alert you to vulnerabilities in real-time based on your package-lock.json file.
Conclusion
The Colourful Baboon Z3N package poses a significant security risk due to its malicious code injection capabilities. Developers should take immediate action to remove this package and monitor their projects for vulnerabilities. Utilizing tools like Vulert can help maintain the security of your applications by providing real-time alerts for open-source vulnerabilities.
See every vulnerability recorded for colourful_baboon_z3n →
FAQ
Colourful Baboon Z3N is an npm package used in JavaScript applications, but it has been identified as part of a malicious campaign that exploits npm's publishing system.
The vulnerability can lead to the injection of malicious code, which may compromise your application's integrity and expose it to further attacks.
You should remove the Colourful Baboon Z3N package from your project and monitor for any updates or patches that may address the vulnerability.
Yes, you can use the Vulert playground at Vulert Scanner to check if your application is affected by this vulnerability without needing to sign up.
Regularly monitor your dependencies using tools like Vulert, keep your packages updated, and review security advisories related to the packages you use.