Malicious Code Injection in controlled_snipe_z3n Package - npm Vulnerability
Summary
MAL-2025-93785: Malicious code in controlled_snipe_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 controlled_snipe_z3n package is part of the npm ecosystem, primarily used for various JavaScript applications. It is associated with the tea.xyz token reward campaign, which has been linked to a series of malicious packages aimed at inflating developer reputation scores. This package, like others in the campaign, has been designed to automatically generate and publish derivative packages with altered attributes, making it susceptible to exploitation.
Vulnerability Detail
The vulnerability in the controlled_snipe_z3n package stems from its involvement in a malicious campaign that modifies the package.json file to remove private flags, alters version numbers, and generates random package names. This behavior not only compromises the integrity of the npm registry but also poses a risk to developers who may unknowingly use these tainted packages. The malicious payload continuously republishes variants, leading to pollution of the npm ecosystem and potential security risks for applications relying on this package.
How To Fix
This package is malicious. Remove it and rotate any credentials it could have accessed.
npm uninstall controlled_snipe_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 controlled_snipe_z3n package from your project by executing the command: npm uninstall controlled_snipe_z3n. This will prevent any potential exploitation until a secure version is released.
Conclusion
The controlled_snipe_z3n package has been identified as part of a malicious campaign that compromises the npm ecosystem. It is crucial for developers to take immediate action by updating or uninstalling the package to protect their applications from potential threats. Utilizing tools like Vulert can help in monitoring and managing vulnerabilities effectively.
See every vulnerability recorded for controlled_snipe_z3n →
FAQ
controlled_snipe_z3n is an npm package associated with the tea.xyz token reward campaign, which has been linked to malicious activities aimed at inflating developer reputation.
The vulnerability can lead to the inclusion of malicious code in your application, potentially compromising its security and integrity.
You should immediately update or uninstall the package to mitigate the risk of exploitation.
Yes, you can use Vulert, which monitors and alerts for open-source vulnerabilities in real-time using just your package-lock.json file.
You can use the Vulert playground at Vulert Scanner to check if your application is affected without requiring any signup.