Malicious Code Injection in kresna-kue14-ruro Package
Summary
MAL-2025-104863: Malicious code in kresna-kue14-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 kresna-kue14-ruro package is part of the npm ecosystem, often utilized for various JavaScript applications. This package has been identified as part of a malicious campaign aimed at inflating developer reputation scores through the tea.xyz token reward system. It is designed to automatically generate and publish derivative packages with randomized names, which can lead to significant pollution of the npm registry.
Vulnerability Detail
The vulnerability originates from the malicious intent behind the kresna-kue14-ruro package, which includes autopublish scripts that modify the package.json file. This modification removes private flags, alters version numbers, and generates random package names, leading to the continuous republishing of these variants. The ramifications include potential security risks for developers who unknowingly use these packages, as they can introduce unwanted code into their applications and compromise the integrity of the npm registry.
How To Fix
This package is malicious. Remove it and rotate any credentials it could have accessed.
npm uninstall kresna-kue14-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 kresna-kue14-ruro package and instead look for alternative packages that provide similar functionality without the associated risks. Always verify the integrity of packages before installation.
Conclusion
The kresna-kue14-ruro package poses a significant security risk due to its malicious code designed to manipulate package metadata and pollute the npm registry. It is crucial for developers to remove this package and monitor their projects for vulnerabilities to maintain the integrity of their applications.
See every vulnerability recorded for kresna-kue14-ruro →
FAQ
The kresna-kue14-ruro package is an npm package that has been identified as part of a malicious campaign to inflate developer reputation scores.
The malicious code can modify your package.json file, potentially introducing unwanted changes and compromising your application's security.
If you have installed the kresna-kue14-ruro package, you should uninstall it immediately using 'npm uninstall kresna-kue14-ruro' and check for any other vulnerabilities in your project.
Yes, you can use Vulert, which monitors and alerts you in real-time for open-source vulnerabilities using just your package-lock.json. You can check your application for vulnerabilities without any signup at the Vulert playground.
To prevent similar vulnerabilities, always review package dependencies, use trusted sources, and regularly audit your project for vulnerabilities.