Malicious Code Injection in structural_anaconda_z3n Package
Summary
MAL-2025-109208: Malicious code in structural_anaconda_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 structural_anaconda_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 can inflate developer reputation scores for token rewards. However, it has been compromised to include malicious scripts that alter package metadata and republish variants to the npm registry.
Vulnerability Detail
The vulnerability in the structural_anaconda_z3n package stems from its inclusion in a malicious campaign that modifies the package.json file to remove private flags and change version numbers. This allows the package to continuously generate and publish variants with randomized names, polluting the npm registry. The malicious payload can lead to reputation damage for developers and potential security risks for users who inadvertently install these compromised packages.
How To Fix
This package is malicious. Remove it and rotate any credentials it could have accessed.
npm uninstall structural_anaconda_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 structural_anaconda_z3n package altogether. If it is already installed, you can uninstall it with the following command: npm uninstall structural_anaconda_z3n.
Conclusion
The structural_anaconda_z3n package is compromised with malicious code that can affect your project's integrity and reputation. It is crucial to remove this package and monitor your dependencies for vulnerabilities to maintain a secure development environment.
See every vulnerability recorded for structural_anaconda_z3n →
FAQ
The structural_anaconda_z3n package is an npm package associated with a token reward campaign that automates the generation and publication of packages.
This vulnerability can lead to the installation of malicious code that modifies your project's package metadata and can potentially harm your project's reputation.
If you have installed the structural_anaconda_z3n package, you should uninstall it immediately and monitor your project for any unusual behavior.
Yes, you can use Vulert, which monitors and alerts in real-time for open-source vulnerabilities using just your package-lock.json file. You can also check your application for vulnerabilities using the Vulert playground without any signup.
Regularly update your dependencies and use tools like Vulert to monitor for vulnerabilities in your open-source packages.