I just listened to the first Miles to go podcast about a near miss at SFO where an Air Canada flight nearly landed on a taxiway where 4 aircrafts were waiting to take off. The incoming Air Canada flight wrongly aligned to land on the taxiway, apparently because it got confused by the lighting. Thankfully, someone noticed something was off at the last second, and the plane went around without damage.
The way I understand the podcast, it was a series of edge cases that lined up to lead to the situation. In short (please edit for accuracy if needed): - one of the runways had its lighting off - the aircraft had slightly old navigation equipment - the air traffic controller was alone, and on the phone - ...
Post incident, the inflight recorder wasn't turned off, so the critical part of the conversation was apparently recorded over, etc...
This all looks very similar to how computer security problems happen: if you input a specific value in this place at that specific moment, under this particular set of circumstances, you can get access to some confidential data.
The software industry has developed penetration testing as a method to find out such problems, where essentially you pay people to try to break into your systems, and possibly reward them every time they find a security problem. It seems like the situation above could have been identified by a similar method.
Does the aviation industry use similar practices? How does it work and what is it called? And if not, what prevents it?