Malicious Code Injection in tania-menjes30-riris Package
Summary
MAL-2025-90955: Malicious code in tania-menjes30-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-menjes30-riris package is part of a broader campaign associated with the tea.xyz token reward system. It is designed to facilitate the automatic generation and publication of derivative packages on the npm registry. This package, like others in its category, is primarily used to inflate developer reputation scores through the creation of numerous randomized package names, which can lead to significant pollution of the npm ecosystem.
Vulnerability Detail
The vulnerability in the tania-menjes30-riris package stems from its malicious payload, which modifies the package.json file to remove private flags and alters version numbers. It generates random package names, often themed around Indonesian culture, and continuously republishes these variants. This behavior not only compromises the integrity of the npm registry but also poses a risk to developers who may unknowingly use these compromised packages, potentially leading to security breaches in their applications.
How To Fix
This package is malicious. Remove it and rotate any credentials it could have accessed.
npm uninstall tania-menjes30-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 avoid using the tania-menjes30-riris package and any other packages associated with the tea.xyz token reward campaign. Instead, consider using well-established and trusted packages that serve similar functionalities without the associated risks.
Conclusion
The tania-menjes30-riris package poses a significant risk due to its malicious behavior aimed at manipulating the npm registry. It is crucial for developers to be vigilant about the packages they use and to take immediate action to remove any compromised packages. Utilizing tools like Vulert can help in monitoring and maintaining the security of your applications.
See every vulnerability recorded for tania-menjes30-riris →
FAQ
The tania-menjes30-riris package is part of a malicious campaign aimed at inflating developer reputation scores through the automatic generation of numerous derivative packages on npm.
Using the tania-menjes30-riris package can compromise your application's security by introducing malicious code that alters your package configuration and potentially leads to further vulnerabilities.
If you have installed the tania-menjes30-riris package, you should uninstall it immediately using the command 'npm uninstall tania-menjes30-riris' and review your project's dependencies for any other malicious packages.
You can use tools like Vulert, which monitors your package-lock.json file to alert you in real-time for open-source vulnerabilities in your software. You can also check your application against known vulnerabilities using the Vulert playground.
To prevent future vulnerabilities, regularly audit your dependencies, use trusted sources for packages, and consider implementing automated tools that check for known vulnerabilities in your project.