Antipattern: keeping old gists with sensitive data

This is part of our antipatterns and cloud security series.

Nothing's worse than a data breach, so protect yourself by cleaning up your gists—both public and private.

  1. git clone
  2. cd gistkiller
  3. bundle install
  4. ruby gistkiller.rb

The first time you run it, it will get an OAuth2 token—that's how auth is handled.