Malicious Code Injection in sacred_rhinoceros_0xrequest Package
Summary
MAL-2025-108314: Malicious code in sacred_rhinoceros_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 sacred_rhinoceros_0xrequest package is part of the npm ecosystem and is associated with the tea.xyz token reward campaign. This package is designed to facilitate the automatic generation and publication of derivative packages, which can inflate developer reputation scores for token rewards. However, it has been identified as containing malicious code that compromises its integrity and the security of the npm registry.
Vulnerability Detail
The vulnerability originates from the package's design to include autopublish scripts that modify the package.json file by removing private flags, changing version numbers, and generating random package names. This behavior leads to the continuous republishing of variants, polluting the npm registry and potentially impacting developers who rely on the integrity of the packages they use. The malicious payload can lead to unauthorized access to sensitive data and compromise the security of applications that depend on this package.
How To Fix
This package is malicious. Remove it and rotate any credentials it could have accessed.
npm uninstall sacred_rhinoceros_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 workaround, consider using alternative packages that provide similar functionality without the associated risks. Always ensure to review the package's integrity and reputation before installation.
Conclusion
The sacred_rhinoceros_0xrequest package has been identified as containing malicious code that poses a significant risk to applications using it. It is crucial to remove this package and monitor for any updates or patches. Utilizing tools like Vulert can help maintain the security of your software by providing real-time alerts for vulnerabilities.
See every vulnerability recorded for sacred_rhinoceros_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 malicious code can compromise your application's security by modifying package configurations and potentially exposing sensitive data.
You should uninstall the sacred_rhinoceros_0xrequest package immediately to mitigate any risks.
Yes, you can use Vulert to monitor and alert for open-source vulnerabilities in your software without requiring access to the code or installation.
You can use the Vulert playground at Vulert Scanner to check if your application is affected by this vulnerability without any signup.