Malicious Code Injection in devoted_chameleon_0xrequest Package
Summary
MAL-2025-101406: Malicious code in devoted_chameleon_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_chameleon_0xrequest package is part of the npm ecosystem and is associated with the tea.xyz token reward campaign. This package is designed to facilitate interactions with the tea protocol, but it has been compromised to include malicious code that can affect developers and the integrity of the npm registry.
Vulnerability Detail
The vulnerability originates from a malicious payload embedded within the devoted_chameleon_0xrequest package. This payload modifies the package.json file by removing private flags, altering version numbers, and generating random package names, which leads to the automatic publication of derivative packages. This behavior is intended to inflate developer reputation scores for token rewards, ultimately polluting the npm registry and potentially compromising other packages.
How To Fix
This package is malicious. Remove it and rotate any credentials it could have accessed.
npm uninstall devoted_chameleon_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 remove the devoted_chameleon_0xrequest package from your project by executing: npm uninstall devoted_chameleon_0xrequest. This will prevent any malicious code from executing until a safe version is available.
Conclusion
The devoted_chameleon_0xrequest package has been identified as containing malicious code that can compromise the integrity of projects using it. It is crucial to take immediate action by updating or removing the package and to utilize tools like Vulert for ongoing vulnerability monitoring.
See every vulnerability recorded for devoted_chameleon_0xrequest →
FAQ
It is an npm package associated with the tea.xyz token reward campaign, designed for interactions with the tea protocol.
The vulnerability can lead to unauthorized modifications in your package.json file and the publication of malicious packages, which can compromise your project's integrity.
You should uninstall the package immediately and monitor your project for any unusual activity.
Yes, you can use Vulert, which monitors and alerts for open-source vulnerabilities in real-time using just your package-lock.json file.
You can use the Vulert playground at Vulert Scanner to check your application for vulnerabilities without needing to sign up.