warns that
careless disclosure of confidential information can have serious consequences; the expression originated as a warning against revealing sensitive wartime information.
When disclosing important information or secrets might result in a disaster for someone., the saying “Loose lips sink ships” is appropriate.