Malicious Code Injection in unconscious_mandrill_0xrequest Package
Summary
MAL-2025-110056: Malicious code in unconscious_mandrill_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 unconscious_mandrill_0xrequest package is part of the npm ecosystem and is associated with the tea.xyz token reward campaign. This package is designed to facilitate the automatic generation and publication of derivative packages, which can inflate developer reputation scores in exchange for token rewards. However, it has been identified as containing malicious scripts that can compromise the integrity of the npm registry.
Vulnerability Detail
The vulnerability stems from the presence of malicious code within the unconscious_mandrill_0xrequest package. This code modifies the package.json file to remove private flags, alters version numbers, and generates random package names, leading to the continuous republishing of these variants. This behavior not only pollutes the npm registry but also poses a risk to developers who may unknowingly use these compromised packages, potentially leading to security breaches in their applications.
How To Fix
This package is malicious. Remove it and rotate any credentials it could have accessed.
npm uninstall unconscious_mandrill_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 temporary workaround, you can avoid using the unconscious_mandrill_0xrequest package and look for alternative packages that provide similar functionality without the associated risks. Additionally, you can monitor your dependencies using tools like Vulert, which can alert you to vulnerabilities in real-time.
Conclusion
The unconscious_mandrill_0xrequest package has been identified as containing malicious code that can compromise the integrity of the npm registry and potentially affect applications using it. It is crucial to uninstall this package and monitor for vulnerabilities to maintain the security of your software.
See every vulnerability recorded for unconscious_mandrill_0xrequest →
FAQ
It is an npm package associated with the tea.xyz token reward campaign, designed to generate and publish derivative packages.
The malicious code can modify your package.json file and introduce compromised packages, potentially leading to security vulnerabilities in your application.
You should uninstall the unconscious_mandrill_0xrequest package immediately and monitor your project for any other vulnerabilities.
Yes, regularly audit your dependencies and use tools like Vulert to monitor for vulnerabilities in real-time.
Yes, you can use the Vulert playground at Vulert Scanner to check for vulnerabilities in your application without any signup.