Malicious Code Injection in external_flamingo_requirement Package
Summary
MAL-2025-94398: Malicious code in external_flamingo_requirement (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 external_flamingo_requirement package is an npm module that is part of the tea.xyz token reward campaign. It is designed to facilitate token rewards for developers by generating and publishing derivative packages. However, this package has been compromised, leading to significant security concerns.
Vulnerability Detail
The vulnerability originates from a malicious payload embedded within the external_flamingo_requirement package. This payload modifies the package.json file to remove private flags, alters version numbers, and generates random package names, which are then continuously republished to the npm registry. This behavior not only pollutes the npm ecosystem but also poses risks to developers who may unknowingly use these compromised packages, potentially leading to reputation damage and security breaches.
How To Fix
This package is malicious. Remove it and rotate any credentials it could have accessed.
npm uninstall external_flamingo_requirement
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 external_flamingo_requirement package from your project by executing the following command: npm uninstall external_flamingo_requirement. This will prevent any malicious code from executing while you assess the situation.
Conclusion
The external_flamingo_requirement package has been compromised, leading to the injection of malicious code that can affect developers and their projects. It is crucial to take immediate action by updating or removing the package and monitoring for any vulnerabilities using tools like Vulert.
See every vulnerability recorded for external_flamingo_requirement →
FAQ
It is an npm package associated with the tea.xyz token reward campaign, designed to generate and publish derivative packages.
The malicious code modifies your package.json file and can lead to the publication of compromised packages, affecting your project's integrity and security.
You should uninstall the package immediately and check for any other affected packages in your project.
Yes, you can use Vulert, which monitors and alerts you in real-time for open-source vulnerabilities using just your package-lock.json file.
You can use the Vulert playground at Vulert Scanner to check your application for vulnerabilities without needing to sign up.