VDB
Sign up
CRITICAL9.1

GHSA-hxxf-q3w9-4xgw

Malicious Package in eslint-scope

Quick fix

GHSA-hxxf-q3w9-4xgw — eslint-scope: upgrade to the fixed version with the command below.

npm install eslint-scope@3.7.3

Details

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

Are you affected?

Enter the version of the package you're using.

Affected packages

npm/eslint-scope
Introduced in: 3.7.2Fixed in: 3.7.3
Fixnpm install eslint-scope@3.7.3
npm/eslint-config-eslint
Introduced in: 5.0.2Fixed in: 6.0.0
Fixnpm install eslint-config-eslint@6.0.0

References