This wasn't really a UI problem as this was someone manually calling functions meant only for software developers. No users would ever do this as they are using apps which abstract all of this away and you have to jump through a lot of hoops to get into this situation. Anyone can hurt themselves using tools they don't understand carelessly.