Malicious Code Injection in normal_peafowl-smiletea Package
Summary
MAL-2025-106373: Malicious code in normal_peafowl-smiletea (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 normal_peafowl-smiletea 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 for developers by automatically generating and publishing derivative packages. However, it has been identified as containing malicious code that compromises its integrity and the security of the npm registry.
Vulnerability Detail
The vulnerability originates from the package's design to inflate developer reputation scores through the automatic generation of derivative packages. It includes scripts that modify the package.json file by removing private flags, altering version numbers, and creating random package names. This behavior leads to the pollution of the npm registry and can potentially expose users to further malicious activities.
How To Fix
This package is malicious. Remove it and rotate any credentials it could have accessed.
npm uninstall normal_peafowl-smiletea
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 remove the normal_peafowl-smiletea package from your project by executing the command: npm uninstall normal_peafowl-smiletea. This will prevent any malicious code from executing until a secure version is available.
Conclusion
The normal_peafowl-smiletea package has been identified as containing malicious code that compromises the integrity of the npm registry. It is crucial to update or remove this package to protect your project from potential security threats.
See every vulnerability recorded for normal_peafowl-smiletea →
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 file, potentially exposing your project to security risks and polluting the npm registry.
You can use Vulert to monitor and alert for open-source vulnerabilities in your software. Visit Vulert Scanner to check your application without any signup.
Check the npm registry for any updated versions of the normal_peafowl-smiletea package that address this vulnerability.
As a temporary measure, uninstall the package using the command: npm uninstall normal_peafowl-smiletea to mitigate risks.