Malicious Code Injection in testy_loon_z3n Package
Summary
MAL-2025-109568: Malicious code in testy_loon_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 testy_loon_z3n package is part of the npm ecosystem, which is widely used for JavaScript development. This package is associated with the tea.xyz token reward campaign, which has been known to flood the npm registry with malicious packages. The primary function of this package is to facilitate token rewards, but it has been exploited to include harmful scripts that can compromise the integrity of the npm registry and developers' reputations.
Vulnerability Detail
The vulnerability in the testy_loon_z3n package stems from its inclusion in a campaign that generates and publishes derivative packages with randomized names. This malicious behavior modifies the package.json file to remove private flags, alters version numbers, and continuously republishes variants, leading to pollution of the npm registry. The origin of this vulnerability is linked to the tea.xyz token reward initiative, which incentivizes developers to inflate their reputation scores through deceptive practices.
How To Fix
This package is malicious. Remove it and rotate any credentials it could have accessed.
npm uninstall testy_loon_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 testy_loon_z3n package and any other packages associated with the tea.xyz token reward campaign. Monitor your package dependencies closely and consider using tools like Vulert to identify vulnerabilities in your project.
Conclusion
The testy_loon_z3n package presents a significant security risk due to its malicious code designed to manipulate package metadata and pollute the npm registry. It is crucial to remove this package from your projects and to stay vigilant about the dependencies you use. Utilizing tools like Vulert can help you maintain the security of your applications.
See every vulnerability recorded for testy_loon_z3n →
FAQ
The testy_loon_z3n package is an npm package that has been linked to a malicious campaign aimed at inflating developer reputation scores through the publication of derivative packages.
This vulnerability can compromise the integrity of your project by introducing malicious code that modifies your package.json file and pollutes the npm registry.
If you have installed the testy_loon_z3n package, you should uninstall it immediately using the command: npm uninstall testy_loon_z3n.
To prevent similar vulnerabilities, regularly audit your dependencies, use trusted sources for packages, and consider using tools like Vulert to monitor for vulnerabilities.
Vulert is a tool that monitors and alerts for open-source vulnerabilities in your software using just the package-lock.json file. You can check if your application is affected by this vulnerability using the Vulert playground without any signup.