Malicious Code Injection in parallel_crocodile_z3n: A Threat to npm Packages
Summary
MAL-2025-98863: Malicious code in parallel_crocodile_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 'parallel_crocodile_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 can lead to the proliferation of malicious software.
Vulnerability Detail
The vulnerability in 'parallel_crocodile_z3n' stems from its malicious payload, which modifies the package.json file to remove private flags, alters version numbers, and generates random package names. This behavior allows the package to continuously republish variants, polluting the npm registry and potentially compromising other packages. The origin of this vulnerability is linked to a campaign aimed at exploiting npm's publishing mechanisms for token rewards, making it a serious concern for developers relying on the npm ecosystem.
How To Fix
This package is malicious. Remove it and rotate any credentials it could have accessed.
npm uninstall parallel_crocodile_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 prevent the installation of this malicious package by using npm's package-lock.json file to lock down your dependencies. Additionally, consider using tools like Vulert to monitor your project for vulnerabilities in real-time.
Conclusion
The 'parallel_crocodile_z3n' package poses a significant threat due to its malicious behavior aimed at inflating developer reputation scores. It is crucial for developers to remove this package and monitor their projects for vulnerabilities to maintain the integrity of their applications.
See every vulnerability recorded for parallel_crocodile_z3n →
FAQ
'parallel_crocodile_z3n' is an npm package linked to a token reward campaign that generates and publishes malicious derivative packages.
This vulnerability can lead to the pollution of the npm registry, potentially compromising your project's dependencies and affecting its security.
You should remove 'parallel_crocodile_z3n' from your project and monitor for any updates or patches that may be released.
Yes, Vulert allows you to monitor and alert for open-source vulnerabilities in your software using just the package-lock.json file.
Regularly audit your dependencies, use tools like Vulert, and stay informed about known vulnerabilities in the npm ecosystem.