Malicious Code Injection in tania-bakso87-riris: A Threat to npm Packages
Summary
MAL-2025-90910: Malicious code in tania-bakso87-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-bakso87-riris is part of the npm ecosystem, which is widely used for JavaScript package management. This package, like many others, is intended to facilitate the development and sharing of code. However, it has been identified as part of a malicious campaign that exploits npm's publishing mechanisms, leading to potential security risks for developers and users alike.
Vulnerability Detail
The vulnerability in tania-bakso87-riris stems from its association with a malicious campaign that floods the npm registry with derivative packages. These packages contain scripts designed to automatically modify package.json files, removing private flags, altering version numbers, and generating random package names. This behavior not only inflates developer reputation scores for token rewards but also pollutes the npm registry, making it difficult for legitimate packages to be found and increasing the risk of dependency confusion attacks.
How To Fix
This package is malicious. Remove it and rotate any credentials it could have accessed.
npm uninstall tania-bakso87-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 measure, you can avoid using the affected package by removing it from your project dependencies and replacing it with a trusted alternative. Always verify the integrity and reputation of packages before adding them to your project.
Conclusion
The tania-bakso87-riris package poses a significant security risk due to its malicious behavior of modifying package files and flooding the npm registry. It is essential for developers to be vigilant about the packages they use and to take immediate action to remove any affected packages. Utilizing tools like Vulert can help in monitoring and managing vulnerabilities effectively.
See every vulnerability recorded for tania-bakso87-riris →
FAQ
tania-bakso87-riris is an npm package that has been identified as part of a malicious campaign to manipulate the npm registry.
The vulnerability can lead to the injection of malicious code into your project, potentially compromising security and functionality.
You should uninstall the package immediately using 'npm uninstall tania-bakso87-riris' and check for any other affected packages.
You can use tools like Vulert, which monitors your package-lock.json for vulnerabilities in real-time without requiring code access or installation.
Yes, you can use the Vulert playground at Vulert Scanner to check if your application is affected by this vulnerability without signing up.