@alexreg `brew audit /path/<formula>.rb` should catch some or all of this.