Malicious Code Injection in constitutional_hookworm_dumbs Package
Summary
MAL-2025-100893: Malicious code in constitutional_hookworm_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 constitutional_hookworm_dumbs package is part of the npm ecosystem, primarily used for various JavaScript functionalities. However, it has been identified as part of a malicious campaign that floods the npm registry with derivative packages. This package is designed to inflate developer reputation scores through automated publishing scripts, which can lead to significant security risks.
Vulnerability Detail
The vulnerability originates from the malicious intent behind the constitutional_hookworm_dumbs package, which modifies the package.json file to remove private flags, alters version numbers, and generates random package names. This behavior not only compromises the integrity of the npm registry but also poses a risk of dependency confusion and potential exploitation by attackers. The autopublish scripts included in the package continuously republish variants, polluting the registry and making it difficult for developers to trust the packages they use.
How To Fix
This package is malicious. Remove it and rotate any credentials it could have accessed.
npm uninstall constitutional_hookworm_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 avoid using the constitutional_hookworm_dumbs package and replace it with a trusted alternative. Ensure to audit your package-lock.json file for any references to this package and remove them.
Conclusion
The constitutional_hookworm_dumbs package poses a significant security risk due to its malicious nature. It is crucial for developers to be vigilant and regularly audit their dependencies to prevent potential exploitation. By removing this package and utilizing tools like Vulert, developers can enhance their project's security posture.
See every vulnerability recorded for constitutional_hookworm_dumbs →
FAQ
It is a malicious npm package designed to inflate developer reputation scores through automated publishing.
It can compromise the integrity of your project by introducing malicious code and dependencies that can be exploited.
You can use Vulert, which monitors and alerts for open-source vulnerabilities in real-time. Visit Vulert Scanner to check your application without any signup.
Uninstall the package using 'npm uninstall constitutional_hookworm_dumbs' and audit your dependencies to ensure no malicious code remains.
Yes, tools like Vulert can help monitor your dependencies for vulnerabilities without requiring access to your code.