Malicious Code Injection in tasty_hawk-appteadev: A Threat to npm Ecosystem
Summary
MAL-2025-109516: Malicious code in tasty_hawk-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 package 'tasty_hawk-appteadev' 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. These packages often contain scripts that manipulate package metadata and publish derivative packages, posing a risk to developers and users alike.
Vulnerability Detail
The vulnerability in 'tasty_hawk-appteadev' originates from its association with a malicious campaign that aims to inflate developer reputation scores through the automatic generation and publication of derivative packages. The malicious payload modifies the package.json file by removing private flags, altering version numbers, and generating random package names, which can lead to registry pollution and potential exploitation of unsuspecting users.
How To Fix
This package is malicious. Remove it and rotate any credentials it could have accessed.
npm uninstall tasty_hawk-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 'tasty_hawk-appteadev' package from your project by executing the command: 'npm uninstall tasty_hawk-appteadev'. This will prevent any malicious code from executing in your environment until a secure version is available.
Conclusion
The 'tasty_hawk-appteadev' package contains a significant vulnerability that poses risks to the npm ecosystem. It is crucial for developers to take immediate action by updating or removing the package to safeguard their applications. Utilizing tools like Vulert can help monitor for such vulnerabilities in real-time.
See every vulnerability recorded for tasty_hawk-appteadev →
FAQ
The vulnerability involves malicious code that modifies package metadata and publishes derivative packages to the npm registry.
You can use Vulert, which monitors and alerts for open-source vulnerabilities in your software. Visit Vulert Scanner to check your application without needing to sign up.
The risks include registry pollution, exploitation of users, and damage to developer reputation due to the proliferation of malicious packages.
Check the npm registry for any updated versions of 'tasty_hawk-appteadev' that may contain security patches.
As a temporary measure, uninstall the package using 'npm uninstall tasty_hawk-appteadev' to mitigate the risk until a secure version is available.