Malicious Code Vulnerability in different_peacock_0xrequest Package
Summary
MAL-2025-101559: Malicious code in different_peacock_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 different_peacock_0xrequest package is part of the npm ecosystem and is associated with the tea.xyz token reward campaign. This package is designed to facilitate the automatic generation and publication of derivative packages, which can inflate developer reputation scores. However, it has been identified as containing malicious code that compromises its integrity and the security of applications that depend on it.
Vulnerability Detail
The vulnerability originates from the malicious code embedded in the different_peacock_0xrequest package. It modifies the package.json file to remove private flags, alters version numbers, and generates random package names, which leads to the continuous republishing of variants that pollute the npm registry. This can result in significant security risks, including exposure to untrusted code and potential exploitation of applications that utilize this package.
How To Fix
This package is malicious. Remove it and rotate any credentials it could have accessed.
npm uninstall different_peacock_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 avoid using the different_peacock_0xrequest package and look for alternative packages that provide similar functionality without the associated risks.
Conclusion
The different_peacock_0xrequest package contains malicious code that poses significant security risks to applications. It is crucial to remove this package and monitor for any updates or patches. Utilizing tools like Vulert can help in identifying vulnerabilities in your software.
See every vulnerability recorded for different_peacock_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 can modify your package.json, remove private flags, and lead to the republishing of untrusted packages, posing security risks.
You can use Vulert, which monitors open-source vulnerabilities in your software. Visit Vulert Scanner to check your application without signup.
As a temporary measure, avoid using the different_peacock_0xrequest package and consider alternative packages.
Currently, there is no patched version available. The best course of action is to uninstall the package.