Malicious Code Injection in smart_toad_z3n: A Threat to npm Ecosystem
Summary
MAL-2025-108863: Malicious code in smart_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 smart_toad_z3n package is part of the npm ecosystem, which is widely used for JavaScript package management. This package, like many others, is intended to facilitate the development and distribution of JavaScript applications. However, it has been identified as part of a malicious campaign that aims to exploit npm's publishing mechanisms, leading to potential security risks for developers and users alike.
Vulnerability Detail
The vulnerability in smart_toad_z3n originates from its association with the tea.xyz token reward campaign, which has been linked to the distribution of malicious packages on npm. The malicious code within this package modifies the package.json file to remove private flags, alters version numbers, and generates random package names, thereby inflating developer reputation scores. This behavior can lead to the pollution of the npm registry, making it difficult for developers to trust the integrity of packages they use.
How To Fix
This package is malicious. Remove it and rotate any credentials it could have accessed.
npm uninstall smart_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 avoid using the smart_toad_z3n package and look for alternative packages that provide similar functionality without the associated risks. Always verify the integrity and reputation of packages before including them in your project.
Conclusion
The smart_toad_z3n package poses a significant risk due to its malicious code that alters package metadata and inflates developer reputation scores. It is essential for developers to remove this package and monitor their dependencies for vulnerabilities to maintain the integrity of their projects.
See every vulnerability recorded for smart_toad_z3n →
FAQ
smart_toad_z3n is an npm package that has been identified as part of a malicious campaign to exploit npm's publishing system.
The vulnerability can lead to the modification of your package.json file and the introduction of untrusted packages, compromising the security of your project.
You should uninstall the package immediately using npm uninstall smart_toad_z3n and check for any other affected packages.
You can use tools like Vulert, which monitors your package-lock.json file for open-source vulnerabilities in real-time without requiring code access or installation.
Yes, you can use the Vulert playground at Vulert Scanner to check if your application is affected by this vulnerability without any signup.