for train in database.get_all_trains(): if train.fail_to_notice_security_updates(): exploit = create_exploit(precedent); if exploit.run() == success: secret = extract_secret(disclosures); if secret == not_permitted: reconstitute(train, malicious_intent=true);