Malicious Code Injection in leading_squid_z3n Package
Summary
MAL-2025-95203: Malicious code in leading_squid_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 leading_squid_z3n package is part of the npm ecosystem, typically used for various JavaScript applications. It is associated with the tea.xyz token reward campaign, which has been known to flood npm with packages that contain malicious scripts. These scripts are designed to manipulate package metadata and inflate developer reputation scores for token rewards, making the package particularly vulnerable to exploitation.
Vulnerability Detail
The vulnerability in the leading_squid_z3n package originates from its association with the tea.xyz token reward campaign. The malicious code embedded within the package modifies the package.json file by removing private flags, altering version numbers, and generating random package names. This results in the continuous republishing of variants, which pollutes the npm registry and can lead to significant security risks for developers who unknowingly use these compromised packages.
How To Fix
This package is malicious. Remove it and rotate any credentials it could have accessed.
npm uninstall leading_squid_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 leading_squid_z3n package until a secure version is released. Additionally, you can monitor your package-lock.json file for any unauthorized changes that may indicate the presence of malicious code.
Conclusion
The leading_squid_z3n package poses a significant security risk due to its malicious code that alters package metadata and repopulates the npm registry with compromised variants. It is crucial to take immediate action by updating or removing the package and utilizing tools like Vulert for ongoing monitoring.
See every vulnerability recorded for leading_squid_z3n →
FAQ
The leading_squid_z3n package is an npm package associated with the tea.xyz token reward campaign, often containing malicious scripts.
The malicious code modifies package metadata, potentially leading to the republishing of compromised packages and security vulnerabilities in your project.
You can use Vulert, which monitors and alerts for open-source vulnerabilities in your software. Check your application using the Vulert playground at Vulert Scanner without any signup.
If you have installed the leading_squid_z3n package, it is recommended to update it to the latest version or remove it from your project to prevent potential security risks.
Regularly monitor your dependencies using tools like Vulert, and ensure to review package metadata and community feedback before installation.