Malicious Code Injection in Cuddly Pigeon Z3N Package
Summary
MAL-2025-101138: Malicious code in cuddly_pigeon_z3n (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
Cuddly Pigeon Z3N is an npm package that appears to be part of a token reward campaign associated with the tea.xyz protocol. Its primary function is to facilitate the generation and publication of derivative packages. However, it has been exploited to include malicious scripts that compromise the integrity of the npm registry.
Vulnerability Detail
The vulnerability originates from the inclusion of malicious code in the cuddly_pigeon_z3n package, which modifies the package.json file to remove private flags, alters version numbers, and generates random package names. This behavior is designed to inflate developer reputation scores and pollute the npm registry with numerous derivative packages. The ramifications include potential security risks for developers who unknowingly use these compromised packages, as well as a degradation of the npm ecosystem's reliability.
How To Fix
This package is malicious. Remove it and rotate any credentials it could have accessed.
npm uninstall cuddly_pigeon_z3n
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 cuddly_pigeon_z3n package and look for alternative packages that provide similar functionality without the associated risks.
Conclusion
The cuddly_pigeon_z3n package has been identified as containing malicious code that poses a significant risk to developers and the npm ecosystem. It is crucial to remove this package from your projects and monitor for any similar vulnerabilities to maintain the integrity of your software.
See every vulnerability recorded for cuddly_pigeon_z3n →
FAQ
Cuddly Pigeon Z3N is an npm package involved in a token reward campaign, which has been compromised to include malicious scripts.
The malicious code can modify your package.json file, remove private flags, and publish unauthorized derivative packages, potentially compromising your project's integrity.
You should uninstall the cuddly_pigeon_z3n package immediately using 'npm uninstall cuddly_pigeon_z3n' and check for any unauthorized changes in your project.
Yes, you should look for other npm packages that provide similar functionality without the associated risks of malicious code.
You can use Vulert, which monitors and alerts you in real-time for open-source vulnerabilities in your software by analyzing your package-lock.json file. You can also check if your application is affected by this vulnerability using the Vulert playground without any signup.