Malicious Code Injection in bloody_leopard-appteadev Package
Summary
MAL-2025-100019: Malicious code in bloody_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 bloody_leopard-appteadev package is part of the npm ecosystem, primarily used for application development. It is associated with the tea.xyz token reward campaign, which has been known to flood the npm registry with packages that inflate developer reputation scores. This package, like others in the campaign, is designed to automatically generate and publish derivative packages, making it susceptible to malicious code injection.
Vulnerability Detail
The vulnerability originates from a malicious payload embedded within the bloody_leopard-appteadev package. This payload modifies the package.json file by removing private flags, altering version numbers, and generating random package names. The intent is to continuously republish these variants, polluting the npm registry and potentially compromising the integrity of other packages. The ramifications include a compromised npm registry, inflated developer reputations, and the risk of introducing further vulnerabilities into dependent applications.
How To Fix
This package is malicious. Remove it and rotate any credentials it could have accessed.
npm uninstall bloody_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 the affected package by using npm's package-lock.json file to lock your dependencies. Ensure that your project does not include the bloody_leopard-appteadev package and monitor your dependencies regularly.
Conclusion
The bloody_leopard-appteadev package contains a serious vulnerability that can compromise the integrity of your application and the npm registry. It is crucial to uninstall this package and monitor your dependencies for any further issues. Utilizing tools like Vulert can help you stay informed about potential vulnerabilities in your projects.
See every vulnerability recorded for bloody_leopard-appteadev →
FAQ
It is an npm package associated with the tea.xyz token reward campaign, which has been found to contain malicious code.
The malicious code modifies your package.json file and can lead to the pollution of the npm registry, potentially compromising your application.
You should uninstall the package immediately and check for any other affected dependencies.
Yes, you can use Vulert, which monitors your package-lock.json file for open-source vulnerabilities in real-time without requiring code access.
You can use the Vulert playground at Vulert Scanner to check your application for vulnerabilities without needing to sign up.