Malicious Code in eslint-plugin-blade (npm)
Summary
MAL-2023-8404: Malicious code in eslint-plugin-blade (npm). Affects eslint-plugin-blade versions 1.0.0 – 1.0.3. 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 eslint-plugin-blade package is a plugin for ESLint, a popular JavaScript linting utility. It provides additional rules and configurations specifically for Blade templates in Laravel applications. The package is commonly used by developers to ensure code quality and adherence to best practices in Blade templates. However, the package has been identified as malicious due to its communication with a domain associated with malicious activity.
Vulnerability Detail
The eslint-plugin-blade package, version 1.0.0, has been flagged as malicious by the OpenSSF Package Analysis project. The package communicates with a domain that is linked to malicious activity. This poses a significant security risk as the package may perform unauthorized actions, collect sensitive information, or introduce other malicious behavior into the application. It is crucial to remove or update the package to mitigate these risks.
How To Fix
This package is malicious. Remove it and rotate any credentials it could have accessed.
npm uninstall eslint-plugin-blade
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
There is no specific workaround provided for this vulnerability. The best course of action is to remove the eslint-plugin-blade package and follow the recommended steps for fixing the vulnerability.
Conclusion
The eslint-plugin-blade package, version 1.0.0, has been identified as malicious due to its communication with a domain linked to malicious activity. It is crucial to remove or update the package to mitigate the associated security risks. Regularly monitoring for security advisories and using trusted packages can help prevent such vulnerabilities. For further support on vulnerability remediation, contact DevNack.com.
See every vulnerability recorded for eslint-plugin-blade →
FAQ
eslint-plugin-blade is a plugin for ESLint that provides rules and configurations for Blade templates in Laravel applications.
The package has been flagged as malicious because it communicates with a domain associated with malicious activity.
Using the malicious package can lead to unauthorized actions, data breaches, or other malicious behavior in the application.
To fix the vulnerability, remove the eslint-plugin-blade package from your project and review its dependencies.
Yes, there are alternative linting plugins and configurations available that are not associated with malicious activity. Consider exploring other options.