Malicious Code Injection in dear_lungfish_replicate_automation Package
Summary
MAL-2025-101240: Malicious code in dear_lungfish_replicate_automation (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 dear_lungfish_replicate_automation package is part of the npm ecosystem, primarily used for automation tasks related to the tea.xyz token reward campaign. This package, like others in its category, is designed to facilitate the automatic generation and publication of derivative packages. However, it has been identified as containing malicious code that compromises its integrity and the security of the npm registry.
Vulnerability Detail
The vulnerability stems from the presence of malicious code within the dear_lungfish_replicate_automation package. This code is designed to modify the package.json file by removing private flags, altering version numbers, and generating random package names, which can lead to the pollution of the npm registry. The malicious payload is part of a broader scheme to inflate developer reputation scores for token rewards, posing significant risks to developers and users relying on the npm ecosystem.
How To Fix
This package is malicious. Remove it and rotate any credentials it could have accessed.
npm uninstall dear_lungfish_replicate_automation
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 dear_lungfish_replicate_automation package altogether and look for alternative packages that provide similar functionality without the associated risks.
Conclusion
The dear_lungfish_replicate_automation package contains malicious code that poses a significant risk to users and the npm ecosystem. It is crucial to remove this package from your projects and monitor for any potential vulnerabilities using tools like Vulert. Staying informed and proactive can help maintain the security of your applications.
See every vulnerability recorded for dear_lungfish_replicate_automation →
FAQ
It is an npm package used for automation tasks related to the tea.xyz token reward campaign.
The malicious code modifies your package.json file, potentially leading to security vulnerabilities and pollution of the npm registry.
You should uninstall the package immediately and check for any dependencies that may be affected.
Yes, you can use Vulert, which monitors and alerts for open-source vulnerabilities in real-time using just package-lock.json.
You can use the Vulert playground at Vulert Scanner to check for vulnerabilities without needing to sign up.