Malicious Code Injection in jaja-sroto77-ruro Package
Summary
MAL-2025-104519: Malicious code in jaja-sroto77-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-sroto77-ruro package is part of the npm ecosystem and is associated with the tea.xyz token reward campaign. This package is designed to facilitate automatic publishing of derivative packages, which can inflate developer reputation scores for token rewards. However, it has been identified as containing malicious code that modifies package metadata and republishes variants to pollute the npm registry.
Vulnerability Detail
The vulnerability originates from the jaja-sroto77-ruro package, which includes scripts that automatically generate and publish derivative packages with randomized names. This malicious behavior alters the package.json file by removing private flags, changing version numbers, and continuously republishing variants. The ramifications include potential security risks for developers who unknowingly install these packages, as they may inadvertently contribute to the pollution of the npm registry and compromise their projects.
How To Fix
This package is malicious. Remove it and rotate any credentials it could have accessed.
npm uninstall jaja-sroto77-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, you can avoid using the jaja-sroto77-ruro package and instead look for alternative packages that provide similar functionality without the associated risks. Additionally, you can monitor your project dependencies using tools like Vulert, which can alert you to open-source vulnerabilities in real-time.
Conclusion
The jaja-sroto77-ruro package contains malicious code that poses a significant risk to developers and their projects. It is crucial to remove this package and monitor your dependencies for vulnerabilities to maintain the integrity of your software.
See every vulnerability recorded for jaja-sroto77-ruro →
FAQ
The jaja-sroto77-ruro package is an npm package associated with the tea.xyz token reward campaign, designed to automate the publishing of derivative packages.
The vulnerability can lead to the pollution of the npm registry and may compromise your project's security if you inadvertently install malicious packages.
You should uninstall the jaja-sroto77-ruro package immediately using the command: npm uninstall jaja-sroto77-ruro.
Yes, you can use Vulert to monitor your project for open-source vulnerabilities in real-time without needing to access the code 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.