Malicious Code Vulnerability in strategic_snipe_z3n: Exploitation of npm Packages
Summary
MAL-2025-109183: Malicious code in strategic_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 package 'strategic_snipe_z3n' is part of a broader ecosystem within the npm registry, often associated with token reward campaigns like tea.xyz. Such packages are designed to automate the generation and publication of derivative packages, which can inflate developer reputation scores. However, this functionality has been compromised, leading to significant security concerns.
Vulnerability Detail
The vulnerability originates from malicious code embedded within the 'strategic_snipe_z3n' package. This code modifies the package.json file to remove private flags, alters version numbers, and generates random package names, primarily themed around Indonesian culture. The malicious payload continuously republishes these variants, polluting the npm registry and potentially compromising the integrity of other packages.
How To Fix
This package is malicious. Remove it and rotate any credentials it could have accessed.
npm uninstall strategic_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 'strategic_snipe_z3n' package from your project by executing: 'npm uninstall strategic_snipe_z3n'. This will help mitigate the risk until a secure version is available.
Conclusion
The 'strategic_snipe_z3n' package has been identified as containing malicious code that poses significant risks to developers and the integrity of the npm registry. It is crucial to take immediate action by updating or removing the package to safeguard your applications.
See every vulnerability recorded for strategic_snipe_z3n →
FAQ
The vulnerability involves malicious code that alters package metadata and floods the npm registry with derivative packages.
You can use Vulert to monitor and alert for open-source vulnerabilities in your software. Visit Vulert Scanner to check your application without any signup.
The risks include the compromise of package integrity, potential exposure of sensitive data, and damage to developer reputation due to the proliferation of malicious packages.
Check the npm registry for a patched version of 'strategic_snipe_z3n'. If available, updating the package will resolve the vulnerability.
As a temporary measure, you can uninstall the package to mitigate risks until a secure version is available.