Malicious Code Injection in dian-kue30-ruro: A Threat to npm Packages
Summary
MAL-2025-101523: Malicious code in dian-kue30-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-kue30-ruro 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 such packages is to manipulate the npm ecosystem by generating and publishing derivative packages that can inflate developer reputation scores for token rewards. This behavior poses significant risks to developers and users relying on npm packages.
Vulnerability Detail
The vulnerability in dian-kue30-ruro stems from its malicious code that modifies the package.json file to remove private flags and changes version numbers. It generates random package names, primarily themed around Indonesian culture, and continuously republishes these variants to pollute the npm registry. This can lead to a compromised development environment, where developers may unknowingly install malicious packages, potentially leading to data breaches or system compromises.
How To Fix
This package is malicious. Remove it and rotate any credentials it could have accessed.
npm uninstall dian-kue30-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, avoid using the dian-kue30-ruro package and monitor your project for any dependencies that may have been affected by this malicious package. You can also use tools like Vulert to monitor your package-lock.json file for vulnerabilities in real-time.
Conclusion
The dian-kue30-ruro package presents a significant security risk due to its malicious code designed to manipulate the npm registry. It is crucial for developers to be vigilant, remove affected packages, and utilize tools like Vulert to monitor for vulnerabilities. By taking these steps, you can help protect your projects from potential threats.
See every vulnerability recorded for dian-kue30-ruro →
FAQ
dian-kue30-ruro is an npm package that has been identified as part of a malicious campaign to manipulate the npm registry.
The vulnerability can lead to the installation of malicious code, which can compromise your development environment and potentially expose sensitive data.
You should uninstall the dian-kue30-ruro package immediately and check your project for any other affected dependencies.
Regularly update your packages, use trusted sources, and employ tools like Vulert to monitor your dependencies for vulnerabilities.
Vulert is a tool that monitors your package-lock.json file for open-source vulnerabilities in real-time, helping you stay informed about potential risks in your software.