Malicious Package The advisory has been revoked - it doesn't affect any version of package eslint-scope  (opens in a new tab)


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 IDnpm:eslint-scope:20180712
  • published12 Jul 2018
  • disclosed12 Jul 2018
  • creditUnknown

Introduced: 12 Jul 2018

Malicious CVE NOT AVAILABLE CWE-506  (opens in a new tab)

How to fix?

Do not use version 3.7.2 of eslint-scope.

Overview

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

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.