Malicious Code Injection in Capable Harrier Z3N Package - npm Vulnerability
Summary
MAL-2025-100258: Malicious code in capable_harrier_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 capable_harrier_z3n package is part of the npm ecosystem, typically used for various JavaScript functionalities. However, it has been identified as part of a malicious campaign linked to the tea.xyz token reward initiative. This package is designed to manipulate the npm registry by generating and publishing derivative packages with altered metadata, thereby inflating developer reputation scores.
Vulnerability Detail
The vulnerability originates from the malicious intent behind the capable_harrier_z3n package, which includes scripts that automatically modify the package.json file. These modifications remove private flags, alter version numbers, and create random package names, leading to pollution of the npm registry. This can result in developers unknowingly using compromised packages, potentially exposing their applications to further security risks.
How To Fix
This package is malicious. Remove it and rotate any credentials it could have accessed.
npm uninstall capable_harrier_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 manually remove the capable_harrier_z3n package from your project by executing the command: npm uninstall capable_harrier_z3n. Additionally, consider using tools like Vulert to monitor your project for vulnerabilities in real-time.
Conclusion
The capable_harrier_z3n package poses a significant security risk due to its malicious code designed to manipulate the npm registry. It is crucial for developers to remove this package and monitor their projects for vulnerabilities to ensure the integrity and security of their applications.
See every vulnerability recorded for capable_harrier_z3n →
FAQ
The capable_harrier_z3n package is an npm package that has been identified as part of a malicious campaign aimed at manipulating the npm registry.
This vulnerability can lead to the use of compromised packages, which may introduce security risks and instability in your application.
You should immediately uninstall the capable_harrier_z3n package and monitor your project for any further vulnerabilities.
Yes, you can use the Vulert playground at Vulert Scanner to check if your application is affected by this vulnerability without requiring any signup.
Vulert is a tool that monitors your package-lock.json file to alert you in real-time about open-source vulnerabilities in your software, helping you maintain security.