Malicious Code Injection in colonial_roundworm_z3n: A Threat to npm Ecosystem
Summary
MAL-2025-93613: Malicious code in colonial_roundworm_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 package colonial_roundworm_z3n is part of a series of npm packages associated with the tea.xyz token reward campaign. These packages are designed to inflate developer reputation scores by automatically generating and publishing derivative packages with randomized names. This behavior poses a significant risk to the integrity of the npm registry and the security of applications that depend on these packages.
Vulnerability Detail
The vulnerability originates from malicious code embedded within the colonial_roundworm_z3n package. This code modifies the package.json file to remove private flags, alters version numbers, and generates random package names, leading to the continuous republishing of variants. The ramifications include potential exposure to further malicious packages, pollution of the npm registry, and compromise of developer reputation scores. This behavior can significantly disrupt the npm ecosystem and undermine trust in package integrity.
How To Fix
This package is malicious. Remove it and rotate any credentials it could have accessed.
npm uninstall colonial_roundworm_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 colonial_roundworm_z3n package and any other packages associated with the tea.xyz token reward campaign. Regularly audit your dependencies to identify and remove any potentially harmful packages.
Conclusion
The colonial_roundworm_z3n package poses a significant security risk due to its malicious code designed to manipulate the npm registry. It is essential to remove this package and monitor your dependencies regularly to maintain the integrity of your applications. Utilizing tools like Vulert can help in identifying vulnerabilities in real-time.
See every vulnerability recorded for colonial_roundworm_z3n →
FAQ
colonial_roundworm_z3n is an npm package that is part of a malicious campaign aimed at inflating developer reputation scores through the automatic generation of derivative packages.
The vulnerability can lead to the introduction of malicious code into your application, potentially compromising its security and integrity.
If you have installed the colonial_roundworm_z3n package, you should uninstall it immediately using the command: npm uninstall colonial_roundworm_z3n.
You can use Vulert to monitor your application for open-source vulnerabilities in real-time by analyzing your package-lock.json file. Visit Vulert Scanner to check if your application is affected without any signup.
Yes, be cautious of any packages associated with the tea.xyz token reward campaign, as they may exhibit similar malicious behaviors.