Malicious Code Injection in gastric_flamingo-biggestdev Package
Summary
MAL-2025-103062: Malicious code in gastric_flamingo-biggestdev (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 gastric_flamingo-biggestdev package is part of a series of npm packages that have been linked to the tea.xyz token reward campaign. These packages are designed to manipulate npm's registry by automatically generating and publishing derivative packages with randomized names. This behavior is intended to inflate developer reputation scores in exchange for token rewards, making the package a target for malicious exploitation.
Vulnerability Detail
The vulnerability in the gastric_flamingo-biggestdev package stems from its malicious code that modifies the package.json file. This code removes private flags, alters version numbers, and generates random package names, leading to the continuous republishing of these variants. The origin of this vulnerability is tied to the tea.xyz token reward campaign, which floods the npm registry with these manipulated packages. The ramifications include pollution of the npm registry, potential security risks for developers using these packages, and a compromised reputation system within the npm ecosystem.
How To Fix
This package is malicious. Remove it and rotate any credentials it could have accessed.
npm uninstall gastric_flamingo-biggestdev
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 workaround, you can prevent the installation of this malicious package by using npm's audit feature to identify and remove it from your dependencies. Run the following command in your terminal: npm audit fix. This will help in identifying vulnerabilities and suggest fixes.
Conclusion
The gastric_flamingo-biggestdev package poses a significant risk due to its malicious code that alters package metadata and floods the npm registry. It is crucial for developers to remove this package and monitor their projects for vulnerabilities to maintain security and integrity.
See every vulnerability recorded for gastric_flamingo-biggestdev →
FAQ
It is an npm package associated with the tea.xyz token reward campaign, designed to manipulate npm's registry.
The malicious code modifies your package.json file, potentially leading to security vulnerabilities and pollution of the npm registry.
You should uninstall the gastric_flamingo-biggestdev package immediately to mitigate any risks associated with its malicious code.
Yes, you can use Vulert, which monitors and alerts for open-source vulnerabilities in real-time using just your package-lock.json file.
You can use the Vulert playground at Vulert Scanner to check for vulnerabilities without requiring any signup.