GitHub Advisoryadvisory · npm

GHSA-pv55-r6j3-wp94 Malicious Package in eslint-config-eslint

CRITICAL Published 2020-09-01 Modified 2023-07-27 Official page ↗
Ecosystem
npm
Packages
eslint-config-eslint
Severity
Critical
Reviewed
2020-08-31

Affected packages

• npm eslint-config-eslint: 5.0.2 (no fix yet)

Description

Version 5.0.2 of `eslint-config-eslint` 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 a remote server. 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 Users may consider downgrading to version 5.0.1

References