What edge cases would you consider when writing automation that handles errors, timeouts, and malicious inputs?