Malicious Code Injection in dian-mieaceh65-ruro: A Threat to npm Users
Summary
MAL-2025-101532: Malicious code in dian-mieaceh65-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 dian-mieaceh65-ruro is part of a malicious campaign targeting npm users, specifically linked to the tea.xyz token reward initiative. This package is designed to manipulate the npm registry by generating and publishing numerous derivative packages with randomized names, thereby inflating developer reputation scores for token rewards. Its functionality is primarily centered around automating the publication of these malicious packages, which can lead to significant pollution of the npm ecosystem.
Vulnerability Detail
The vulnerability in dian-mieaceh65-ruro stems from its malicious payload that modifies the package.json file to remove private flags, alters version numbers, and generates random package names. This behavior not only compromises the integrity of the npm registry but also poses risks to developers who may unknowingly install these malicious packages. The origin of this vulnerability is linked to the tea.xyz token reward campaign, which employs scripts to automate the creation of these harmful packages.
How To Fix
This package is malicious. Remove it and rotate any credentials it could have accessed.
npm uninstall dian-mieaceh65-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 by checking your package-lock.json file for any references to dian-mieaceh65-ruro and removing them. This will prevent the installation of this malicious package in your project.
Conclusion
The dian-mieaceh65-ruro package poses a significant threat to npm users due to its malicious code designed to manipulate the npm registry. It is essential to remove this package and monitor your dependencies to maintain the security of your projects. Utilizing tools like Vulert can help in identifying and mitigating such vulnerabilities effectively.
See every vulnerability recorded for dian-mieaceh65-ruro →
FAQ
dian-mieaceh65-ruro is a malicious npm package that is part of a campaign to inflate developer reputation scores through the automated publication of harmful derivative packages.
The vulnerability can lead to the installation of malicious code, which may compromise your project's security and integrity by polluting the npm registry.
You can use Vulert, which monitors and alerts for open-source vulnerabilities in real-time. Visit Vulert Scanner to check if your application is affected without needing to sign up.
If you have installed dian-mieaceh65-ruro, you should immediately uninstall it using the command npm uninstall dian-mieaceh65-ruro and review your dependencies for any other malicious packages.
Regularly audit your dependencies, use tools like Vulert for monitoring vulnerabilities, and stay informed about security advisories related to the packages you use.