Malicious Code Injection in surrounding_bird_z3n Package - npm Vulnerability
Summary
MAL-2025-96894: Malicious code in surrounding_bird_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_bird_z3n package is part of the npm ecosystem, which is widely used for JavaScript package management. This package, like many others, is intended to provide developers with reusable code components. However, it has been identified as part of a malicious campaign that exploits npm's publishing capabilities, leading to significant security concerns.
Vulnerability Detail
The vulnerability in the surrounding_bird_z3n package stems from its association with a malicious campaign designed to inflate developer reputation scores through the automatic generation and publication of derivative packages. The malicious code modifies the package.json file to remove private flags, alters version numbers, and generates random package names, thereby polluting the npm registry. This can lead to compromised systems and the potential for further exploitation.
How To Fix
This package is malicious. Remove it and rotate any credentials it could have accessed.
npm uninstall surrounding_bird_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_bird_z3n package and any other packages that may be part of the malicious campaign. Regularly audit your dependencies using tools like npm audit to identify and mitigate risks.
Conclusion
The surrounding_bird_z3n package poses a significant security risk due to its malicious code designed to exploit npm's publishing features. It is crucial for developers to remove this package and regularly audit their dependencies to maintain the security of their applications.
See every vulnerability recorded for surrounding_bird_z3n →
FAQ
The surrounding_bird_z3n package is an npm package that has been identified as part of a malicious campaign targeting the npm registry.
This vulnerability can lead to the injection of malicious code into your application, potentially compromising its security and integrity.
You should immediately uninstall the surrounding_bird_z3n package and audit your project for any other potentially malicious dependencies.
You can use tools like Vulert, which monitors your package-lock.json file to alert you in real-time for open-source vulnerabilities.
Yes, you can use the Vulert playground at Vulert Scanner to check if your application is affected by this vulnerability without requiring any signup.