Malicious Code Injection in kresna-kripik80-ruro Package
Summary
MAL-2025-104860: Malicious code in kresna-kripik80-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-kripik80-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 generation and publication of derivative packages, which can inflate developer reputation scores for token rewards. However, it has been identified as containing malicious code that compromises its integrity.
Vulnerability Detail
The vulnerability originates from the package's design to include autopublish scripts that modify the package.json file by removing private flags and changing version numbers. It generates random package names, primarily themed around Indonesian culture, and continuously republishes these variants, leading to pollution of the npm registry. This behavior can lead to security risks for developers who may unknowingly use these compromised packages, potentially exposing their applications to further vulnerabilities.
How To Fix
This package is malicious. Remove it and rotate any credentials it could have accessed.
npm uninstall kresna-kripik80-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 workaround, you can manually remove the package from your project by running the following command: npm uninstall kresna-kripik80-ruro. Additionally, consider using alternative packages that do not exhibit such malicious behavior.
Conclusion
The kresna-kripik80-ruro package has been identified as containing malicious code that can compromise the integrity of projects using it. It is crucial to remove this package and monitor for any updates or patches. Utilizing tools like Vulert can help in identifying and managing such vulnerabilities effectively.
See every vulnerability recorded for kresna-kripik80-ruro →
FAQ
It is an npm package associated with the tea.xyz token reward campaign, designed to generate and publish derivative packages.
The malicious code modifies your package.json file and can lead to the pollution of the npm registry, potentially exposing your project to security risks.
You should uninstall the kresna-kripik80-ruro package immediately to mitigate any risks associated with its malicious behavior.
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 use the Vulert playground at Vulert Scanner to check if your application is affected by this vulnerability without needing to sign up.