Malicious Package Affecting eslint-config-eslint package, versions =5.0.2


0.0
critical

Snyk CVSS

    Attack Complexity Low
    Confidentiality High
    Integrity High

    Threat Intelligence

    Exploit Maturity Mature

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications
  • Snyk ID SNYK-JS-ESLINTCONFIGESLINT-72491
  • published 13 Jul 2018
  • disclosed 12 Jul 2018
  • credit Unknown

Introduced: 12 Jul 2018

Malicious CVE NOT AVAILABLE CWE-506 Open this link in a new tab

How to fix?

Do not use version 5.0.2 of eslint-config-eslint.

Overview

eslint-config-eslint is the ECMAScript scope analyzer used in ESLint.

Version 5.0.2 was identified as malicious after a possible npm account takeover. During installation, the malicious code download code from pastebin.com, then executed it. It sent the contents of the user’s .npmrc file to the attacker, which typically contains access tokens for publishing to npm.

The malicious package versions have been unpublished from npm.