Malicious Code Injection in yanti-dodol71-breki: A Threat to npm Ecosystem
Summary
MAL-2025-76345: Malicious code in yanti-dodol71-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 yanti-dodol71-breki is part of the npm ecosystem, which is widely used for JavaScript package management. This package has been identified as part of a malicious campaign that aims to exploit npm's publishing mechanisms. It is designed to automatically generate and publish derivative packages with randomized names, thereby inflating developer reputation scores for token rewards associated with the tea.xyz protocol.
Vulnerability Detail
The vulnerability in yanti-dodol71-breki originates from its involvement in the tea.xyz token reward campaign. It contains scripts that modify the package.json file to remove private flags, alter version numbers, and generate random package names. This behavior leads to the continuous republishing of variants, which pollutes the npm registry and can compromise the integrity of the ecosystem. The malicious payload can potentially affect developers who unknowingly install these packages, leading to security risks and reputational damage.
How To Fix
This package is malicious. Remove it and rotate any credentials it could have accessed.
npm uninstall yanti-dodol71-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 yanti-dodol71-breki package altogether. If it is already in use, consider removing it from your project by executing: npm uninstall yanti-dodol71-breki.
Conclusion
The yanti-dodol71-breki package poses a significant risk due to its malicious code designed to exploit the npm ecosystem. It is crucial for developers to remain vigilant, update their packages, and utilize tools like Vulert to monitor for vulnerabilities in their projects.
See every vulnerability recorded for yanti-dodol71-breki →
FAQ
yanti-dodol71-breki is an npm package that has been identified as part of a malicious campaign to exploit the npm registry.
The vulnerability can lead to the installation of malicious code, potentially compromising your project's security and integrity.
You should uninstall the package immediately and check your project for any unintended changes caused by the malicious code.
Yes, you can use Vulert, which monitors and alerts for open-source vulnerabilities in your software by analyzing your 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.