Malicious Code Injection in rina-rujak7-riris Package
Summary
MAL-2025-90200: Malicious code in rina-rujak7-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 rina-rujak7-riris package is part of the npm ecosystem, often used in JavaScript applications. It is associated with the tea.xyz token reward campaign, which has been known to flood the npm registry with numerous packages. This package, like others in the campaign, is designed to manipulate developer reputation scores through the automatic generation and publication of derivative packages.
Vulnerability Detail
The vulnerability in the rina-rujak7-riris package stems from its malicious code that 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, polluting the npm registry. This behavior not only compromises the integrity of the npm ecosystem but also poses risks to developers who may unknowingly use these compromised packages.
How To Fix
This package is malicious. Remove it and rotate any credentials it could have accessed.
npm uninstall rina-rujak7-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, avoid using the rina-rujak7-riris package and monitor your project's dependencies for any signs of malicious activity. You can also utilize tools like Vulert to monitor your package-lock.json file for vulnerabilities in real-time.
Conclusion
The rina-rujak7-riris package contains malicious code that poses significant risks to developers and the npm ecosystem. It is crucial to remove this package from your projects and utilize tools like Vulert to monitor for vulnerabilities effectively.
See every vulnerability recorded for rina-rujak7-riris →
FAQ
The rina-rujak7-riris package is an npm package associated with a token reward campaign that generates multiple derivative packages to inflate developer reputation scores.
This vulnerability can compromise your project's integrity by introducing malicious code that modifies your package configurations and publishes unwanted packages.
If you have installed the rina-rujak7-riris package, you should uninstall it immediately using the command npm uninstall rina-rujak7-riris.
To prevent similar vulnerabilities, regularly audit your dependencies, use tools like Vulert to monitor for vulnerabilities, and avoid using packages from untrusted sources.
Vulert is a tool that monitors your package-lock.json file for open-source vulnerabilities in real-time. You can check if your application is affected by this vulnerability using the Vulert playground without any signup.