Malicious Code Injection in jaja-nasi20-ruro Package: A Threat to npm Users
Summary
MAL-2025-104511: Malicious code in jaja-nasi20-ruro (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 jaja-nasi20-ruro package is part of the npm ecosystem, which is widely used for JavaScript package management. This package has been identified as part of a malicious campaign that aims to exploit npm's publishing capabilities. It is designed to generate and publish derivative packages with randomized names, thereby inflating developer reputation scores for token rewards associated with the tea.xyz protocol.
Vulnerability Detail
The vulnerability in the jaja-nasi20-ruro package stems from its malicious code that modifies the package.json file by removing private flags and changing version numbers. It generates random Indonesian-themed package names and continuously republishes these variants to pollute the npm registry. This behavior not only compromises the integrity of the npm ecosystem but also poses a risk to developers who may unknowingly install these malicious packages.
How To Fix
This package is malicious. Remove it and rotate any credentials it could have accessed.
npm uninstall jaja-nasi20-ruro
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 jaja-nasi20-ruro package and monitor your dependencies for any unauthorized changes. Regularly check your package-lock.json file for any unexpected modifications.
Conclusion
The jaja-nasi20-ruro package poses a significant threat to the npm ecosystem due to its malicious behavior. It is crucial for developers to be vigilant and take immediate action to remove this package from their projects. Utilizing tools like Vulert can help in monitoring and managing vulnerabilities effectively.
See every vulnerability recorded for jaja-nasi20-ruro →
FAQ
The jaja-nasi20-ruro package is an npm package that has been identified as part of a malicious campaign to inflate developer reputation scores.
The vulnerability can lead to the installation of malicious code that modifies your project's dependencies and potentially compromises its security.
If you have installed the jaja-nasi20-ruro package, you should uninstall it immediately using the command npm uninstall jaja-nasi20-ruro.
You can use tools like Vulert, which monitors your package-lock.json file for open-source 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 any signup.