Malicious Code Injection in encouraging_mockingbird_0xrequest Package
Summary
MAL-2025-102088: Malicious code in encouraging_mockingbird_0xrequest (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 'encouraging_mockingbird_0xrequest' package is part of a series of npm packages that emerged during the tea.xyz token reward campaign. These packages are designed to manipulate the npm registry by creating and publishing numerous derivative packages with randomized names. This behavior is intended to inflate developer reputation scores for token rewards, making the package susceptible to malicious exploitation.
Vulnerability Detail
The vulnerability originates from the package's design, which includes autopublish scripts that modify the package.json file to remove private flags and alter version numbers. This allows the package to generate random names and continuously republish variants, polluting the npm registry. The ramifications include potential security risks for developers who unknowingly use these packages, as they may introduce malicious code into their projects.
How To Fix
This package is malicious. Remove it and rotate any credentials it could have accessed.
npm uninstall encouraging_mockingbird_0xrequest
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 workaround, you can manually check your package-lock.json file for any instances of 'encouraging_mockingbird_0xrequest' and remove it. You can also use the following command to uninstall the package: npm uninstall encouraging_mockingbird_0xrequest.
Conclusion
The 'encouraging_mockingbird_0xrequest' package poses a significant risk due to its malicious code designed to manipulate the npm registry. Developers are urged to remove this package and monitor their dependencies for vulnerabilities. Utilizing tools like Vulert can help in identifying such risks in real-time.
See every vulnerability recorded for encouraging_mockingbird_0xrequest →
FAQ
It is an npm package that is part of a malicious campaign to inflate developer reputation scores through the creation of numerous derivative packages.
You can use Vulert to monitor your package-lock.json for vulnerabilities. Visit Vulert Scanner to check your application without needing to sign up.
Using this package can lead to the introduction of malicious code into your project, which may compromise security and functionality.
Currently, there is no patched version available. It is advised to remove the package entirely from your project.
Remove the package from your project and review your dependencies for any other potentially malicious packages.