Skip to content
OpenAdvisories
Critical · 9.1 GHSA-hxxf-q3w9-4xgw

Malicious Package in eslint-scope

Published Jul 12, 2018 · Updated Sep 14, 2021 · Assigned by GHSA

Description

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

EcosystemPackageAffectedFixedRecord
npm eslint-config-eslint >= 5.0.2, < 6.0.0 6.0.0 GHSA-hxxf-q3w9-4xgw
npm eslint-scope >= 3.7.2, < 3.7.3 3.7.3 GHSA-hxxf-q3w9-4xgw

References