Malicious Code Injection in tania-rendang87-riris Package
Summary
MAL-2025-90969: Malicious code in tania-rendang87-riris (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 tania-rendang87-riris 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 scripts that compromise its integrity and the security of applications that depend on it.
Vulnerability Detail
The vulnerability originates from malicious code embedded within the tania-rendang87-riris package. This code modifies the package.json file to remove private flags, alters version numbers, and generates random package names, leading to the continuous republishing of these variants. The ramifications include potential exposure of sensitive data, pollution of the npm registry, and a compromised development environment, making it difficult for developers to manage their dependencies effectively.
How To Fix
This package is malicious. Remove it and rotate any credentials it could have accessed.
npm uninstall tania-rendang87-riris
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 tania-rendang87-riris package from your project by executing: npm uninstall tania-rendang87-riris. Additionally, you can monitor your project for vulnerabilities using Vulert, which analyzes your package-lock.json file to alert you of any open-source vulnerabilities in real-time.
Conclusion
The tania-rendang87-riris package contains malicious code that poses significant risks to applications using it. It is crucial to take immediate action by updating or removing the package and utilizing tools like Vulert to monitor for vulnerabilities in your projects.
See every vulnerability recorded for tania-rendang87-riris →
FAQ
It is an npm package associated with the tea.xyz token reward campaign, designed to generate and publish derivative packages.
The malicious code can modify your package.json, remove private flags, and republish variants, potentially exposing your application to security risks.
Yes, you can use Vulert's playground at Vulert Scanner to check if your application is affected without any signup.
If no patched version exists, it is advisable to remove the package from your project to mitigate the risk.
Regularly monitor your dependencies using tools like Vulert and keep your packages updated to the latest versions.