Malicious Package in eslint-scopeGHSA-hxxf-q3w9-4xgw
CRITICALGHSA-hxxf-q3w9-4xgw is a critical-severity (CVSS 9.1) vulnerability in eslint-scope. A fix is available for eslint-scope — see the affected versions and patch details below.
Real-World Exposure
How broadly this vulnerability is actually deployed: weekly install volume shows current usage, and reverse-dependency count shows how many other packages break if it stays unpatched.
eslint-config-eslintnpmDescription
Version 3.7.2 of eslint-scope was published without authorization and was found to contain malicious code. This code would read the users .npmrc file and send any found authentication tokens to 2 remote servers.
Recommendation
The best course of action if you found this package installed in your environment is to revoke all your npm tokens. You can find instructions on how to do that here. https://docs.npmjs.com/getting-started/working_with_tokens#how-to-revoke-tokens
Affected Packages
| Ecosystem | Package | Vulnerable range | Fix |
|---|---|---|---|
| 📦npm | eslint-scope | ≥ 3.7.2&&< 3.7.3 | 3.7.3npm install eslint-scope@3.7.3 |
| 📦npm | eslint-config-eslint | ≥ 5.0.2&&< 6.0.0 | 6.0.0npm install eslint-config-eslint@6.0.0 |
Detection & mitigation playbook
Open-source dependencyDetect
Scan your dependency tree (package-lock.json, pnpm-lock.yaml, requirements.txt, go.sum, etc.) for eslint-scope, including transitive dependencies — a direct dependency you never call can still pull in a vulnerable version.
Fix
Update eslint-scope to 3.7.3 or later, then make sure no transitive (indirect) dependency still pins the vulnerable range — O3 confirms GHSA-hxxf-q3w9-4xgw is resolved across your whole dependency graph.
Workarounds
If you can't upgrade right away: gate or disable the affected feature, validate untrusted input at the boundary, and avoid passing attacker-controlled data into the vulnerable path. O3's runtime protection blocks exploitation in production as an interim safeguard until the upgrade lands.
Frequently Asked Questions
Is GHSA-hxxf-q3w9-4xgw in your dependencies?
Find it across npm, including transitive dependencies.