Malicious Code Injection in prior_lemur-appteadev Package
Summary
MAL-2025-107290: Malicious code in prior_lemur-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 prior_lemur-appteadev package is part of the npm ecosystem, often utilized in various JavaScript applications. It is associated with the tea.xyz token reward campaign, which has been known to flood the npm registry with malicious packages. This package is designed to automate the generation and publication of derivative packages, potentially compromising the integrity of the npm ecosystem.
Vulnerability Detail
The vulnerability in the prior_lemur-appteadev package stems from its malicious code that modifies 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 behavior can lead to reputation inflation for developers involved in the tea protocol token rewards, ultimately compromising the security and reliability of the npm ecosystem.
How To Fix
This package is malicious. Remove it and rotate any credentials it could have accessed.
npm uninstall prior_lemur-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 remove the prior_lemur-appteadev package from your project by executing the following command: npm uninstall prior_lemur-appteadev. This will prevent any malicious code from executing while you assess the situation.
Conclusion
The prior_lemur-appteadev package contains malicious code that poses a significant risk to applications using it. It is crucial to take immediate action by uninstalling the package and monitoring your dependencies for vulnerabilities. Utilizing tools like Vulert can help maintain the security of your software.
See every vulnerability recorded for prior_lemur-appteadev →
FAQ
It is an npm package associated with the tea.xyz token reward campaign, known for flooding the npm registry with malicious packages.
The malicious code modifies your package.json file, removes private flags, and can lead to the publication of compromised packages, affecting the integrity of your application.
You should uninstall the package immediately and check for any updates or patches that may address the vulnerability.
You can use tools like Vulert, which monitors and alerts for open-source vulnerabilities in your software using just the package-lock.json file.
Yes, you can use the Vulert playground at Vulert Scanner to check if your application is affected by this vulnerability without requiring any signup.