Malicious Code Injection in yanti-pecel81-ruro Package - npm Vulnerability
Summary
MAL-2025-111206: Malicious code in yanti-pecel81-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-pecel81-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. The primary functionality of this package is to serve as a token reward mechanism, but it has been compromised to include harmful scripts that manipulate package metadata.
Vulnerability Detail
The vulnerability in the yanti-pecel81-ruro package stems from its inclusion in a malicious campaign that utilizes autopublish scripts to generate and publish derivative packages with randomized names. This behavior is designed to inflate developer reputation scores for token rewards, but it also modifies the package.json file to remove private flags, changes version numbers, and continuously republishes variants, leading to pollution of the npm registry. The origin of this vulnerability is linked to the malicious intent behind the tea.xyz token reward campaign, which exploits the npm ecosystem for nefarious purposes.
How To Fix
This package is malicious. Remove it and rotate any credentials it could have accessed.
npm uninstall yanti-pecel81-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 yanti-pecel81-ruro package and look for alternative packages that provide similar functionality without the associated risks. Additionally, ensure that your package.json file does not include any references to this malicious package.
Conclusion
The yanti-pecel81-ruro package poses a significant risk due to its malicious code that alters package metadata and contributes to npm registry pollution. It is crucial to uninstall this package and monitor your dependencies for vulnerabilities using tools like Vulert.
See every vulnerability recorded for yanti-pecel81-ruro →
FAQ
The yanti-pecel81-ruro package is an npm package associated with a token reward campaign that has been compromised to include malicious code.
This vulnerability can lead to the modification of your package.json file, removal of private flags, and pollution of the npm registry with malicious packages.
You should uninstall the yanti-pecel81-ruro package immediately and check for any other affected packages in your project.
Yes, you can use tools like Vulert, which monitors and alerts you in real-time for open-source vulnerabilities in your software using just package-lock.json.
Yes, you can use the Vulert playground at Vulert Scanner to check if your application is affected by this vulnerability without any signup.