Malicious Code Injection in advanced_mockingbird_z3n Package
Summary
MAL-2025-99207: Malicious code in advanced_mockingbird_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 advanced_mockingbird_z3n package is part of the npm ecosystem, typically used for various JavaScript functionalities. However, it has been identified as part of a malicious campaign that exploits npm's package management system. This package is associated with the tea.xyz token reward initiative, which has been known to flood the npm registry with derivative packages that are designed to inflate developer reputation scores.
Vulnerability Detail
The vulnerability in the advanced_mockingbird_z3n package stems from its inclusion in a malicious campaign that modifies the package.json file. This modification removes private flags, alters version numbers, and generates random package names, leading to the continuous republishing of these variants. The malicious payload can pollute the npm registry, potentially affecting developers who rely on npm for legitimate packages. The origin of this issue is linked to the tea.xyz token reward campaign, which utilizes autopublish scripts to automate the creation and publication of these harmful packages.
How To Fix
This package is malicious. Remove it and rotate any credentials it could have accessed.
npm uninstall advanced_mockingbird_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 remove the advanced_mockingbird_z3n package from your project by executing the command: npm uninstall advanced_mockingbird_z3n. This will prevent any malicious code from executing while you seek a secure alternative package.
Conclusion
The advanced_mockingbird_z3n package has been identified as a vector for malicious code injection, primarily due to its association with a harmful npm campaign. It is crucial for developers to take immediate action by updating or removing the package to safeguard their projects. Utilizing tools like Vulert can enhance your ability to monitor and manage vulnerabilities effectively.
See every vulnerability recorded for advanced_mockingbird_z3n →
FAQ
It is an npm package that has been identified as part of a malicious campaign targeting the npm registry.
The vulnerability can lead to the pollution of the npm registry and may compromise the integrity of your project by introducing malicious code.
You should uninstall the package immediately and check for any updates or patches that may address the vulnerability.
You can use Vulert, which monitors and alerts in real-time for open-source vulnerabilities using just your package-lock.json file.
Yes, you can use the Vulert playground at Vulert Scanner to check if your application is affected by this vulnerability without any signup.