Malicious Code Injection in surya-lepet90-ruro: A Threat to npm Ecosystem
Summary
MAL-2025-109382: Malicious code in surya-lepet90-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 'surya-lepet90-ruro' is part of the npm ecosystem, which is widely used for JavaScript package management. It 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 that manipulate package metadata and publish derivatives to inflate reputation scores, posing a significant risk to developers and users alike.
Vulnerability Detail
The vulnerability in 'surya-lepet90-ruro' originates from its association with a malicious campaign that employs scripts to modify the package.json file. This modification removes private flags, alters version numbers, and generates random package names, leading to the continuous republishing of variants that pollute the npm registry. The ramifications include potential security risks for applications relying on this package, as well as damage to 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 surya-lepet90-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 'surya-lepet90-ruro' package from your project by executing 'npm uninstall surya-lepet90-ruro'. This will prevent any malicious scripts from executing until a secure version is available.
Conclusion
The 'surya-lepet90-ruro' package poses a significant risk due to its malicious code that alters package metadata and repackages it. It is essential to take immediate action by updating or removing the package to safeguard your applications and maintain the integrity of the npm ecosystem.
See every vulnerability recorded for surya-lepet90-ruro →
FAQ
The vulnerability involves malicious code that modifies package metadata and repackages it to inflate developer reputation scores.
You can use Vulert, which monitors and alerts for open-source vulnerabilities in real-time. Visit Vulert Scanner to check your application without any signup.
Using compromised packages can lead to security breaches, data leaks, and the potential for your application to be flagged for malicious activity.
Regularly audit your dependencies, use tools like Vulert for monitoring, and stay updated with the latest security patches from package maintainers.
If an immediate update is not possible, consider removing the package from your project and look for alternative packages that provide similar functionality.