Malicious Code Detected in territorial_limpet_z3n: A Threat to npm Packages
Summary
MAL-2025-96966: Malicious code in territorial_limpet_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 package territorial_limpet_z3n is part of a larger ecosystem of npm packages that have been associated with the tea.xyz token reward campaign. These packages are designed to inflate developer reputation scores by automatically generating and publishing derivative packages with randomized names. This behavior not only clutters the npm registry but also poses a risk to developers who may unknowingly use these compromised packages.
Vulnerability Detail
The vulnerability in territorial_limpet_z3n originates from its malicious intent to modify the package.json file by removing private flags and altering version numbers. It generates random package names, primarily themed around Indonesian culture, and continuously republishes these variants to pollute the npm registry. This can lead to security risks for developers who may inadvertently install these malicious packages, compromising their applications and potentially exposing sensitive data.
How To Fix
This package is malicious. Remove it and rotate any credentials it could have accessed.
npm uninstall territorial_limpet_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 territorial_limpet_z3n package and any other packages associated with the tea.xyz token reward campaign. Regularly check your package-lock.json file for any unauthorized changes or additions.
Conclusion
The territorial_limpet_z3n package poses a significant threat due to its malicious behavior aimed at inflating developer reputation scores. It is essential to remove this package from your projects and utilize tools like Vulert to monitor for vulnerabilities in real-time. Staying vigilant and proactive in managing your dependencies will help safeguard your applications.
See every vulnerability recorded for territorial_limpet_z3n →
FAQ
territorial_limpet_z3n is an npm package that has been identified as malicious, designed to inflate developer reputation scores through the automatic generation of derivative packages.
You can use Vulert, which monitors and alerts for open-source vulnerabilities in your software using just the package-lock.json file. Visit the Vulert playground at Vulert Scanner to check if your application is affected.
If you have installed territorial_limpet_z3n, you should uninstall it immediately using the command npm uninstall territorial_limpet_z3n and review your other dependencies for any similar vulnerabilities.
Using territorial_limpet_z3n can lead to security vulnerabilities in your application, including the risk of exposing sensitive data and compromising the integrity of your software.
To prevent similar vulnerabilities, regularly update your dependencies, use trusted packages, and monitor your project for any unauthorized changes using tools like Vulert.