The media did exactly this back with the Melissa virus. Microsoft created a giant embarrassing security hole, which a depressed guy exploited to stage an email popcorn fight (when he could have done much worse but chose not to).
Instead of owning their reckless blunder, MS framed the culprit as some evil genius hacker, so the only possible solution was to throw him in jail for years. Not THEIR fault. 🙄