You only get slashed if you run malicious custom code, or if you run the same key on two machines at the same time.
The latter is a mistake that's very easy to make if you try to build auto-failover.
So don't build it. My validators operate with 'screen' and shell scripts. If I need to do anything (3-4 times a year), I do it manually.