Malicious Code Detected in eerie_leopard-appteadev: npm Package Vulnerability
Summary
MAL-2025-101886: Malicious code in eerie_leopard-appteadev (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 eerie_leopard-appteadev package is part of the npm ecosystem and is associated with the tea.xyz token reward campaign. This package is designed to facilitate automatic publishing of derivative packages, which can inflate developer reputation scores in exchange for token rewards. However, it has been identified as containing malicious scripts that compromise the integrity of the npm registry.
Vulnerability Detail
The vulnerability stems from the presence of malicious code within the eerie_leopard-appteadev package. This code modifies the package.json file to remove private flags, alters version numbers, and generates random package names, leading to the continuous republishing of variants that pollute the npm registry. The origin of this issue is linked to a broader campaign that exploits npm for token rewards, posing risks such as reputation damage for developers and potential security threats to users of the affected packages.
How To Fix
This package is malicious. Remove it and rotate any credentials it could have accessed.
npm uninstall eerie_leopard-appteadev
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 this malicious package by using the following command to uninstall it: npm uninstall eerie_leopard-appteadev. Additionally, ensure that your package-lock.json file is monitored for any unauthorized changes.
Conclusion
The eerie_leopard-appteadev package has been identified as containing malicious code that poses significant risks to developers and users alike. It is crucial to take immediate action by updating or removing the package to safeguard your project. Utilizing tools like Vulert can further enhance your security by providing real-time monitoring for vulnerabilities.
See every vulnerability recorded for eerie_leopard-appteadev →
FAQ
eerie_leopard-appteadev is an npm package associated with the tea.xyz token reward campaign, designed for automatic publishing of derivative packages.
The malicious code modifies your package.json file, removes private flags, and generates random package names, which can lead to reputation damage and security vulnerabilities.
You can use Vulert, which monitors and alerts for open-source vulnerabilities in real-time. Visit the Vulert playground at Vulert Scanner to check your application without any signup.
Yes, regularly update your packages and monitor your package-lock.json file for unauthorized changes. Additionally, consider using tools like Vulert for real-time alerts.
If no patched version is available, it is advisable to remove the package from your project to mitigate any potential risks.