Malicious Code Injection in iwan-rujak41-breki Package - npm Vulnerability
Summary
MAL-2025-73597: Malicious code in iwan-rujak41-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 iwan-rujak41-breki 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 and the security of the npm registry.
Vulnerability Detail
The vulnerability stems from the presence of malicious code within the iwan-rujak41-breki package. This code modifies the package.json file by removing private flags, altering version numbers, and generating random package names. The malicious payload continuously republishes these variants, leading to pollution of the npm registry and potential exploitation by attackers. The origin of this vulnerability is linked to the broader trend of malicious packages flooding the npm ecosystem, specifically targeting developers involved in token reward campaigns.
How To Fix
This package is malicious. Remove it and rotate any credentials it could have accessed.
npm uninstall iwan-rujak41-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 iwan-rujak41-breki package and monitor your dependencies for any similar malicious packages. Regularly audit your npm packages using the command: npm audit to identify vulnerabilities.
Conclusion
The iwan-rujak41-breki package has been identified as containing malicious code that poses significant risks to developers and the npm ecosystem. It is crucial to remove this package and regularly audit your dependencies to maintain the security of your applications.
See every vulnerability recorded for iwan-rujak41-breki →
FAQ
It is an npm package associated with the tea.xyz token reward campaign, designed to automatically generate and publish derivative packages.
The malicious code modifies your package.json file, potentially exposing your application to security risks and polluting the npm registry.
You should uninstall the package immediately using the command: npm uninstall iwan-rujak41-breki.
Regularly audit your dependencies, use trusted packages, and stay informed about known vulnerabilities in the npm ecosystem.
Yes, Vulert can monitor your package-lock.json for open-source vulnerabilities in real-time, alerting you to any issues without requiring code access.