Malicious Code Injection in decent_tortoise_0xrequest Package
Summary
MAL-2025-101248: Malicious code in decent_tortoise_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 decent_tortoise_0xrequest package is part of the npm ecosystem and is associated with the tea.xyz token reward campaign. This package is designed to facilitate various functionalities related to token rewards but has been compromised, leading to significant security concerns. The package is known for its automatic publishing capabilities, which have been exploited to generate numerous derivative packages that can affect the integrity of the npm registry.
Vulnerability Detail
The vulnerability stems from malicious code embedded within the decent_tortoise_0xrequest package. This code modifies the package.json file to remove private flags, alters version numbers, and generates random package names, which are then republished to the npm registry. This behavior not only inflates developer reputation scores fraudulently but also pollutes the npm ecosystem, potentially leading to further exploitation and security risks for users who unknowingly install these compromised packages.
How To Fix
This package is malicious. Remove it and rotate any credentials it could have accessed.
npm uninstall decent_tortoise_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 decent_tortoise_0xrequest package until a secure version is released. Additionally, consider using alternative packages that provide similar functionalities without the associated risks.
Conclusion
The decent_tortoise_0xrequest package has been identified as containing malicious code that poses a significant risk to users and their applications. It is crucial to take immediate action by updating or removing the package to ensure the security of your projects. Utilizing tools like Vulert can help in monitoring and managing vulnerabilities effectively.
See every vulnerability recorded for decent_tortoise_0xrequest →
FAQ
It is an npm package associated with the tea.xyz token reward campaign, designed to facilitate token-related functionalities.
The vulnerability can lead to the installation of malicious code that compromises your application's integrity and security.
You should immediately update the package to the latest version or remove it from your project to mitigate any risks.
You can use Vulert, which monitors your package-lock.json file to alert you in real-time about open-source vulnerabilities.
Yes, you can use the Vulert playground at Vulert Scanner to check for vulnerabilities in your application without any signup.