There, I did it. Haha.
Can we stop beating dead horses, we all read Hacker News around here?
For now, the best you can hope for is a layered defense and rigorous dev and ops practices to help minimize the attack surface and reduce the overall damage a single successful attack can achieve.
Automated testing/fuzzing could find this, but probably better training/practices would be easier to get right and save time/money in the long run.
Testing can only ever go so far - bugs and vulnerabilities exist everywhere, even in Facebook.
Regardless, well done!