Malicious Code Injection in Promising Peafowl 0xRequest Package
Summary
MAL-2025-107350: Malicious code in promising_peafowl_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 'promising_peafowl_0xrequest' package is part of the npm ecosystem and is associated with the tea.xyz token reward campaign. It is designed to facilitate token rewards for developers by generating and publishing derivative packages. However, this package has been identified as malicious, containing scripts that manipulate package metadata and flood the npm registry with unwanted variants.
Vulnerability Detail
This vulnerability originates from the malicious intent behind the package, which includes scripts that modify the package.json file to remove private flags, alter version numbers, and generate random package names. The continuous republishing of these variants can lead to pollution of the npm registry, affecting developers' ability to find legitimate packages and potentially compromising their projects.
How To Fix
This package is malicious. Remove it and rotate any credentials it could have accessed.
npm uninstall promising_peafowl_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
There are no direct workarounds for this vulnerability other than removing the affected package. Ensure that your project does not depend on this package to avoid any potential risks.
Conclusion
The 'promising_peafowl_0xrequest' package poses a significant risk due to its malicious code that alters package metadata and floods the npm registry. It is crucial for developers to remove this package from their projects and utilize tools like Vulert to monitor for any potential vulnerabilities in their applications.
See every vulnerability recorded for promising_peafowl_0xrequest →
FAQ
It is an npm package that is part of a token reward campaign but has been identified as malicious due to its harmful scripts.
The vulnerability can lead to the pollution of the npm registry, making it difficult to find legitimate packages and potentially compromising your project's integrity.
You should uninstall the package immediately using 'npm uninstall promising_peafowl_0xrequest' to mitigate any risks.
No, the package is considered malicious and should be removed rather than patched.
You can use Vulert, which monitors and alerts for open-source vulnerabilities in real-time using just your package-lock.json. You can check your application for vulnerabilities without signup at the Vulert playground.