Malicious Code Exploit in firm_panda-apptea: npm Package Vulnerability
Summary
MAL-2025-102740: Malicious code in firm_panda-apptea (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 firm_panda-apptea package is part of the tea.xyz token reward campaign, which has been known to flood the npm ecosystem with malicious packages. These packages are designed to manipulate developer reputation scores by automatically generating and publishing derivative packages with randomized names. The primary functionality of this package revolves around incentivizing developers through token rewards, but it has been compromised to execute harmful scripts.
Vulnerability Detail
The vulnerability originates from the inclusion of malicious code within the firm_panda-apptea 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 ramifications include potential security risks for developers who unknowingly install these packages, as they may inadvertently contribute to the malicious ecosystem and face reputational damage.
How To Fix
This package is malicious. Remove it and rotate any credentials it could have accessed.
npm uninstall firm_panda-apptea
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 use the following command to prevent the installation of the malicious package: 'npm install --no-optional firm_panda-apptea'. However, this does not eliminate the risk entirely, and it is recommended to remove the package completely.
Conclusion
The firm_panda-apptea package has been identified as containing malicious code that poses significant risks to developers and their projects. It is crucial to remove this package and monitor for similar vulnerabilities in the future. Utilizing tools like Vulert can help maintain the security of your applications.
See every vulnerability recorded for firm_panda-apptea →
FAQ
firm_panda-apptea is an npm package that is part of a token reward campaign, but it has been compromised to include malicious code.
The malicious code modifies your package.json, removes private flags, and continuously republishes variants, potentially leading to security risks and reputation damage.
You should uninstall the package immediately using 'npm uninstall firm_panda-apptea' and check for any dependencies that may be affected.
You can use tools like 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 by this vulnerability without any signup.