The WTF is not about the quality of code, it's that the engineer offered w/o asking the company's IP & secrets and didn't think there was anything wrong it.
It's a frightening insight into the culture of a company where that it is both possible to do that and not thought to be wrong.