Malicious Code Injection in vida-lepet41-ruro Package
Summary
MAL-2025-110488: Malicious code in vida-lepet41-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 vida-lepet41-ruro package is part of the npm ecosystem, often utilized in various JavaScript applications. It is associated with the tea.xyz token reward campaign, which has been known to flood the npm registry with numerous packages. This package, like others in the campaign, is designed to inflate developer reputation scores through automated publishing scripts.
Vulnerability Detail
The vulnerability in the vida-lepet41-ruro package originates from its malicious code, which modifies the package.json file to remove private flags and alters version numbers. It generates random package names, primarily themed around Indonesian culture, and continuously republishes these variants to pollute the npm registry. This behavior can lead to significant security risks, including unauthorized access to sensitive information and potential exploitation of the affected applications.
How To Fix
This package is malicious. Remove it and rotate any credentials it could have accessed.
npm uninstall vida-lepet41-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 vida-lepet41-ruro package from your project by executing the command: npm uninstall vida-lepet41-ruro. This will prevent any malicious code from executing until a secure version is available.
Conclusion
The vida-lepet41-ruro package contains malicious code that poses significant risks to applications using it. It is crucial to update or remove this package to safeguard your projects from potential exploitation. Utilizing tools like Vulert can help monitor and alert for such vulnerabilities effectively.
See every vulnerability recorded for vida-lepet41-ruro →
FAQ
The vida-lepet41-ruro package is an npm package associated with the tea.xyz token reward campaign, which has been linked to malicious activities in the npm registry.
The malicious code modifies critical files, removes security flags, and can lead to unauthorized access or exploitation of your application.
Yes, you can use Vulert, which monitors and alerts for open-source vulnerabilities in your software using just the 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.
If you cannot update the package right away, consider uninstalling it as a temporary measure to mitigate risk.