Malicious Code Injection in wispy_python_z3n Package
Summary
MAL-2025-97389: Malicious code in wispy_python_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 wispy_python_z3n package is part of the npm ecosystem, often utilized in various JavaScript applications. This package has been identified as part of a broader malicious campaign targeting the npm registry, where it is used to inflate developer reputation scores through the automatic generation and publishing of derivative packages. The malicious nature of this package lies in its ability to alter critical files and continuously pollute the npm registry.
Vulnerability Detail
The vulnerability in the wispy_python_z3n package stems from its inclusion in a malicious campaign that modifies the package.json file to remove private flags, alters version numbers, and generates random package names. This behavior is designed to automate the publishing of numerous variants, thereby compromising the integrity of the npm registry and potentially leading to security risks for developers who unknowingly use these packages. The origin of this vulnerability is linked to the tea.xyz token reward campaign, which exploits npm's publishing mechanisms.
How To Fix
This package is malicious. Remove it and rotate any credentials it could have accessed.
npm uninstall wispy_python_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 avoid using the wispy_python_z3n package altogether and look for alternative packages that provide similar functionality without the associated risks. Additionally, you can monitor your project for vulnerabilities using tools like Vulert, which can alert you to any open-source vulnerabilities in your software.
Conclusion
The wispy_python_z3n package poses a significant risk due to its malicious code designed to manipulate npm's publishing system. It is crucial for developers to remove this package from their projects and monitor for vulnerabilities to ensure the security of their applications.
See every vulnerability recorded for wispy_python_z3n →
FAQ
The wispy_python_z3n package is an npm package that has been identified as part of a malicious campaign aimed at inflating developer reputation scores.
This vulnerability can lead to the automatic generation and publishing of malicious packages, compromising the integrity of your application and potentially exposing it to security risks.
If you have installed the wispy_python_z3n package, you should uninstall it immediately and check for any alternative packages that are safe to use.
You can use tools like Vulert, which monitors your package-lock.json file to alert you in real-time for any open-source vulnerabilities in your software.
Yes, you can use the Vulert playground at Vulert Scanner to check if your application is affected by this vulnerability without requiring any signup.