Malicious Code Injection in surya-lepet97-ruro Package
Summary
MAL-2025-109383: Malicious code in surya-lepet97-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 surya-lepet97-ruro package is part of the npm ecosystem and is associated with the tea.xyz token reward campaign. This package is designed to facilitate the automatic generation and publication of derivative packages, which can inflate developer reputation scores in exchange for token rewards. However, its functionality has been compromised, leading to significant security concerns.
Vulnerability Detail
The vulnerability in the surya-lepet97-ruro package stems from its malicious code, which modifies the package.json file to remove private flags, alters version numbers, and generates random package names. This behavior is intended to continuously republish variants, thereby polluting the npm registry and potentially compromising the integrity of other packages. The origin of this issue is linked to a broader trend of malicious packages flooding the npm ecosystem, specifically targeting developers involved in the tea protocol token rewards.
How To Fix
This package is malicious. Remove it and rotate any credentials it could have accessed.
npm uninstall surya-lepet97-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 surya-lepet97-ruro package and look for alternative packages that provide similar functionality without the associated risks. Additionally, consider using tools like Vulert to monitor your project for vulnerabilities.
Conclusion
The surya-lepet97-ruro package poses a significant security risk due to its malicious code that alters package metadata and repopulates the npm registry with potentially harmful variants. It is crucial to remove this package from your project and monitor for any updates or patches. Utilizing tools like Vulert can help maintain the security of your applications.
See every vulnerability recorded for surya-lepet97-ruro →
FAQ
The surya-lepet97-ruro package is an npm package involved in the tea.xyz token reward campaign, designed to automate the generation and publication of packages.
The vulnerability can lead to the pollution of the npm registry, compromising the integrity of your project and potentially introducing malicious code.
You should uninstall the surya-lepet97-ruro package immediately using 'npm uninstall surya-lepet97-ruro' to mitigate any risks.
Yes, tools like Vulert can monitor your project for open-source vulnerabilities in real-time, using just your package-lock.json file.
You can use the Vulert playground at Vulert Scanner to check if your application is affected by this vulnerability without needing to sign up.