Malicious Code Injection in eastern_cricket_z3n: A Threat to npm Ecosystem
Summary
MAL-2025-94159: Malicious code in eastern_cricket_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 eastern_cricket_z3n 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 such packages is to manipulate developer reputation scores through automated publishing scripts, which can lead to significant security risks.
Vulnerability Detail
The vulnerability in eastern_cricket_z3n stems from its inclusion in a campaign that deploys malicious scripts designed to alter package.json files. These scripts remove private flags, change version numbers, and generate random package names, thereby polluting the npm registry. The malicious payload can lead to unauthorized access, reputation damage for developers, and a compromised npm ecosystem, as it encourages the proliferation of untrustworthy packages.
How To Fix
This package is malicious. Remove it and rotate any credentials it could have accessed.
npm uninstall eastern_cricket_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 eastern_cricket_z3n package from your project until a secure version is released. Use the following command to uninstall it: npm uninstall eastern_cricket_z3n. Additionally, consider using tools like Vulert to monitor your project for vulnerabilities without needing to access the code directly.
Conclusion
The eastern_cricket_z3n package poses a significant security risk due to its malicious code that alters critical package files. It is vital for developers to stay informed about such vulnerabilities and take proactive measures to secure their projects. Regularly updating packages and utilizing tools like Vulert can help mitigate these risks.
See every vulnerability recorded for eastern_cricket_z3n →
FAQ
The vulnerability involves malicious code that alters package.json files, removing private flags and changing version numbers, which can lead to security risks.
You can use Vulert's playground at Vulert Scanner to check if your application is affected by this vulnerability without requiring any signup.
Consequences include unauthorized access to your project, damage to your developer reputation, and the risk of your application being compromised due to the proliferation of untrustworthy packages.
As of now, there is no specific patch mentioned. It is essential to monitor the package repository for updates and apply them as soon as they are released.
If immediate updates are not possible, consider uninstalling the package and using alternative solutions while monitoring for any updates regarding the vulnerability.