Malicious Code Injection in blonde_bat-toolteadev Package
Summary
MAL-2025-100014: Malicious code in blonde_bat-toolteadev (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 blonde_bat-toolteadev package is part of the npm ecosystem and is associated with the tea.xyz token reward campaign. It is designed to facilitate development and deployment processes but has been compromised to include malicious functionalities. This package is particularly vulnerable due to its involvement in generating and publishing derivative packages, which can lead to reputation inflation within the npm registry.
Vulnerability Detail
The vulnerability in the blonde_bat-toolteadev package stems from its malicious code that modifies the package.json file. This code removes private flags, alters version numbers, and generates random package names, leading to the continuous republishing of these variants. The origin of this vulnerability is linked to a campaign aimed at exploiting npm's publishing mechanisms, which can result in a polluted registry and potential security risks for developers relying on these packages.
How To Fix
This package is malicious. Remove it and rotate any credentials it could have accessed.
npm uninstall blonde_bat-toolteadev
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 remove the blonde_bat-toolteadev package from your project by executing: npm uninstall blonde_bat-toolteadev. This will prevent any malicious code from executing while you seek a safer alternative package.
Conclusion
The blonde_bat-toolteadev package contains a significant vulnerability due to malicious code that alters package configurations and can lead to security risks. It is crucial to take immediate action by updating or removing the package and utilizing tools like Vulert for ongoing monitoring.
See every vulnerability recorded for blonde_bat-toolteadev →
FAQ
The blonde_bat-toolteadev package is an npm package that was part of a token reward campaign but has been found to contain malicious code.
The malicious code modifies your package.json file, potentially leading to unauthorized package republishing and registry pollution.
You should uninstall the package immediately and check for any updates or alternatives that do not contain vulnerabilities.
Yes, you can use Vulert, which monitors your package-lock.json file for open-source vulnerabilities in real-time without requiring code access.
You can use the Vulert playground at Vulert Scanner to check if your application is affected by this vulnerability without any signup.