Malicious Code Injection in initial_mackerel_z3n Package
Summary
MAL-2025-104201: Malicious code in initial_mackerel_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_mackerel_z3n package is part of the npm ecosystem and is associated with the tea.xyz token reward campaign. This package is designed to facilitate the automatic generation and publication of derivative packages, which are often used to inflate developer reputation scores for token rewards. Its functionality is compromised due to the presence of malicious scripts that manipulate package metadata.
Vulnerability Detail
This vulnerability originates from malicious code embedded in the initial_mackerel_z3n package. The code modifies the package.json file to remove private flags, alters version numbers, and generates random package names, leading to the continuous republishing of variants that pollute the npm registry. The ramifications include potential security risks for developers and users who may unknowingly install these compromised packages, as well as damage to the integrity of the npm ecosystem.
How To Fix
This package is malicious. Remove it and rotate any credentials it could have accessed.
npm uninstall initial_mackerel_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 initial_mackerel_z3n package from your project by executing the following command: npm uninstall initial_mackerel_z3n. This will prevent any malicious code from executing until a secure version is available.
Conclusion
The initial_mackerel_z3n package contains a significant vulnerability due to embedded malicious code that alters package metadata and can lead to security risks. It is crucial to update or remove the package to protect your project from potential threats.
See every vulnerability recorded for initial_mackerel_z3n →
FAQ
The initial_mackerel_z3n package is an npm package associated with the tea.xyz token reward campaign, designed to automate the generation and publication of derivative packages.
The vulnerability can lead to the installation of malicious code that modifies your project's package.json file, potentially compromising your application's security and integrity.
You can use Vulert, which monitors and alerts for open-source vulnerabilities in real-time. By utilizing the Vulert playground, you can check if your application is affected without any signup.
If an immediate update is not possible, consider uninstalling the package as a temporary measure to mitigate the risk of malicious code execution.
Detailed information about this vulnerability can be found in the official npm registry and security advisories related to the initial_mackerel_z3n package.