When 'perfect' code fails

When too much magic in the codebase breaks security measures, you know something is way off.