Malicious Code Injection in 'shaggy_canidae_dumbs' Package - npm Vulnerability
Summary
MAL-2025-108587: Malicious code in shaggy_canidae_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 'shaggy_canidae_dumbs' package is part of the npm ecosystem, which is widely used for JavaScript package management. This package, like many others, is intended to facilitate the development of applications by providing reusable code. However, it has been identified as part of a malicious campaign that seeks to exploit npm's publishing capabilities, leading to potential security risks for developers and their applications.
Vulnerability Detail
The vulnerability originates from the 'shaggy_canidae_dumbs' package, which is associated with the tea.xyz token reward campaign. This package contains scripts designed to automatically generate and publish derivative packages with randomized names, effectively polluting the npm registry. The malicious payload modifies the package.json file by removing private flags, altering version numbers, and continuously republishing variants, which can lead to reputation inflation for malicious actors and compromise the integrity of the npm ecosystem.
How To Fix
This package is malicious. Remove it and rotate any credentials it could have accessed.
npm uninstall shaggy_canidae_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 workaround, you can avoid using the 'shaggy_canidae_dumbs' package altogether and look for alternative packages that provide similar functionality without the associated risks. Additionally, you can monitor your project for any unauthorized changes in your package.json and package-lock.json files.
Conclusion
The 'shaggy_canidae_dumbs' package poses a significant risk due to its malicious code designed to exploit npm's publishing system. It is essential for developers to remove this package and monitor their projects for any unauthorized changes. Utilizing tools like Vulert can help maintain the security of your applications.
See every vulnerability recorded for shaggy_canidae_dumbs →
FAQ
It is an npm package that has been identified as part of a malicious campaign to exploit the npm registry.
It can lead to unauthorized changes in your package.json, potentially compromising your application's integrity and security.
You should uninstall the 'shaggy_canidae_dumbs' package immediately using 'npm uninstall shaggy_canidae_dumbs'.
Yes, you can use Vulert, which monitors and alerts for open-source vulnerabilities in real-time using your package-lock.json.
You can use the Vulert playground at Vulert Scanner to check for vulnerabilities without needing to sign up.