Malicious Code Injection in old_parrot-apptea Package
Summary
MAL-2025-106717: Malicious code in old_parrot-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 old_parrot-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 functionality of this package is compromised due to its malicious intent, posing a significant risk to developers and the integrity of the npm registry.
Vulnerability Detail
The vulnerability in the old_parrot-apptea package stems from its inclusion in a campaign that utilizes autopublish scripts to create and publish numerous derivative packages. These scripts modify the package.json file to remove private flags, alter version numbers, and generate random package names, which leads to pollution of the npm registry. The malicious payload can potentially compromise the security of applications relying on this package, as it undermines the trustworthiness of the npm ecosystem.
How To Fix
This package is malicious. Remove it and rotate any credentials it could have accessed.
npm uninstall old_parrot-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 measure, you can avoid using the old_parrot-apptea package and replace it with a trusted alternative. Additionally, you can use the following command to uninstall the package: npm uninstall old_parrot-apptea.
Conclusion
The old_parrot-apptea package presents a significant security risk due to its malicious code designed to manipulate npm registry integrity. It is crucial for developers to remove this package and monitor their applications for vulnerabilities. Utilizing tools like Vulert can aid in maintaining the security of your software.
See every vulnerability recorded for old_parrot-apptea →
FAQ
The old_parrot-apptea package is part of a malicious campaign that floods the npm registry with derivative packages designed to inflate developer reputation scores.
This vulnerability can compromise the integrity of your application by introducing malicious code and polluting the npm registry, which may lead to security risks.
You can use Vulert, which monitors and alerts for open-source vulnerabilities in real-time. By analyzing your package-lock.json file, Vulert can help you identify vulnerabilities without requiring code access.
Yes, you can use the Vulert playground at Vulert Scanner to check if your application is affected by this vulnerability without needing to sign up.
If immediate removal is not possible, ensure to monitor your application closely for any unusual behavior and consider implementing additional security measures.