Malicious Code Injection in udin-ragi24-breki Package
Summary
MAL-2025-75829: Malicious code in udin-ragi24-breki (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 udin-ragi24-breki package is part of the npm ecosystem and appears to be 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 alters its own metadata and publishes variants to the npm registry.
Vulnerability Detail
The vulnerability originates from the udin-ragi24-breki package, which includes scripts that modify the package.json file by removing private flags and changing version numbers. It generates random package names, often themed around Indonesian culture, and continuously republishes these variants. This behavior can lead to pollution of the npm registry, making it difficult for developers to find legitimate packages and potentially compromising the integrity of their applications.
How To Fix
This package is malicious. Remove it and rotate any credentials it could have accessed.
npm uninstall udin-ragi24-breki
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 udin-ragi24-breki package and monitor your dependencies for any instances of this package. You can also use the following command to uninstall it: npm uninstall udin-ragi24-breki.
Conclusion
The udin-ragi24-breki package poses a significant risk due to its malicious code that alters package metadata and floods the npm registry. It is crucial for developers to remove this package and stay vigilant about their dependencies to maintain the integrity of their applications.
See every vulnerability recorded for udin-ragi24-breki →
FAQ
The udin-ragi24-breki package is an npm package associated with a token reward campaign that has been identified as containing malicious code.
The vulnerability can lead to the pollution of the npm registry, making it harder to find legitimate packages and potentially compromising your application's integrity.
You should remove the udin-ragi24-breki package from your project and monitor for any updates or patches.
Yes, you can use Vulert, which monitors and alerts for open-source vulnerabilities in real-time. You can check your application using the Vulert playground without any signup.
Regularly monitor your dependencies for vulnerabilities and use tools like Vulert to stay informed about potential risks in your open-source packages.