> slap some people on the wrist and issue company wide memo saying something to the effect of "Please don't say stupid embarrassing stuff like this in the company chat or over email".
While that's on the low end of the range of severity I'd expect, I can't help but point out that that is, in fact, punitive action and would, in fact, discourage (albeit probably not prevent) any warnings about the next unsafe design.