Malicious Code Injection in xeric_echidna_z3n: A Threat to npm Users
Summary
MAL-2025-97452: Malicious code in xeric_echidna_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
xeric_echidna_z3n is an npm package that has been identified as part of a malicious campaign targeting the npm registry. This package is designed to automate the generation and publishing of derivative packages, which can lead to reputation inflation for developers involved in the tea.xyz token reward scheme. The package's functionality includes modifying its own metadata and creating numerous variants, which can clutter the npm registry and pose security risks to users.
Vulnerability Detail
The vulnerability in xeric_echidna_z3n stems from its malicious code that alters the package.json file by removing private flags, changing version numbers, and generating random package names. This behavior is indicative of a broader trend where malicious packages are used to inflate developer reputation scores for token rewards. The ramifications include potential exposure to further malicious activities, as well as the pollution of the npm registry with unwanted packages, which can complicate dependency management for developers.
How To Fix
This package is malicious. Remove it and rotate any credentials it could have accessed.
npm uninstall xeric_echidna_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 xeric_echidna_z3n package from your project to prevent any malicious activity. Use the following command to uninstall the package: npm uninstall xeric_echidna_z3n. Additionally, consider using tools like Vulert to monitor your project for vulnerabilities without needing to access the code directly.
Conclusion
The xeric_echidna_z3n package poses a significant threat due to its malicious code designed to manipulate package metadata and inflate developer reputation scores. It is essential for developers to take immediate action by removing the package and monitoring their projects for vulnerabilities. Utilizing tools like Vulert can provide additional security measures.
See every vulnerability recorded for xeric_echidna_z3n →
FAQ
xeric_echidna_z3n is an npm package that has been identified as part of a malicious campaign aimed at inflating developer reputation scores through automated package publishing.
The vulnerability can lead to the introduction of malicious code into your project, potentially compromising its security and integrity.
If you have installed xeric_echidna_z3n, it is crucial to uninstall it immediately and monitor your project for any signs of compromise.
Yes, Vulert can monitor your project for open-source vulnerabilities using just the package-lock.json file, providing real-time alerts without requiring code access.
You can use the Vulert playground at Vulert Scanner to check if your application is affected by this vulnerability without needing to sign up.