Malicious Code Injection in flexible_badger_teal-84: A Threat to npm Ecosystem
Summary
MAL-2025-102819: Malicious code in flexible_badger_teal-84 (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 flexible_badger_teal-84 is part of the npm ecosystem, which is widely used for JavaScript package management. This package is associated with the tea.xyz token reward campaign, which has been known to flood the npm registry with malicious packages. Its primary functionality is to serve as a token reward mechanism, but it has been exploited to manipulate the npm registry and developer reputation scores.
Vulnerability Detail
The vulnerability in flexible_badger_teal-84 stems from the presence of 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 the tea.xyz token reward campaign, which aims to inflate developer reputation scores through the creation of derivative packages. The ramifications include potential pollution of the npm registry and a compromised developer ecosystem.
How To Fix
This package is malicious. Remove it and rotate any credentials it could have accessed.
npm uninstall flexible_badger_teal-84
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 flexible_badger_teal-84 package from your project by executing the following command: npm uninstall flexible_badger_teal-84. This will prevent any malicious code from executing while you seek a safer alternative.
Conclusion
The flexible_badger_teal-84 package poses a significant threat due to its malicious code that alters package metadata and inflates developer reputation scores. It is crucial to take immediate action by uninstalling the package and monitoring for updates. Utilizing tools like Vulert can help in maintaining the security of your open-source dependencies.
See every vulnerability recorded for flexible_badger_teal-84 →
FAQ
flexible_badger_teal-84 is an npm package associated with the tea.xyz token reward campaign, which has been identified as containing malicious code.
The malicious code modifies your package.json file, potentially compromising your project's integrity and leading to the pollution of the npm registry.
You should uninstall the package immediately and monitor for any updates or patches that may address the vulnerability.
Yes, you can use Vulert to monitor and alert for open-source vulnerabilities in your software. Visit Vulert Scanner to check your application without any signup.
Regularly audit your dependencies and use tools like Vulert to monitor for vulnerabilities in real-time.