Malicious package

2018-07-12T16:11:57
ID NODEJS:673
Type nodejs
Reporter Andrei Mihailov
Modified 2018-07-12T16:14:37

Description

Overview

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

References

  • https://github.com/eslint/eslint-scope/issues/39