Malicious Code Injection in awake_dog_0xrequest Package - npm Vulnerability
Summary
MAL-2025-99692: Malicious code in awake_dog_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 awake_dog_0xrequest package is part of the npm ecosystem, which is widely used for JavaScript package management. This package is associated with the tea.xyz token reward campaign, which has been known to flood the npm registry with malicious packages. The functionality of this package is compromised due to its involvement in generating and publishing derivative packages with random names, aimed at inflating developer reputation scores for token rewards.
Vulnerability Detail
The vulnerability in the awake_dog_0xrequest package originates from its design to include autopublish scripts that modify the package.json file. This modification removes private flags, alters version numbers, and generates random package names, leading to the continuous republishing of variants. The ramifications include pollution of the npm registry, potential security risks for developers using these packages, and a significant impact on the integrity of the npm ecosystem.
How To Fix
This package is malicious. Remove it and rotate any credentials it could have accessed.
npm uninstall awake_dog_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 awake_dog_0xrequest package from your project by executing the command: 'npm uninstall awake_dog_0xrequest'. This will prevent any malicious code from executing while you seek a safer alternative.
Conclusion
The awake_dog_0xrequest package poses a significant risk due to its malicious code that modifies package configurations and floods the npm registry. It is crucial to take immediate action by updating or removing the package to safeguard your project and maintain the integrity of the npm ecosystem.
See every vulnerability recorded for awake_dog_0xrequest →
FAQ
The awake_dog_0xrequest package is an npm package associated with the tea.xyz token reward campaign, known for its malicious behavior.
This vulnerability can lead to the pollution of the npm registry and may introduce security risks into your project by modifying package configurations.
If you have installed the awake_dog_0xrequest package, it is recommended to uninstall it immediately and check for any updates or patches.
Yes, you can use Vulert to monitor your project for open-source vulnerabilities in real-time by analyzing your package-lock.json file.
You can use the Vulert playground at Vulert Scanner to check if your application is affected by this vulnerability without any signup.