Malicious Code Injection in yanti-gembus57-ruro Package
Summary
MAL-2025-111167: Malicious code in yanti-gembus57-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 yanti-gembus57-ruro package is part of the npm ecosystem, often used for various JavaScript applications. This package is associated with the tea.xyz token reward campaign, which has been known to flood the npm registry with numerous derivative packages. These packages typically include scripts that automatically generate and publish new packages, potentially compromising the integrity of the npm ecosystem.
Vulnerability Detail
The vulnerability in the yanti-gembus57-ruro package stems from its malicious payload, which modifies the package.json file to remove private flags, alters version numbers, and generates random package names. This behavior is designed to inflate developer reputation scores for token rewards, leading to pollution of the npm registry with potentially harmful variants. The origin of this issue is linked to the broader campaign that exploits npm's publishing mechanisms, posing risks to developers and users relying on the integrity of the npm ecosystem.
How To Fix
This package is malicious. Remove it and rotate any credentials it could have accessed.
npm uninstall yanti-gembus57-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 avoid using the yanti-gembus57-ruro package altogether. If it is already included in your project, consider removing it and replacing it with a trusted alternative. Additionally, regularly audit your package dependencies using tools like npm audit to identify and address vulnerabilities.
Conclusion
The yanti-gembus57-ruro package poses a significant risk due to its malicious behavior, which can compromise the integrity of applications relying on npm packages. It is essential to remove this package and monitor your dependencies for vulnerabilities to maintain a secure development environment.
See every vulnerability recorded for yanti-gembus57-ruro →
FAQ
The yanti-gembus57-ruro package is an npm package associated with a token reward campaign, known for flooding the npm registry with derivative packages.
This vulnerability can compromise the integrity of your application by introducing malicious code that alters package configurations and publishes harmful variants.
If you have installed the yanti-gembus57-ruro package, it is crucial to remove it from your project and replace it with a trusted alternative.
Yes, you can use tools like Vulert, which monitors your package-lock.json file to alert you in real-time for open-source vulnerabilities.
You can use the Vulert playground at Vulert Scanner to check if your application is affected by this vulnerability without requiring any signup.