Malicious Code Injection in yanti-jus43-ruro: A Threat to npm Ecosystem
Summary
MAL-2025-111174: Malicious code in yanti-jus43-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 package yanti-jus43-ruro is part of a series of npm packages that emerged during the tea.xyz token reward campaign. These packages are designed to manipulate the npm registry by automatically generating and publishing derivative packages with randomized names. This behavior is intended to inflate developer reputation scores for token rewards, posing a significant risk to the integrity of the npm ecosystem.
Vulnerability Detail
The vulnerability in yanti-jus43-ruro stems from its malicious payload, which modifies the package.json file to remove private flags, alters version numbers, and generates random package names. This results in the continuous republishing of variants, which pollutes the npm registry and can lead to confusion and potential exploitation by malicious actors. The origin of this vulnerability is linked to the broader tea.xyz token reward campaign, which has been identified as a source of numerous malicious packages.
How To Fix
This package is malicious. Remove it and rotate any credentials it could have accessed.
npm uninstall yanti-jus43-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 remove the yanti-jus43-ruro package from your project by executing: npm uninstall yanti-jus43-ruro. This will prevent any malicious code from executing until a fix is applied.
Conclusion
The yanti-jus43-ruro package poses a significant threat to the npm ecosystem due to its malicious behavior. It is crucial for developers to take immediate action to remove this package and monitor their projects for vulnerabilities. Utilizing tools like Vulert can help maintain the integrity of your software.
See every vulnerability recorded for yanti-jus43-ruro →
FAQ
yanti-jus43-ruro 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 pollution of the npm registry and may expose your project to further security risks if malicious packages are inadvertently used.
You should uninstall the package immediately and monitor your project for any unauthorized changes using tools like Vulert.
Yes, you can use the Vulert playground at Vulert Scanner to check if your application is affected by this vulnerability without any signup.
Vulert is a tool that monitors and alerts in real-time for open-source vulnerabilities in your software using just the package-lock.json file.