Malicious Code Injection in advisory_spoonbill_z3n Package
Summary
MAL-2025-93154: Malicious code in advisory_spoonbill_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 advisory_spoonbill_z3n package is part of the npm ecosystem, which is widely used for JavaScript package management. This package has been identified as part of a malicious campaign that aims to inflate developer reputation scores through the automatic generation and publication of derivative packages. It is designed to manipulate package metadata, making it a significant risk for developers relying on npm for package integrity.
Vulnerability Detail
The vulnerability originates from the package being associated with a token reward campaign that floods the npm registry with malicious packages. These packages contain scripts that modify the package.json file by removing private flags, altering version numbers, and generating random package names. This behavior not only pollutes the npm registry but also compromises the integrity of the developer's project by introducing potentially harmful code.
How To Fix
This package is malicious. Remove it and rotate any credentials it could have accessed.
npm uninstall advisory_spoonbill_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 measure, you can avoid using the advisory_spoonbill_z3n package and replace it with a trusted alternative. Ensure that your project dependencies are regularly audited for vulnerabilities.
Conclusion
The advisory_spoonbill_z3n package poses a significant risk due to its malicious behavior of modifying package metadata and flooding the npm registry. It is crucial for developers to remove this package and monitor their dependencies for vulnerabilities to maintain the integrity of their projects.
See every vulnerability recorded for advisory_spoonbill_z3n →
FAQ
It is an npm package identified as part of a malicious campaign that modifies package metadata to inflate developer reputation scores.
The vulnerability can lead to the introduction of malicious code into your project, potentially compromising its security and integrity.
You should uninstall the advisory_spoonbill_z3n package immediately and check your project for any other affected packages.
Yes, you can use Vulert, which monitors and alerts for open-source vulnerabilities in real-time using just your package-lock.json file.
You can use the Vulert playground at Vulert Scanner to check if your application is affected without needing to sign up.