Malicious Code Injection in legal_frog_dumbs Package - npm Vulnerability
Summary
MAL-2025-105052: Malicious code in legal_frog_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 legal_frog_dumbs package is part of a broader ecosystem within npm, primarily used for various development tasks. However, it has been identified as part of a malicious campaign that aims to exploit npm's package management system. This package is associated with the tea.xyz token reward scheme, which has led to the proliferation of numerous derivative packages designed to manipulate developer reputation scores.
Vulnerability Detail
The vulnerability in the legal_frog_dumbs package stems from its inclusion in a malicious campaign that modifies the package.json file to remove private flags and alter version numbers. It generates random package names and continuously republishes variants, thereby polluting the npm registry. This behavior can lead to significant security risks, including unauthorized access to sensitive data and the potential for further exploitation within the npm ecosystem.
How To Fix
This package is malicious. Remove it and rotate any credentials it could have accessed.
npm uninstall legal_frog_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 monitor your package dependencies using tools like Vulert. By utilizing Vulert's playground at https://vulert.com/scanner, you can check if your application is affected by this vulnerability without needing to sign up. This tool analyzes your package-lock.json file to provide real-time alerts for open-source vulnerabilities.
Conclusion
The legal_frog_dumbs package poses a significant security risk due to its malicious behavior of modifying package files and republishing variants. It is essential to take immediate action by uninstalling the package and monitoring your project for vulnerabilities using tools like Vulert.
See every vulnerability recorded for legal_frog_dumbs →
FAQ
The legal_frog_dumbs package is an npm package that has been identified as part of a malicious campaign aimed at manipulating developer reputation scores.
This vulnerability can lead to unauthorized modifications of your package.json file, potentially exposing sensitive data and allowing further exploitation.
You should uninstall the legal_frog_dumbs package immediately and review your dependencies for any other potentially malicious packages.
You can use Vulert to monitor your project for vulnerabilities by analyzing your package-lock.json file for real-time alerts.
There is no patch for the legal_frog_dumbs package itself, as it is advised to remove it entirely from your project.