Scripts for collecting metrics of the attack surface