Malicious Code Exploit in vague_panda_z3n: npm Package Vulnerability
Summary
MAL-2025-110314: Malicious code in vague_panda_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 'vague_panda_z3n' is part of the npm ecosystem and is associated with the tea.xyz token reward campaign. This package is designed to generate and publish derivative packages automatically, which can inflate developer reputation scores for token rewards. However, it has been identified as containing malicious scripts that compromise its integrity.
Vulnerability Detail
The vulnerability in 'vague_panda_z3n' stems from its inclusion in a series of malicious packages that modify the package.json file to remove private flags, alter version numbers, and create random package names. This behavior leads to the continuous republishing of variants, polluting the npm registry and potentially affecting other packages and developers relying on npm for their dependencies.
How To Fix
This package is malicious. Remove it and rotate any credentials it could have accessed.
npm uninstall vague_panda_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 'vague_panda_z3n' package and look for alternative packages that provide similar functionality without the associated risks. Additionally, regularly audit your npm packages for vulnerabilities using tools like npm audit.
Conclusion
The 'vague_panda_z3n' package poses a significant risk due to its malicious code that alters package metadata and floods the npm registry. It is crucial to remove this package from your projects and monitor your dependencies for vulnerabilities to maintain the integrity of your applications.
See every vulnerability recorded for vague_panda_z3n →
FAQ
The main issue is that it contains malicious code designed to manipulate package metadata and flood the npm registry with derivative packages.
You can use Vulert, which monitors and alerts for open-source vulnerabilities in real-time. Check your application against this vulnerability using the Vulert playground at Vulert Scanner.
You should uninstall the package immediately using 'npm uninstall vague_panda_z3n' and check for any dependencies that may be affected.
Yes, you should look for other npm packages that provide similar functionality without the malicious behavior associated with vague_panda_z3n.
Regularly audit your npm packages using tools like npm audit, and consider using Vulert to monitor for vulnerabilities in your dependencies.