Malicious Code Injection in primitive_condor_z3n Package
Summary
MAL-2025-96020: Malicious code in primitive_condor_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 primitive_condor_z3n package is part of the npm ecosystem and is associated with the tea.xyz token reward campaign. This package is designed to facilitate the automatic generation and publication of derivative packages, which can inflate developer reputation scores for token rewards. However, it has been compromised to include malicious scripts that manipulate package metadata and flood the npm registry with unwanted packages.
Vulnerability Detail
The vulnerability originates from the malicious code embedded in the primitive_condor_z3n package. This code modifies the package.json file to remove private flags, alters version numbers, and generates random package names, leading to the pollution of the npm registry. The malicious payload can potentially compromise the integrity of projects that depend on this package, allowing for unauthorized access and manipulation of project dependencies.
How To Fix
This package is malicious. Remove it and rotate any credentials it could have accessed.
npm uninstall primitive_condor_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 remove the primitive_condor_z3n package from your project by executing the following command: npm uninstall primitive_condor_z3n. This will prevent any malicious code from executing while you assess your project's dependencies.
Conclusion
The primitive_condor_z3n package has been identified as containing malicious code that can compromise the integrity of projects using it. It is crucial to take immediate action by updating or removing the package to safeguard your applications from potential threats.
See every vulnerability recorded for primitive_condor_z3n →
FAQ
The primitive_condor_z3n package is an npm package associated with the tea.xyz token reward campaign, designed to automate the generation and publication of packages.
The vulnerability can compromise your project's integrity by allowing unauthorized modifications to your package dependencies, potentially leading to security risks.
If you have installed the primitive_condor_z3n package, it is recommended to uninstall it immediately and check for any affected projects.
Yes, you can use Vulert, which monitors and alerts in real-time for open-source vulnerabilities using just the package-lock.json file. You can also check your application for vulnerabilities using the Vulert playground without any signup.
Regularly update your dependencies, utilize tools like Vulert for monitoring vulnerabilities, and review package sources before installation to ensure their integrity.