Malicious Code Injection in proud_puffin_z3n: A Threat to npm Packages
Summary
MAL-2025-96089: Malicious code in proud_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 package 'proud_puffin_z3n' is part of a series of npm packages that emerged during the tea.xyz token reward campaign. These packages are designed to inflate developer reputation scores by automatically generating and publishing numerous derivative packages with randomized names. This behavior not only clutters the npm registry but also poses significant security risks to developers and users relying on these packages.
Vulnerability Detail
The vulnerability in 'proud_puffin_z3n' stems from its malicious code, which modifies the package.json file to remove private flags, alters version numbers, and generates random package names. This behavior is indicative of a broader trend where malicious actors exploit npm's ecosystem to publish harmful packages that can lead to reputation damage, security breaches, and potential data leaks. The origin of this vulnerability is linked to the tea.xyz token reward campaign, which aimed to manipulate npm's registry for token rewards.
How To Fix
This package is malicious. Remove it and rotate any credentials it could have accessed.
npm uninstall proud_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 avoid using the 'proud_puffin_z3n' package and replace it with a trusted alternative. Regularly audit your package dependencies using tools like npm audit to identify and mitigate vulnerabilities.
Conclusion
The 'proud_puffin_z3n' package poses a significant security threat due to its malicious code designed to manipulate the npm registry. It is crucial for developers to remain vigilant, regularly audit their dependencies, and utilize tools like Vulert to monitor for vulnerabilities. By taking proactive steps, developers can safeguard their applications and maintain the integrity of their software.
See every vulnerability recorded for proud_puffin_z3n →
FAQ
Using the proud_puffin_z3n package can lead to security vulnerabilities, including the potential for malicious code execution and data exposure.
You can use Vulert, which monitors and alerts for open-source vulnerabilities in your software. Visit Vulert Scanner to check your application without needing to sign up.
If you have installed the proud_puffin_z3n package, it is recommended to uninstall it immediately and review your project's dependencies for any other potentially harmful packages.
Yes, tools like npm audit and Vulert can help you identify and manage vulnerabilities in your npm packages.
Using compromised packages can lead to long-term security risks, including data breaches, loss of user trust, and potential legal ramifications.