Skip to content
OpenAdvisories
Critical · 9.8 GHSA-m852-866j-69j8

Malicious Package in eslint-config-airbnb-standard

Published Sep 1, 2020 · Updated Oct 1, 2021 · Assigned by GHSA

Description

Version 2.0.0 of `eslint-config-airbnb-standard` was published with a bundled version of `eslint-scope` that was found to contain malicious code. This code would read the users `.npmrc` file and send it's contents 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 and use a different version of the module. 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-airbnb-standard >= 2.0.0, < 2.1.0 2.1.0 GHSA-m852-866j-69j8

References