Malicious Code Injection in dian-klanting60-ruro Package
Summary
MAL-2025-101519: Malicious code in dian-klanting60-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 dian-klanting60-ruro package is part of the npm ecosystem and is associated with the tea.xyz token reward campaign. This package is designed to facilitate the automatic publication of derivative packages, which can inflate developer reputation scores for token rewards. However, it has been identified as containing malicious code that modifies its own configuration files.
Vulnerability Detail
The vulnerability in the dian-klanting60-ruro package stems from its malicious payload, which alters the package.json file to remove private flags, changes version numbers, and generates random package names. This behavior leads to the continuous republishing of variants that pollute the npm registry, potentially compromising the integrity of the ecosystem and affecting developers relying on legitimate packages.
How To Fix
This package is malicious. Remove it and rotate any credentials it could have accessed.
npm uninstall dian-klanting60-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 dian-klanting60-ruro package and look for alternative packages that provide similar functionality without the associated risks. Additionally, regularly audit your package-lock.json file to identify and remove any malicious packages.
Conclusion
The dian-klanting60-ruro package has been identified as containing malicious code that poses a significant risk to developers and the npm ecosystem. It is crucial to uninstall this package and monitor your dependencies for any similar vulnerabilities to maintain the integrity of your projects.
See every vulnerability recorded for dian-klanting60-ruro →
FAQ
The dian-klanting60-ruro package is an npm package involved in the tea.xyz token reward campaign, which has been found to contain malicious code.
The malicious code modifies your package.json file, removes private flags, and generates random package names, which can lead to pollution of the npm registry and affect the integrity of your project.
You should uninstall the dian-klanting60-ruro package immediately using the command: npm uninstall dian-klanting60-ruro.
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 check if your application is affected by this vulnerability using the Vulert playground.
You can visit the Vulert playground at Vulert Scanner to check if your application is affected by the dian-klanting60-ruro vulnerability without needing to sign up.