Skip to content

Instantly share code, notes, and snippets.

View trs's full-sized avatar
🐱

Tyler Stewart trs

🐱
View GitHub Profile
@trs
trs / find-broken-package-installs.js
Last active July 12, 2018 17:37
Quick script to scan a directory of projects for infected eslint-scope installs (rev 3.7.2). Runs in node 8+.
const path = require('path');
const fs = require('fs');
const {exec} = require('child_process');
const PROJECTS_DIR = process.cwd() || __dirname;
const BAD_PACKAGES = [
{
name: 'eslint-scope',
revisions: ['3.7.2']

Keybase proof

I hereby claim:

  • I am trs on github.
  • I am tylerstewart (https://keybase.io/tylerstewart) on keybase.
  • I have a public key whose fingerprint is 8C60 6B62 26BE 79DF 21BA 1B7E 7074 2FF0 11FE 2E73

To claim this, I am signing this object: