Malicious Code Injection in electrical_tortoise_z3n Package - npm Vulnerability
Summary
MAL-2025-94212: Malicious code in electrical_tortoise_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 electrical_tortoise_z3n package is part of the npm ecosystem, typically used for various development purposes. 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 originates from the malicious intent behind the electrical_tortoise_z3n package, which is linked to 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 pollution of the npm registry and can compromise the integrity of applications relying on this package.
How To Fix
This package is malicious. Remove it and rotate any credentials it could have accessed.
npm uninstall electrical_tortoise_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 avoid using the electrical_tortoise_z3n package and any packages that depend on it. Additionally, consider using a package-lock.json file to monitor your dependencies and ensure that no malicious packages are included.
Conclusion
The electrical_tortoise_z3n package poses a significant security risk due to its malicious code designed to manipulate npm registry data. It is essential to remove this package and monitor your dependencies closely to maintain the integrity of your applications.
See every vulnerability recorded for electrical_tortoise_z3n →
FAQ
It is an npm package that has been identified as part of a malicious campaign to inflate developer reputation scores through automated publishing.
The vulnerability can lead to the inclusion of malicious code in your application, potentially compromising its security and integrity.
You can use Vulert, which monitors open-source vulnerabilities in your software. Visit Vulert Scanner to check your application without needing to sign up.
You should uninstall the electrical_tortoise_z3n package immediately and review your dependencies for any other malicious packages.
There are no patches available for the electrical_tortoise_z3n package, as it is recommended to remove it entirely from your project.