Malicious Code Injection in ill_puffin_z3n Package - npm Vulnerability
Summary
MAL-2025-94920: Malicious code in ill_puffin_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
The ill_puffin_z3n package is part of the npm ecosystem, which is widely used for JavaScript package management. This package is associated with the tea.xyz token reward campaign, which has been known to flood the npm registry with malicious packages. The primary function of this package is to serve as a tool for developers, but it has been compromised to include harmful scripts that manipulate package metadata.
Vulnerability Detail
The vulnerability in the ill_puffin_z3n package stems from its inclusion in a campaign that generates and publishes derivative packages with malicious intent. The malicious code modifies the package.json file to remove private flags, alters version numbers, and creates random package names, leading to pollution of the npm registry. This can result in developers unintentionally using compromised packages, which can affect their applications' security and integrity.
How To Fix
This package is malicious. Remove it and rotate any credentials it could have accessed.
npm uninstall ill_puffin_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 workaround, you can monitor your project for any unintended dependencies that may have been introduced by the ill_puffin_z3n package. Regularly audit your npm packages using the command: npm audit This will help identify any vulnerabilities in your project.
Conclusion
The ill_puffin_z3n package poses a significant risk due to its malicious code designed to manipulate package metadata and pollute the npm registry. It is crucial for developers to remove this package and regularly audit their dependencies to maintain application security.
See every vulnerability recorded for ill_puffin_z3n →
FAQ
The ill_puffin_z3n package is an npm package that has been identified as malicious, part of a campaign to inflate developer reputation scores through the publication of compromised packages.
This vulnerability can lead to the inclusion of malicious code in your application, potentially compromising its security and integrity.
No, there is currently no patched version of the ill_puffin_z3n package available. The recommended action is to uninstall the package.
You can use tools like Vulert, which monitors your package-lock.json for vulnerabilities in real-time without requiring code access or installation.
If you discover other malicious packages, you should uninstall them immediately and audit your dependencies to ensure your application remains secure.