Malicious Code Vulnerability in andi-wajit56-ruro Package
Summary
MAL-2025-99466: Malicious code in andi-wajit56-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-wajit56-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 function of this package is to serve as a tool for developers, but it has been compromised to include harmful scripts that manipulate package metadata.
Vulnerability Detail
The vulnerability originates from the inclusion of malicious code within the andi-wajit56-ruro package. This code is designed to modify the package.json file by removing private flags, altering version numbers, and generating random package names. The malicious payload continuously republishes these variants to the npm registry, which can lead to pollution of the registry and inflation of developer reputation scores, ultimately undermining 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 andi-wajit56-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 prevent the installation of this package by adding it to your project's .npmrc file with the following line: 'package-lock=false'. This will help mitigate the risk until a permanent fix is applied.
Conclusion
The andi-wajit56-ruro package contains malicious code that poses a significant threat to the integrity of the npm ecosystem. It is crucial for developers to be vigilant and take immediate action to remove this package and monitor their dependencies for vulnerabilities.
See every vulnerability recorded for andi-wajit56-ruro →
FAQ
andi-wajit56-ruro is an npm package that has been compromised to include malicious code aimed at manipulating package metadata.
You can use Vulert, which monitors and alerts for open-source vulnerabilities in real-time. Check your application against the vulnerability using the Vulert playground at Vulert Scanner.
The risks include pollution of the npm registry, potential security breaches, and damage to developer reputation scores.
Yes, you can prevent the installation of the compromised package by modifying your .npmrc file or by regularly auditing your dependencies.
If you have installed the package, you should uninstall it immediately and check for any other compromised packages in your project.