Malicious Code Injection in tough_beetle-appteadev Package
Summary
MAL-2025-109782: Malicious code in tough_beetle-appteadev (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 tough_beetle-appteadev package is part of the npm ecosystem, often utilized in various JavaScript applications. It is associated with the tea.xyz token reward campaign, which has been known to flood the npm registry with packages designed to inflate developer reputation scores. This package, like others in the campaign, contains scripts that automatically publish derivative packages, potentially leading to a polluted npm registry.
Vulnerability Detail
The vulnerability in the tough_beetle-appteadev package arises 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, which can lead to the proliferation of unwanted packages in the npm registry. The malicious payload is part of a broader scheme to exploit the npm ecosystem for token rewards, posing risks to developers and users by compromising the integrity of the package registry.
How To Fix
This package is malicious. Remove it and rotate any credentials it could have accessed.
npm uninstall tough_beetle-appteadev
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 tough_beetle-appteadev package from your project by executing: npm uninstall tough_beetle-appteadev. This will prevent any malicious code from executing until a secure version is available.
Conclusion
The tough_beetle-appteadev package contains malicious code that poses significant risks to developers and users by altering package metadata and flooding the npm registry. It is crucial to uninstall the package and monitor for updates to protect your applications from potential exploitation.
See every vulnerability recorded for tough_beetle-appteadev →
FAQ
It is an npm package associated with the tea.xyz token reward campaign, often used in JavaScript applications.
The malicious code modifies your package.json file, potentially leading to the publication of unwanted packages and compromising your application's integrity.
You should uninstall the package immediately and monitor for any updates or patches that may address the vulnerability.
Yes, you can use Vulert, which monitors and alerts for open-source vulnerabilities in your software using just package-lock.json. Visit Vulert Scanner to check your application.
Regularly audit your dependencies, keep them updated, and utilize tools like Vulert to monitor for vulnerabilities in real-time.