Malicious Code Injection in kurnia-ubi85-ruro: A Threat to npm Packages
Summary
MAL-2025-104927: Malicious code in kurnia-ubi85-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 'kurnia-ubi85-ruro' is part of the npm ecosystem and is associated with the tea.xyz token reward campaign. This package is designed to facilitate the automatic generation and publication of derivative packages, which can inflate developer reputation scores for token rewards. However, it has been identified as malicious due to its ability to modify package.json files and republish variants that can pollute the npm registry.
Vulnerability Detail
The vulnerability in 'kurnia-ubi85-ruro' originates from its malicious design, which includes scripts that remove private flags from package.json, alter version numbers, and generate random package names. This behavior can lead to the proliferation of unwanted packages in the npm registry, potentially compromising the integrity of the ecosystem and affecting developers who rely on these packages for their projects.
How To Fix
This package is malicious. Remove it and rotate any credentials it could have accessed.
npm uninstall kurnia-ubi85-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 'kurnia-ubi85-ruro' package and look for alternative packages that provide similar functionality without the associated risks. Additionally, you can monitor your project for vulnerabilities using tools like Vulert, which can alert you to open-source vulnerabilities in real-time by analyzing your package-lock.json file.
Conclusion
The kurnia-ubi85-ruro package poses a significant risk due to its malicious code that alters package.json files and repopulates the npm registry with unwanted variants. It is crucial for developers to remove this package and monitor their projects for vulnerabilities using tools like Vulert to ensure the integrity of their software.
See every vulnerability recorded for kurnia-ubi85-ruro →
FAQ
The main issue is that it contains malicious code that modifies package.json files and republish variants, leading to pollution of the npm registry.
You can use Vulert to check if your application is affected by this vulnerability without needing to access the code or install anything. Simply upload your package-lock.json file.
You should uninstall the package immediately using 'npm uninstall kurnia-ubi85-ruro' and look for alternative packages.
Regularly monitor your dependencies using tools like Vulert and keep your packages updated to the latest versions to minimize risks.
Using this package can lead to the proliferation of malicious packages in your project, which may compromise security and affect the functionality of your application.