Malicious Code Injection in dry_weasel-strongdev Package
Summary
MAL-2025-101791: Malicious code in dry_weasel-strongdev (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 dry_weasel-strongdev 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 to inflate developer reputation scores through the creation of derivative packages.
Vulnerability Detail
The vulnerability in the dry_weasel-strongdev package stems from its association with a malicious campaign that modifies the package.json file to remove private flags, alters version numbers, and generates random package names. This behavior leads to the continuous republishing of variants, which pollutes the npm registry and can compromise the integrity of the ecosystem. The malicious payload is designed to automate the process of generating and publishing these packages, making it a significant threat to developers relying on npm for legitimate packages.
How To Fix
This package is malicious. Remove it and rotate any credentials it could have accessed.
npm uninstall dry_weasel-strongdev
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 temporarily avoid using the dry_weasel-strongdev package by replacing it with an alternative package that provides similar functionality. Always verify the integrity and reputation of any package before including it in your project.
Conclusion
The dry_weasel-strongdev package poses a significant security risk due to its malicious behavior aimed at manipulating the npm ecosystem. It is crucial for developers to remain vigilant, regularly audit their dependencies, and utilize tools like Vulert to monitor for vulnerabilities.
See every vulnerability recorded for dry_weasel-strongdev →
FAQ
The dry_weasel-strongdev package is an npm package that has been identified as part of a malicious campaign aimed at inflating developer reputation scores.
This vulnerability can lead to the pollution of the npm registry and may compromise the integrity of your project's dependencies, potentially introducing further security risks.
You can use Vulert, which monitors and alerts for open-source vulnerabilities in your software. By utilizing the Vulert playground, you can check if your application is affected without requiring any installation.
If you find the dry_weasel-strongdev package in your project, you should uninstall it immediately and replace it with a trusted alternative.
Currently, there is no specific patch for the dry_weasel-strongdev package. The best course of action is to remove the package and monitor for any updates from the community.