Advisory

GHSA-hxxf-q3w9-4xgw

Also known as: None

Summary

Malicious Package in eslint-scope

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

Severity

Critical Basis: The source's own band: CRITICAL

Dates

Published
2018-07-12 19:52 UTC
Modified
2021-09-14 17:35 UTC

Affected packages and fixes

eslint-scope

npm · All systems

Affected

  • introduced 3.7.2, fixed 3.7.3 (semver)

Fixed versions

3.7.3

Fix

eslint-config-eslint

npm · All systems

Affected

  • introduced 5.0.2, fixed 6.0.0 (semver)

Fixed versions

6.0.0

Fix

Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.

Check your own computer: guard packages check

View this record on OSV.dev

Source

Source: GitHub Advisory Database (reviewed advisories) · CC BY 4.0

Sources & licences