Malicious Code Injection in initial_squid_z3n Package
Summary
MAL-2025-104202: Malicious code in initial_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 initial_squid_z3n package is part of the npm ecosystem and is associated with the tea.xyz token reward campaign. It is designed to facilitate token rewards for developers by generating and publishing derivative packages. However, this package has been identified as malicious, containing scripts that manipulate package metadata and inflate developer reputation scores.
Vulnerability Detail
The vulnerability in the initial_squid_z3n package stems from its malicious payload, which modifies the package.json file to remove private flags, alters version numbers, and generates random package names. This behavior leads to the continuous republishing of variants, polluting the npm registry and potentially compromising the integrity of the ecosystem. The origin of this vulnerability is linked to the tea.xyz token reward campaign, which incentivizes such malicious practices.
How To Fix
This package is malicious. Remove it and rotate any credentials it could have accessed.
npm uninstall initial_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 measure, you can avoid using the initial_squid_z3n package and monitor your project for any dependencies that may indirectly include it. Regularly check your package-lock.json file for any signs of this package and remove it if found.
Conclusion
The initial_squid_z3n package poses a significant risk due to its malicious code that alters package metadata and floods the npm registry. It is crucial to remove this package from your dependencies and monitor your project for any related vulnerabilities.
See every vulnerability recorded for initial_squid_z3n →
FAQ
The initial_squid_z3n package is an npm package associated with the tea.xyz token reward campaign, designed to generate and publish derivative packages.
The vulnerability can lead to the pollution of the npm registry and compromise the integrity of your project's dependencies, potentially introducing further security risks.
You can use Vulert, which monitors and alerts for open-source vulnerabilities in real-time. Visit Vulert Scanner to check your application without any signup.
You should uninstall the package immediately using the command: npm uninstall initial_squid_z3n, and monitor your project for any further issues.
Currently, there are no specific patches for the initial_squid_z3n package. The best course of action is to remove it from your project.