Malicious Code Injection in criminal_eagle_0xrequest Package
Summary
MAL-2025-101075: Malicious code in criminal_eagle_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 criminal_eagle_0xrequest package is part of the npm ecosystem, which is widely used for JavaScript package management. This package is suspected to be involved in a token reward campaign that exploits npm's publishing capabilities. It is designed to automatically generate and publish derivative packages, which can lead to reputation inflation for developers participating in the tea protocol token rewards.
Vulnerability Detail
The vulnerability originates from the malicious code embedded within the criminal_eagle_0xrequest package. This code modifies the package.json file to remove private flags, alters version numbers, and generates random package names. It continuously republishes these variants to the npm registry, leading to pollution of the registry and potential security risks for developers who unknowingly use these packages. The malicious payload can compromise the integrity of the npm ecosystem and affect developers' projects by introducing untrusted code.
How To Fix
This package is malicious. Remove it and rotate any credentials it could have accessed.
npm uninstall criminal_eagle_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 monitor your package dependencies and avoid using packages that are part of the tea.xyz token reward campaign. Additionally, consider using tools like Vulert to monitor your project for vulnerabilities. You can check if your application is affected by this vulnerability using the Vulert playground at https://vulert.com/scanner without any signup.
Conclusion
The criminal_eagle_0xrequest package contains malicious code that can compromise the security of your projects. It is crucial to remove this package and monitor your dependencies for vulnerabilities. Utilizing tools like Vulert can help maintain the integrity of your software by providing real-time alerts for open-source vulnerabilities.
See every vulnerability recorded for criminal_eagle_0xrequest →
FAQ
It is an npm package that is part of a malicious campaign to inflate developer reputation scores through automated publishing of derivative packages.
The vulnerability can introduce untrusted code into your project, potentially compromising its security and integrity.
You should uninstall the criminal_eagle_0xrequest package immediately using 'npm uninstall criminal_eagle_0xrequest'.
Regularly audit your dependencies, use trusted packages, and leverage 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.