Malicious Code Injection in basic_marmot-appteadev: npm Package Vulnerability
Summary
MAL-2025-99809: Malicious code in basic_marmot-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 basic_marmot-appteadev package is part of the npm ecosystem, primarily used for application development. It is designed to facilitate various development tasks but has been compromised by malicious actors. This package is associated with the tea.xyz token reward campaign, which has led to the proliferation of harmful scripts that manipulate package metadata and inflate developer reputation scores.
Vulnerability Detail
The vulnerability in basic_marmot-appteadev stems from its association with a malicious campaign that floods the npm registry with derivative packages. The malicious code modifies the package.json file by removing private flags, altering version numbers, and generating random package names. This results in the continuous republishing of these variants, which pollutes the npm registry and can lead to security risks for developers who unknowingly use these compromised packages.
How To Fix
This package is malicious. Remove it and rotate any credentials it could have accessed.
npm uninstall basic_marmot-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 basic_marmot-appteadev package from your project until a secure version is released. Use the command: 'npm uninstall basic_marmot-appteadev'. Additionally, consider using alternative packages that provide similar functionality without the associated risks.
Conclusion
The basic_marmot-appteadev package has been identified as containing malicious code that poses significant risks to developers. It is essential to take immediate action by updating or removing the package and utilizing tools like Vulert to monitor for vulnerabilities in your projects.
See every vulnerability recorded for basic_marmot-appteadev →
FAQ
It is an npm package used for application development, but it has been compromised by malicious code.
The malicious code modifies your package.json file, potentially leading to security vulnerabilities and pollution of the npm registry.
You should uninstall the package immediately and monitor for any updates or patches that may be released.
You can use Vulert, which monitors your package-lock.json for open-source vulnerabilities in real-time without requiring code access or installation.
Yes, you can use the Vulert playground at Vulert Scanner to check if your application is affected without signing up.