Malicious Code Injection in iwan-wajit73-breki Package - npm Vulnerability
Summary
MAL-2025-73610: Malicious code in iwan-wajit73-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-wajit73-breki package is part of a series of npm packages associated with the tea.xyz token reward campaign. These packages are designed to manipulate the npm registry by generating and publishing numerous derivative packages with randomized names. This behavior is intended to inflate developer reputation scores in exchange for token rewards, making the package a potential threat to the integrity of the npm ecosystem.
Vulnerability Detail
The vulnerability in the iwan-wajit73-breki package stems from its malicious code that modifies the package.json file to remove private flags, alters version numbers, and generates random package names. This behavior leads to the continuous republishing of variants, which pollutes the npm registry and can compromise the security of applications relying on these packages. The package is part of a broader trend of malicious npm packages that exploit the registry for personal gain.
How To Fix
This package is malicious. Remove it and rotate any credentials it could have accessed.
npm uninstall iwan-wajit73-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 workaround, you can avoid using the iwan-wajit73-breki package altogether. If it is already in use, consider removing it from your package.json and running npm install to clean up your dependencies. Additionally, you can use tools like Vulert to monitor your project for vulnerabilities. For example, you can check your application using the Vulert playground at https://vulert.com/scanner without any signup.
Conclusion
The iwan-wajit73-breki package poses a significant risk due to its malicious behavior aimed at manipulating the npm registry. It is crucial for developers to remove this package and monitor their projects for vulnerabilities using tools like Vulert to ensure the security of their applications.
See every vulnerability recorded for iwan-wajit73-breki →
FAQ
iwan-wajit73-breki is an npm package that is part of a malicious campaign to inflate developer reputation scores through the creation of numerous derivative packages.
The vulnerability can lead to the pollution of the npm registry, potentially introducing malicious code into your application and compromising its security.
You should remove the iwan-wajit73-breki package from your project and consider using legitimate alternatives.
Yes, you can use Vulert, which monitors and alerts for open-source vulnerabilities in real-time using just your package-lock.json file.
You can check your application for vulnerabilities using the Vulert playground at Vulert Scanner without needing to sign up.