Malicious Code Injection in entitled_peacock_dumbs Package - npm Vulnerability
Summary
MAL-2025-102133: Malicious code in entitled_peacock_dumbs (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 entitled_peacock_dumbs package is part of a series of npm packages that emerged during the tea.xyz token reward campaign. These packages are designed to manipulate the npm registry by automatically generating and publishing derivative packages with randomized names. This behavior is intended to inflate developer reputation scores for token rewards, making the package a potential risk for developers using it.
Vulnerability Detail
The vulnerability in the entitled_peacock_dumbs package stems from its malicious payload, which modifies the package.json file to remove private flags, alters version numbers, and generates random package names. This can lead to the pollution of the npm registry, making it difficult for developers to find legitimate packages and potentially compromising their projects with untrusted code. The origin of this vulnerability is linked to the broader issue of malicious packages flooding the npm ecosystem, specifically targeting the tea protocol token rewards.
How To Fix
This package is malicious. Remove it and rotate any credentials it could have accessed.
npm uninstall entitled_peacock_dumbs
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 workaround, you can avoid using the entitled_peacock_dumbs package altogether. If you have already installed it, you can remove it using the command: npm uninstall entitled_peacock_dumbs. Additionally, consider using tools like Vulert to monitor your project for vulnerabilities in real-time.
Conclusion
The entitled_peacock_dumbs package poses a significant risk due to its malicious behavior aimed at manipulating the npm registry. Developers are advised to remove this package and monitor their projects for vulnerabilities using tools like Vulert to ensure the security and integrity of their applications.
See every vulnerability recorded for entitled_peacock_dumbs →
FAQ
It is an npm package that is part of a malicious campaign to inflate developer reputation scores by flooding the npm registry with derivative packages.
The vulnerability can lead to the introduction of untrusted code into your project, potentially compromising its integrity and security.
You should uninstall the entitled_peacock_dumbs package immediately and monitor your project for any other vulnerabilities.
You can use tools like Vulert, which allows you to monitor and alert for open-source vulnerabilities in your software using just the package-lock.json file.
Yes, you can use the Vulert playground at Vulert Scanner to check if your application is affected by this vulnerability without any signup.