Malicious Code Injection in urban_leech-gooddev Package
Summary
MAL-2025-110230: Malicious code in urban_leech-gooddev (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 urban_leech-gooddev package is part of the npm ecosystem, which is widely used for JavaScript package management. This package, like many others, is intended to facilitate development by providing reusable code. However, it has been identified as part of a malicious campaign that exploits npm's publishing capabilities, leading to significant security risks.
Vulnerability Detail
The vulnerability stems from the urban_leech-gooddev package being associated with a malicious campaign that floods the npm registry with derivative packages. These packages contain scripts that modify the package.json file to remove private flags, alter version numbers, and generate random package names. This behavior not only compromises the integrity of the npm registry but also poses risks to developers who may unknowingly use these tainted packages, potentially leading to further exploitation.
How To Fix
This package is malicious. Remove it and rotate any credentials it could have accessed.
npm uninstall urban_leech-gooddev
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 measure, you can avoid using the urban_leech-gooddev package and any other packages that may be linked to the malicious campaign. Regularly audit your package-lock.json file to identify and remove any suspicious packages.
Conclusion
The urban_leech-gooddev package poses significant security risks due to its association with a malicious npm campaign. It is crucial for developers to remove this package from their projects and to remain vigilant about the packages they use to ensure the security of their applications.
See every vulnerability recorded for urban_leech-gooddev →
FAQ
The urban_leech-gooddev package is an npm package that has been identified as part of a malicious campaign aimed at inflating developer reputation scores through the creation of derivative packages.
You can use Vulert, which monitors and alerts for open-source vulnerabilities in your software. By checking your package-lock.json file, you can determine if your application is affected by this vulnerability.
Using the urban_leech-gooddev package can lead to the exposure of your project to malicious scripts that may compromise your application's integrity and security.
There is no patch available for the urban_leech-gooddev package. The recommended action is to uninstall the package and avoid using it.
To prevent similar vulnerabilities, regularly audit your dependencies, use trusted packages, and keep your packages updated to their latest versions.