Malicious Code Injection in surrounding_panda_z3n Package
Summary
MAL-2025-96898: Malicious code in surrounding_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 surrounding_panda_z3n package is part of the npm ecosystem, which is widely used for JavaScript package management. This package is associated with the tea.xyz token reward campaign, which has been known to flood the npm registry with malicious packages. The primary function of such packages is to inflate developer reputation scores through automated publishing scripts, which can lead to significant security risks.
Vulnerability Detail
The vulnerability in the surrounding_panda_z3n package stems from its malicious code designed to manipulate the package.json file. This code removes private flags, alters version numbers, and generates random package names, ultimately republishing these variants to pollute the npm registry. The origin of this vulnerability is linked to the tea.xyz token reward campaign, which employs these tactics to exploit the npm ecosystem. The ramifications include potential exposure of sensitive data, increased risk of dependency confusion attacks, and overall degradation of the npm registry's integrity.
How To Fix
This package is malicious. Remove it and rotate any credentials it could have accessed.
npm uninstall surrounding_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 surrounding_panda_z3n package and any other packages associated with the tea.xyz token reward campaign. Regularly audit your dependencies using tools like npm audit to identify and mitigate potential vulnerabilities.
Conclusion
The surrounding_panda_z3n package poses a significant security risk due to its malicious code designed to manipulate package metadata and pollute the npm registry. It is crucial to remove this package and regularly audit your dependencies to maintain the integrity and security of your projects.
See every vulnerability recorded for surrounding_panda_z3n →
FAQ
The surrounding_panda_z3n package is an npm package that is part of a malicious campaign aimed at inflating developer reputation scores through automated publishing.
The vulnerability can lead to the exposure of sensitive data, dependency confusion, and pollution of the npm registry, potentially affecting the integrity of your project.
You can use Vulert, which monitors and alerts for open-source vulnerabilities in real-time. Visit Vulert Scanner to check if your application is affected without needing to sign up.
Uninstall the surrounding_panda_z3n package immediately using 'npm uninstall surrounding_panda_z3n' and review your dependencies for any other malicious packages.
Regularly audit your dependencies, use tools like npm audit, and stay informed about known vulnerabilities in the packages you use.