Malicious Code Injection in andi-empal38-ruro Package - npm Vulnerability
Summary
MAL-2025-99421: Malicious code in andi-empal38-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 andi-empal38-ruro package is part of the npm ecosystem, which is widely used for JavaScript package management. This package has been identified as part of a malicious campaign that aims to exploit npm's publishing features. It is designed to generate and publish derivative packages with randomized names, thereby inflating developer reputation scores for token rewards associated with the tea.xyz protocol.
Vulnerability Detail
The vulnerability originates from the package's malicious payload, which modifies the package.json file to remove private flags, alters version numbers, and generates random package names. This behavior leads to the continuous republishing of variants, polluting the npm registry and potentially compromising the integrity of the ecosystem. The malicious scripts included in the package are designed to automate this process, making it difficult for developers to track and manage their dependencies effectively.
How To Fix
This package is malicious. Remove it and rotate any credentials it could have accessed.
npm uninstall andi-empal38-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 affected package and look for alternative packages that provide similar functionality without the associated risks. Additionally, regularly audit your dependencies using tools like npm audit to identify and mitigate vulnerabilities.
Conclusion
The andi-empal38-ruro package has been identified as a malicious entity within the npm ecosystem, capable of compromising project integrity through automated scripts. It is crucial to remove this package and monitor your dependencies for similar vulnerabilities to maintain a secure development environment.
See every vulnerability recorded for andi-empal38-ruro →
FAQ
andi-empal38-ruro is an npm package that has been identified as part of a malicious campaign to exploit npm's publishing features.
The vulnerability can lead to the pollution of the npm registry and compromise the integrity of your project's dependencies, potentially introducing further security risks.
You should uninstall the package immediately using 'npm uninstall andi-empal38-ruro' and check your package-lock.json for any lingering references.
Yes, you can use Vulert to monitor and alert in real-time for open-source vulnerabilities in your software. It requires only the package-lock.json file for analysis.
You can use the Vulert playground at Vulert Scanner to check if your application is affected by this vulnerability without needing to sign up.