Most modern employment contracts include "morality" or "conduct" clauses. These allow companies to terminate or suspend employees if their public actions (even if involuntary, like a leak) bring disrepute to the brand.