Malicious Code Injection in Managing Puffin Z3N Package
Summary
MAL-2025-105592: Malicious code in managing_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 managing_puffin_z3n package is part of the npm ecosystem and has been associated with the tea.xyz token reward campaign. This package is designed to facilitate the generation and publication of derivative packages, often with randomized names, to inflate developer reputation scores for token rewards. Its functionality is compromised due to the presence of malicious code that alters package metadata.
Vulnerability Detail
The vulnerability originates from the managing_puffin_z3n package, which contains malicious scripts that modify the package.json file. These scripts remove private flags, alter version numbers, and generate random package names, leading to the continuous republishing of variants that pollute the npm registry. This not only affects the integrity of the npm ecosystem but also poses risks to developers who may unknowingly use these compromised packages.
How To Fix
This package is malicious. Remove it and rotate any credentials it could have accessed.
npm uninstall managing_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 temporary workaround, you can remove the managing_puffin_z3n package from your project by executing: 'npm uninstall managing_puffin_z3n'. This will prevent any malicious code from executing in your environment until a secure version is available.
Conclusion
The managing_puffin_z3n package contains a significant vulnerability due to malicious code that alters package metadata and pollutes the npm registry. It is essential to take immediate action by updating or uninstalling the package to protect your project from potential risks.
See every vulnerability recorded for managing_puffin_z3n →
FAQ
Managing_puffin_z3n is an npm package associated with the tea.xyz token reward campaign, designed to generate and publish derivative packages.
The vulnerability can lead to the modification of your package.json file, potentially exposing your project to further risks and polluting the npm registry.
You should check the npm registry or the package's repository for any updates or patches that address this vulnerability.
You can use Vulert, which monitors and alerts for open-source vulnerabilities in your software using just package-lock.json. You can check if your application is affected by this vulnerability using the Vulert playground.
If you have used the managing_puffin_z3n package, it is recommended to uninstall it immediately and monitor your project for any unusual behavior.