Malicious Code Injection in alone_trout_z3n Package - npm Vulnerability
Summary
MAL-2025-93201: Malicious code in alone_trout_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 'alone_trout_z3n' package is part of the npm ecosystem, often used in JavaScript applications for various functionalities. However, it has been identified as part of a malicious campaign that floods the npm registry with derivative packages. This package is designed to manipulate its own metadata and publish variants to inflate developer reputation scores for token rewards.
Vulnerability Detail
The vulnerability in the 'alone_trout_z3n' package originates from its association with the tea.xyz token reward campaign. It contains scripts that automatically modify the package.json file to remove private flags, alter version numbers, and generate random package names. This behavior leads to the continuous republishing of variants, polluting the npm registry and potentially compromising the integrity of applications that depend on it.
How To Fix
This package is malicious. Remove it and rotate any credentials it could have accessed.
npm uninstall alone_trout_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 prevent the installation of the 'alone_trout_z3n' package by using the following command to uninstall it: npm uninstall alone_trout_z3n. Additionally, consider using tools like Vulert to monitor your project for vulnerabilities.
Conclusion
The 'alone_trout_z3n' package poses a significant risk due to its malicious code that alters package metadata and floods the npm registry. It is essential to remove this package from your project and utilize tools like Vulert for ongoing monitoring of vulnerabilities.
See every vulnerability recorded for alone_trout_z3n →
FAQ
The 'alone_trout_z3n' package is an npm package that has been identified as part of a malicious campaign aimed at manipulating the npm registry.
This vulnerability can lead to the pollution of the npm registry, potentially compromising the integrity of your application and affecting its performance.
You should uninstall the 'alone_trout_z3n' package immediately and monitor your project for any further vulnerabilities.
Yes, you can use Vulert, which monitors and alerts you in real-time for open-source vulnerabilities using just your package-lock.json file.
Absolutely! You can use the Vulert playground at Vulert Scanner to check for vulnerabilities in your application without any signup.