Malicious Package Affecting eslint-scope package, versions =3.7.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-ESLINTSCOPE-11120
  • 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?

Avoid using eslint-scope altogether.

Overview

eslint-scope is an ECMAScript scope analyzer for ESLint

Affected versions of this package are vulnerable to Malicious Package. Version 3.7.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.