Malicious Code Injection in fashionable_toad_z3n Package
Summary
MAL-2025-94451: Malicious code in fashionable_toad_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 fashionable_toad_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 identified as containing malicious code that can compromise the integrity of the npm registry.
Vulnerability Detail
The vulnerability in the fashionable_toad_z3n package originates from its malicious payload, which modifies the package.json file to remove private flags and alters version numbers. It generates random package names, primarily themed around Indonesian culture, and continuously republishes these variants to pollute the npm registry. This behavior can lead to a significant increase in spam packages, affecting the overall health of the npm ecosystem and potentially compromising user projects that rely on this package.
How To Fix
This package is malicious. Remove it and rotate any credentials it could have accessed.
npm uninstall fashionable_toad_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 fashionable_toad_z3n package by using npm's package-lock.json to monitor dependencies. You can also use the following command to uninstall the package: npm uninstall fashionable_toad_z3n.
Conclusion
The fashionable_toad_z3n package poses a significant risk due to its malicious code that alters package metadata and floods the npm registry with spam. It is essential to remove this package from your projects and monitor for any updates or patches. Utilizing tools like Vulert can help you stay informed about vulnerabilities in your dependencies.
See every vulnerability recorded for fashionable_toad_z3n →
FAQ
The fashionable_toad_z3n package is an npm package associated with a token reward campaign that generates and publishes derivative packages.
The malicious code modifies your package.json file and can lead to the proliferation of spam packages, potentially compromising your project's integrity.
You can use Vulert to monitor your application for vulnerabilities. By analyzing your package-lock.json, Vulert provides real-time alerts for any open-source vulnerabilities.
Yes, you can uninstall the fashionable_toad_z3n package using the command: npm uninstall fashionable_toad_z3n.
If you have installed the fashionable_toad_z3n package, it is crucial to uninstall it immediately and monitor your dependencies for any further vulnerabilities.