Malicious Code Vulnerability in devoted_cardinal_0xrequest Package
Summary
MAL-2025-101405: Malicious code in devoted_cardinal_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 devoted_cardinal_0xrequest package is part of the npm ecosystem and is associated with the tea.xyz token reward campaign. This package is designed to facilitate token rewards through various automated scripts. However, it has been identified as containing malicious code that compromises its integrity and the security of applications that depend on it.
Vulnerability Detail
The vulnerability originates from the package's malicious payload, which modifies the package.json file to remove private flags, alters version numbers, and generates random package names. This behavior is intended to inflate developer reputation scores and pollute the npm registry with derivative packages. The ramifications include potential security risks for applications using this package, as it may lead to unauthorized access or manipulation of code.
How To Fix
This package is malicious. Remove it and rotate any credentials it could have accessed.
npm uninstall devoted_cardinal_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 measure, you can avoid using the devoted_cardinal_0xrequest package and look for alternative packages that provide similar functionality without the associated risks.
Conclusion
The devoted_cardinal_0xrequest package contains malicious code that poses a significant risk to applications using it. It is crucial to remove this package and monitor for any updates or alternatives to maintain the security of your software.
See every vulnerability recorded for devoted_cardinal_0xrequest →
FAQ
It is an npm package associated with the tea.xyz token reward campaign, designed to automate token rewards.
The malicious code can alter your package.json, remove security flags, and introduce potentially harmful packages, compromising your application's security.
You can use the Vulert platform to monitor and alert for open-source vulnerabilities in your software. Visit Vulert Scanner to check your application without any signup.
Remove the devoted_cardinal_0xrequest package from your project and look for alternatives. If a patched version is released, update to that version.
Vulert is a tool that monitors open-source vulnerabilities in your software using just package-lock.json. It provides real-time alerts for any vulnerabilities detected.