Malicious Code Vulnerability in agreeable_heron_0xrequest Package
Summary
MAL-2025-99259: Malicious code in agreeable_heron_0xrequest (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 agreeable_heron_0xrequest package is part of the npm ecosystem and is associated with the tea.xyz token reward campaign. This package is designed to facilitate token rewards but has been compromised to include malicious scripts that manipulate package metadata. Its primary function is to generate and publish derivative packages, which can lead to reputation inflation for developers involved in the tea protocol.
Vulnerability Detail
The vulnerability originates from the inclusion of malicious code within the agreeable_heron_0xrequest package. This code modifies the package.json file to remove private flags, alters version numbers, and generates random package names, ultimately leading to the pollution of the npm registry. The malicious payload is designed to automatically republish variants of the package, which can compromise the integrity of the npm ecosystem and potentially expose users to further security risks.
How To Fix
This package is malicious. Remove it and rotate any credentials it could have accessed.
npm uninstall agreeable_heron_0xrequest
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 prevent the installation of the compromised package by using the following command to uninstall it: npm uninstall agreeable_heron_0xrequest. Additionally, consider using package-lock.json to monitor for vulnerabilities in your dependencies.
Conclusion
The agreeable_heron_0xrequest package contains a significant vulnerability due to malicious code that alters package metadata and can lead to npm registry pollution. It is crucial to update or remove the package to protect your project from potential risks.
See every vulnerability recorded for agreeable_heron_0xrequest →
FAQ
It is an npm package associated with the tea.xyz token reward campaign, designed to generate and publish derivative packages.
The malicious code modifies your package.json, removes private flags, and can lead to the pollution of the npm registry, affecting the integrity of your project.
You should update the package to a patched version if available or uninstall it to mitigate the risk.
Yes, you can use Vulert, which monitors and alerts for open-source vulnerabilities in real-time using your package-lock.json.
You can use the Vulert playground at Vulert Scanner to check for vulnerabilities without needing to sign up.