Malicious Code Injection in funny_hawk-smiletea Package
Summary
MAL-2025-102988: Malicious code in funny_hawk-smiletea (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 funny_hawk-smiletea package is part of the npm ecosystem, often associated with token reward campaigns like tea.xyz. It is designed to facilitate the distribution of JavaScript packages. However, this package has been identified as malicious, containing scripts that manipulate package metadata and flood the npm registry with derivative packages, potentially harming developers' reputations and the integrity of the npm ecosystem.
Vulnerability Detail
The vulnerability originates from the package's inclusion in a campaign that aims to inflate developer reputation scores through the automatic generation and publication of numerous derivative packages. The malicious code modifies the package.json file by removing private flags, altering version numbers, and creating random package names. This behavior leads to pollution of the npm registry and can compromise the security and reliability of applications that depend on this package.
How To Fix
This package is malicious. Remove it and rotate any credentials it could have accessed.
npm uninstall funny_hawk-smiletea
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 funny_hawk-smiletea package and replace it with a trusted alternative. Additionally, consider using tools like Vulert to monitor your package-lock.json for any vulnerabilities in real-time.
Conclusion
The funny_hawk-smiletea package poses a significant risk due to its malicious code that alters package metadata and floods the npm registry. It is essential to remove this package and monitor your project for vulnerabilities using tools like Vulert to maintain the security and integrity of your applications.
See every vulnerability recorded for funny_hawk-smiletea →
FAQ
It is an npm package associated with token reward campaigns that has been identified as containing malicious code.
The malicious code can modify your package.json, remove private flags, and flood the npm registry, potentially compromising your application's integrity.
You should uninstall the funny_hawk-smiletea package immediately and monitor your project for any other vulnerabilities.
Yes, you can use Vulert to monitor your package-lock.json for vulnerabilities in real-time without requiring code access or installation.
You can use the Vulert playground at Vulert Scanner to check for vulnerabilities in your application without any signup.