Malicious Code Injection in vida-rojak6-breki: A Threat to npm Users
Summary
MAL-2025-76040: Malicious code in vida-rojak6-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 package 'vida-rojak6-breki' 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 the integrity of the npm registry.
Vulnerability Detail
The vulnerability in 'vida-rojak6-breki' originates from its malicious payload that modifies 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 to pollute the npm registry. This behavior can lead to a significant compromise of the npm ecosystem, affecting developers and users relying on the integrity of packages.
How To Fix
This package is malicious. Remove it and rotate any credentials it could have accessed.
npm uninstall vida-rojak6-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 measure, you can avoid using the 'vida-rojak6-breki' package and look for alternative packages that provide similar functionality without the associated risks. Always verify the integrity and source of packages before installation.
Conclusion
The 'vida-rojak6-breki' package poses a significant threat due to its malicious code that compromises the npm registry. It is essential for developers to remove this package from their projects and to utilize tools like Vulert to monitor for vulnerabilities in real-time. By staying vigilant and using trusted packages, developers can protect their applications from similar threats.
See every vulnerability recorded for vida-rojak6-breki →
FAQ
The main issue is that it contains malicious code that modifies package.json files and floods the npm registry with derivative packages.
You can use Vulert, which monitors and alerts for open-source vulnerabilities in your software. Visit Vulert Scanner to check your application without any signup.
You should uninstall the 'vida-rojak6-breki' package immediately using the command 'npm uninstall vida-rojak6-breki'.
Yes, you should look for alternative packages that provide similar functionality but are verified and trusted.
Regularly audit your dependencies, use tools like Vulert for monitoring, and only install packages from reputable sources.