Malicious Code Injection in bumpy-azure-hawk: A Threat to npm Users
Summary
MAL-2025-138602: Malicious code in bumpy-azure-hawk (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
bumpy-azure-hawk is an npm package that is part of the tea.xyz token reward campaign. This package is designed to facilitate token rewards for developers by generating and publishing derivative packages. However, it has been identified as containing malicious code that compromises the integrity of the npm registry.
Vulnerability Detail
The vulnerability originates from the package's malicious payload, which modifies the package.json file to remove private flags, alters version numbers, and generates random package names. This behavior is intended to inflate developer reputation scores and pollute the npm registry with numerous derivative packages. The ramifications include potential security risks for users who unknowingly install these compromised packages, leading to further exploitation.
How To Fix
This package is malicious. Remove it and rotate any credentials it could have accessed.
npm uninstall bumpy-azure-hawk
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, users can avoid using the bumpy-azure-hawk package until a secure version is released. Additionally, consider using alternative packages that provide similar functionality without the associated risks.
Conclusion
The bumpy-azure-hawk package poses a significant risk due to its malicious code that alters package metadata and floods the npm registry. Users are advised to update or remove the package and utilize tools like Vulert for ongoing vulnerability monitoring.
See every vulnerability recorded for bumpy-azure-hawk →
FAQ
bumpy-azure-hawk is an npm package involved in the tea.xyz token reward campaign, designed to generate and publish derivative packages.
The malicious code modifies your package.json file, potentially leading to security vulnerabilities and the pollution of the npm registry.
If you have installed bumpy-azure-hawk, it is recommended to update to a patched version or remove the package entirely.
You can use Vulert, which monitors and alerts for open-source vulnerabilities in real-time using just package-lock.json. Check your application using the Vulert playground at Vulert Scanner.
Regularly audit your dependencies and use tools like Vulert to monitor for vulnerabilities in your open-source packages.