Malicious Code Injection in binding_cow-strongdev: A Threat to npm Packages
Summary
MAL-2025-99975: Malicious code in binding_cow-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 package 'binding_cow-strongdev' is part of the npm ecosystem, which is widely used for JavaScript development. It is designed to facilitate the development of applications by providing reusable code modules. However, this package has been identified as part of a malicious campaign that floods the npm registry with harmful scripts aimed at manipulating developer reputation scores.
Vulnerability Detail
The vulnerability in 'binding_cow-strongdev' originates from its association with the tea.xyz token reward campaign. This package contains malicious scripts that modify the package.json file by removing private flags, altering version numbers, and generating random package names. The scripts continuously republish these variants, polluting the npm registry and potentially compromising the integrity of other packages.
How To Fix
This package is malicious. Remove it and rotate any credentials it could have accessed.
npm uninstall binding_cow-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 temporary workaround, you can prevent the installation of this malicious package by using npm's package-lock.json to monitor dependencies. Additionally, you can run the following command to audit your dependencies for vulnerabilities: npm audit.
Conclusion
The 'binding_cow-strongdev' package poses a significant threat due to its malicious code designed to manipulate the npm registry. It is crucial to remove this package and monitor your dependencies to maintain the security of your applications.
See every vulnerability recorded for binding_cow-strongdev →
FAQ
The malicious code can lead to the unauthorized modification of your project's dependencies, potentially compromising security and stability.
You can use Vulert, which monitors open-source vulnerabilities in real-time. By uploading your package-lock.json file, you can quickly identify if your application is affected.
You should immediately remove the package from your project and audit your dependencies for any other vulnerabilities.
Yes, tools like Vulert can help monitor and alert you in real-time for open-source vulnerabilities without requiring code access or installation.
Regularly audit your dependencies using npm audit and consider using tools like Vulert to monitor for vulnerabilities in real-time.