Malicious Code Injection in aggregate_sailfish_z3n Package
Summary
MAL-2025-93169: Malicious code in aggregate_sailfish_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 aggregate_sailfish_z3n package is part of the npm ecosystem and is associated with the tea.xyz token reward campaign. This package is designed to facilitate token rewards through the generation and publication of derivative packages. However, it has been identified as containing malicious code that compromises its integrity and the security of the npm registry.
Vulnerability Detail
The vulnerability stems from the presence of malicious scripts within the aggregate_sailfish_z3n package. These scripts are designed to automatically modify the package.json file, removing private flags, altering version numbers, and generating random package names. This behavior leads to the continuous republishing of variants, which pollutes the npm registry and can inflate developer reputation scores fraudulently. The malicious payload poses a significant risk to developers and users relying on 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 aggregate_sailfish_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 workaround, you can avoid using the aggregate_sailfish_z3n package and look for alternative packages that provide similar functionality without the associated risks. Additionally, you can monitor your dependencies using tools like Vulert, which alerts you to open-source vulnerabilities in real-time.
Conclusion
The aggregate_sailfish_z3n package contains malicious code that compromises the integrity of the npm ecosystem. It is crucial to remove this package from your project and monitor your dependencies for vulnerabilities using tools like Vulert to ensure ongoing security.
See every vulnerability recorded for aggregate_sailfish_z3n →
FAQ
The aggregate_sailfish_z3n package is an npm package associated with the tea.xyz token reward campaign, designed to generate and publish derivative packages.
The malicious code modifies your package.json file, removes private flags, and generates random package names, which can lead to security vulnerabilities and pollution of the npm registry.
If you have installed the aggregate_sailfish_z3n package, you should uninstall it immediately using the command npm uninstall aggregate_sailfish_z3n.
Currently, there is no patched version available for the aggregate_sailfish_z3n package, so it is recommended to remove it from your project.
You can use Vulert to monitor your dependencies for vulnerabilities. It analyzes your package-lock.json file to alert you in real-time about any open-source vulnerabilities.