Malicious Code Injection in sole_wasp_z3n Package - npm Vulnerability
Summary
MAL-2025-108911: Malicious code in sole_wasp_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 sole_wasp_z3n package is part of the npm ecosystem and is associated with the tea.xyz token reward campaign. This package is designed to facilitate token rewards by generating and publishing derivative packages. However, it has been identified as containing malicious code that compromises its integrity and the security of the npm registry.
Vulnerability Detail
The vulnerability in the sole_wasp_z3n package originates from its involvement in a campaign that floods the npm registry with malicious packages. The malicious code modifies the package.json file to remove private flags, alters version numbers, and generates random package names, which can lead to the pollution of the npm registry and inflate developer reputation scores fraudulently. This can result in significant security risks for developers and users relying on the integrity of npm packages.
How To Fix
This package is malicious. Remove it and rotate any credentials it could have accessed.
npm uninstall sole_wasp_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 sole_wasp_z3n package from your project by executing: npm uninstall sole_wasp_z3n. This will prevent the execution of any malicious code associated with it until a secure version is available.
Conclusion
The sole_wasp_z3n package has been identified as containing malicious code that poses a significant risk to users and developers within the npm ecosystem. It is crucial to take immediate action by updating or removing the package and utilizing tools like Vulert to monitor for vulnerabilities.
See every vulnerability recorded for sole_wasp_z3n →
FAQ
The sole_wasp_z3n package is an npm package involved in a token reward campaign that has been identified to contain malicious code.
The malicious code can modify your package.json file, remove private flags, and publish unauthorized packages, which can compromise your project's security.
You should uninstall the sole_wasp_z3n package immediately and monitor for any updates or patches that may be released.
Yes, you can use Vulert, which monitors your package-lock.json file for open-source vulnerabilities in real-time without requiring code access or installation.
You can use the Vulert playground at Vulert Scanner to check if your application is affected by this vulnerability without needing to sign up.