Ah, the conspiracy theory rather than the cockup theory.
But usually it is a cockup. I blame modern education, which tells children to be creative rather than telling them to check their work.
I seem to remember a recent celbrated case, possibly for SSH, where the offending code had been checked in at 11.30pm on New Years Eve. How to inspire confidence - NOT.