Malicious Code Injection in tania-pecel60-riris: A Threat to npm Packages
Summary
MAL-2025-90966: Malicious code in tania-pecel60-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 package tania-pecel60-riris is part of the npm ecosystem, which is widely used for JavaScript package management. This package is associated with the tea.xyz token reward campaign, which has been known to flood the npm registry with malicious packages. These packages often contain scripts designed to manipulate package metadata and inflate developer reputation scores, posing significant risks to developers and users alike.
Vulnerability Detail
The vulnerability in tania-pecel60-riris originates from its involvement in a malicious campaign that modifies the package.json file to remove private flags and change version numbers. It generates random package names, specifically Indonesian-themed, and continuously republishes these variants to pollute the npm registry. This behavior can lead to reputation damage for developers and potential security risks for users who inadvertently install these malicious packages.
How To Fix
This package is malicious. Remove it and rotate any credentials it could have accessed.
npm uninstall tania-pecel60-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 affected package by removing it from your dependencies and replacing it with a trusted alternative. Additionally, regularly audit your npm packages using 'npm audit' to identify and address vulnerabilities.
Conclusion
The tania-pecel60-riris package poses a significant threat due to its malicious behavior aimed at manipulating npm registry data. It is crucial for developers to be vigilant and take immediate action to remove this package from their projects and monitor their dependencies for vulnerabilities.
See every vulnerability recorded for tania-pecel60-riris →
FAQ
tania-pecel60-riris is an npm package that is part of a malicious campaign aimed at inflating developer reputation scores through the publication of derivative packages.
You can use Vulert to monitor and alert for open-source vulnerabilities in your software. By checking your package-lock.json file, Vulert can help you identify if your application is affected by this vulnerability.
Using this package can lead to security vulnerabilities, reputation damage, and potential exposure to malicious code that can affect your application and its users.
Regularly auditing your dependencies, using tools like Vulert, and being cautious about the packages you include in your projects can help prevent similar vulnerabilities.
If you have installed tania-pecel60-riris, you should uninstall it immediately and check for any other affected packages. Use 'npm uninstall tania-pecel60-riris' to remove it from your project.