Malicious Code Injection in divine_tahr_0xrequest Package
Summary
MAL-2025-101684: Malicious code in divine_tahr_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 divine_tahr_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 malicious, containing code that alters package metadata and floods the npm registry with derivative packages.
Vulnerability Detail
The vulnerability originates from the malicious intent behind the divine_tahr_0xrequest package, which modifies the package.json file to remove private flags and changes version numbers. It generates random package names, primarily themed around Indonesian culture, and continuously republishes these variants to manipulate developer reputation scores. This behavior not only pollutes the npm registry but also poses a risk to developers who may unknowingly use these compromised packages.
How To Fix
This package is malicious. Remove it and rotate any credentials it could have accessed.
npm uninstall divine_tahr_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 divine_tahr_0xrequest package and look for alternative packages that offer similar functionality without the associated risks. Additionally, consider using tools like Vulert to monitor your project for vulnerabilities.
Conclusion
The divine_tahr_0xrequest package poses a significant risk due to its malicious behavior, which modifies package metadata and floods the npm registry. It is crucial for developers to remove this package and monitor their projects for vulnerabilities using tools like Vulert.
See every vulnerability recorded for divine_tahr_0xrequest →
FAQ
It is an npm package associated with the tea.xyz token reward campaign, designed to automate the generation and publication of derivative packages.
The vulnerability can lead to your project being polluted with malicious packages, potentially compromising security and affecting your project's integrity.
You should uninstall the divine_tahr_0xrequest package immediately and check for any dependencies that may be affected.
Yes, tools like Vulert can help monitor your project for open-source vulnerabilities in real-time without requiring code access.
You can use the Vulert playground at Vulert Scanner to check if your application is affected by this vulnerability without any signup.