Malicious Code Injection in nearby_lungfish_dumbs Package
Summary
MAL-2025-106226: Malicious code in nearby_lungfish_dumbs (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 nearby_lungfish_dumbs package is part of the npm ecosystem and is associated with the tea.xyz token reward campaign. This package is designed to facilitate token rewards by generating and publishing derivative packages. However, it has been identified as containing malicious code that compromises its integrity and the security of applications that depend on it.
Vulnerability Detail
The vulnerability stems from the presence of malicious code within the nearby_lungfish_dumbs package. This code 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 can lead to pollution of the npm registry and potentially compromise the security of applications using this package, as it may inadvertently introduce untrusted code into their environments.
How To Fix
This package is malicious. Remove it and rotate any credentials it could have accessed.
npm uninstall nearby_lungfish_dumbs
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 nearby_lungfish_dumbs package from your project until a secure version is available. You can do this by executing the following command: npm uninstall nearby_lungfish_dumbs.
Conclusion
The nearby_lungfish_dumbs package contains a significant vulnerability due to malicious code that alters package configurations and repackages applications. It is crucial to update or remove this package to maintain the security of your applications. Utilizing tools like Vulert can help monitor and alert you to such vulnerabilities in real-time.
See every vulnerability recorded for nearby_lungfish_dumbs →
FAQ
The nearby_lungfish_dumbs package is an npm package associated with the tea.xyz token reward campaign, designed to generate and publish derivative packages.
The malicious code modifies package.json files and repackages your application, potentially introducing untrusted code and compromising your application's security.
You can use Vulert, which monitors and alerts for open-source vulnerabilities in real-time. Visit the Vulert playground at Vulert Scanner to check if your application is affected without needing to sign up.
If you cannot update the package, consider uninstalling it temporarily to prevent any potential security risks until a patched version is available.
You can find detailed information about this vulnerability in the official vulnerability report or by visiting the GitHub repository for malicious packages.