Malicious Code Injection in retail_flyingfish-appteadev: A Threat to npm Packages
Summary
MAL-2025-107984: Malicious code in retail_flyingfish-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 package retail_flyingfish-appteadev is part of the npm ecosystem, which is widely used for JavaScript development. This package has been identified as part of a malicious campaign that aims to exploit npm's package publishing system. The vulnerability arises from the package's ability to modify its own metadata and publish derivative packages, which can lead to a polluted npm registry and potential security risks for developers using these packages.
Vulnerability Detail
The vulnerability in retail_flyingfish-appteadev originates from its association with the tea.xyz token reward campaign. This campaign has led to the creation of numerous malicious npm packages that contain scripts designed to automatically publish variants of themselves with altered metadata. The malicious payload modifies the package.json file by removing private flags, changing version numbers, and generating random package names. This behavior can inflate developer reputation scores fraudulently and lead to the proliferation of potentially harmful packages in the npm registry.
How To Fix
This package is malicious. Remove it and rotate any credentials it could have accessed.
npm uninstall retail_flyingfish-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 avoid using the retail_flyingfish-appteadev package altogether. If you have already installed it, you can uninstall it using the command: npm uninstall retail_flyingfish-appteadev. Additionally, consider using tools like Vulert to monitor your project for vulnerabilities in real-time.
Conclusion
The retail_flyingfish-appteadev package poses a significant risk due to its malicious behavior of modifying and republishing itself. It is crucial for developers to be aware of this vulnerability and take necessary actions to protect their projects. Regular monitoring and using tools like Vulert can help mitigate such risks in the future.
See every vulnerability recorded for retail_flyingfish-appteadev →
FAQ
retail_flyingfish-appteadev is an npm package that has been identified as part of a malicious campaign aimed at exploiting the npm registry.
The vulnerability can lead to the proliferation of malicious packages in your project, potentially compromising security and integrity.
You should uninstall the package immediately and monitor your project for any further vulnerabilities.
Using tools like Vulert can help monitor your project for open-source vulnerabilities in real-time, allowing you to take action quickly.
You can use the Vulert playground at Vulert Scanner to check if your application is affected without needing to sign up.