Malicious Code Injection in embarrassing_flea_z3n: A Threat to npm Packages
Summary
MAL-2025-102057: Malicious code in embarrassing_flea_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 embarrassing_flea_z3n is part of a series of npm packages that emerged during the tea.xyz token reward campaign. These packages are designed to manipulate the npm registry by automatically generating and publishing derivative packages with randomized names. This behavior aims to inflate developer reputation scores for rewards associated with the tea protocol, making it a potential threat to the integrity of the npm ecosystem.
Vulnerability Detail
The vulnerability in embarrassing_flea_z3n originates from its inclusion in a malicious campaign that utilizes autopublish scripts to alter package.json files. This manipulation removes private flags, changes version numbers, and generates random package names, leading to the pollution of the npm registry. The ramifications include compromised package integrity, potential security risks for users, and a degraded developer experience due to the overwhelming presence of spammy packages.
How To Fix
This package is malicious. Remove it and rotate any credentials it could have accessed.
npm uninstall embarrassing_flea_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 embarrassing_flea_z3n package and monitor your dependencies for any signs of malicious behavior. Additionally, consider using tools like Vulert to monitor your package-lock.json for vulnerabilities in real-time.
Conclusion
The embarrassing_flea_z3n package poses a significant risk due to its malicious code designed to manipulate the npm registry. It is crucial to remove this package from your projects and utilize tools like Vulert for ongoing monitoring of vulnerabilities to maintain the security and integrity of your applications.
See every vulnerability recorded for embarrassing_flea_z3n →
FAQ
embarrassing_flea_z3n is an npm package that is part of a malicious campaign aimed at inflating developer reputation scores through the automatic generation of spammy packages.
This vulnerability can compromise the integrity of your project by introducing malicious code and spammy packages into your npm registry, potentially leading to security risks.
You can use Vulert's playground at Vulert Scanner to check if your application is affected by this vulnerability without needing to sign up.
If you have installed embarrassing_flea_z3n, it is advisable to remove it immediately and monitor your project for any unusual behavior.
Yes, Vulert provides a service that monitors your package-lock.json for open-source vulnerabilities in real-time, helping you stay informed about potential threats.