Malicious Code Injection in jaja-lepet20-ruro Package: A Threat to npm Users
Summary
MAL-2025-104505: Malicious code in jaja-lepet20-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-lepet20-ruro package 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 through automated publishing of derivative packages.
Vulnerability Detail
The vulnerability in the jaja-lepet20-ruro package stems from its malicious code that modifies the package.json file. This code removes private flags, alters version numbers, and generates random package names, leading to the continuous republishing of variants that pollute the npm registry. The origin of this vulnerability is linked to the tea.xyz token reward campaign, which exploits npm's publishing mechanisms for malicious purposes. The ramifications include potential security risks for developers and users, as well as the degradation of the npm ecosystem's integrity.
How To Fix
This package is malicious. Remove it and rotate any credentials it could have accessed.
npm uninstall jaja-lepet20-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 workaround, you can monitor your project's dependencies using tools like Vulert. By utilizing Vulert's playground at https://vulert.com/scanner, you can check if your application is affected by this vulnerability without needing to sign up. This tool analyzes your package-lock.json file to alert you in real-time about any open-source vulnerabilities.
Conclusion
The jaja-lepet20-ruro package poses a significant threat due to its malicious code that alters package metadata and floods the npm registry. It is crucial for developers to uninstall this package and monitor their dependencies for future vulnerabilities. Utilizing tools like Vulert can help maintain the security of your projects.
See every vulnerability recorded for jaja-lepet20-ruro →
FAQ
The jaja-lepet20-ruro package is an npm package associated with a malicious campaign that floods the npm registry with harmful packages.
The malicious code modifies your package.json file, potentially leading to security risks and the pollution of the npm registry.
You should uninstall the jaja-lepet20-ruro package immediately using the command npm uninstall jaja-lepet20-ruro.
Yes, regularly monitor your dependencies using tools like Vulert to stay informed about vulnerabilities in your packages.
Yes, you can use Vulert's playground at Vulert Scanner to check your application for vulnerabilities without needing to sign up.