Malicious Code Vulnerability in eslint-plugin-superhuman-custom-rules
Summary
MAL-2026-1729: Malicious code in eslint-plugin-superhuman-custom-rules (npm). Affects eslint-plugin-superhuman-custom-rules versions 19.1.0. 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
eslint-plugin-superhuman-custom-rules is an npm package designed to provide custom linting rules for ESLint, a popular JavaScript linter. This package allows developers to enforce coding standards and improve code quality by integrating specific rules tailored to their projects. However, it has been identified as containing malicious code that poses a security risk to users.
Vulnerability Detail
The vulnerability in eslint-plugin-superhuman-custom-rules arises from the inclusion of malicious code within version 19.1.0 of the package. This code can potentially compromise the security of applications utilizing the package, leading to unauthorized access, data breaches, or other malicious activities. The origin of this vulnerability is linked to the package's distribution through npm, making it accessible to a wide range of developers and applications.
How To Fix
This package is malicious. Remove it and rotate any credentials it could have accessed.
npm uninstall eslint-plugin-superhuman-custom-rules
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, developers can remove the eslint-plugin-superhuman-custom-rules package from their project until a secure version is released. This can be done using the command: npm uninstall eslint-plugin-superhuman-custom-rules. Additionally, consider using alternative linting rules that do not pose security risks.
Conclusion
The eslint-plugin-superhuman-custom-rules package has been identified as containing malicious code, posing a significant security risk. Users are advised to update or remove the package to protect their applications. Utilizing tools like Vulert can help monitor for such vulnerabilities effectively.
See every vulnerability recorded for eslint-plugin-superhuman-custom-rules →
FAQ
It is an npm package that provides custom linting rules for ESLint, helping developers maintain coding standards.
You can check if your application is affected by using the Vulert playground at Vulert Scanner, which monitors vulnerabilities in real-time.
If immediate updates are not possible, consider removing the package as a temporary measure to mitigate risks.
Detailed information can be found in the vulnerability report on GitHub or through security advisories related to the package.
Yes, Vulert allows you to monitor and alert for open-source vulnerabilities using just your package-lock.json file, without requiring code access or installation.