The term we hear for this all the time is opsec. It is something that we all need to consider. Me I have a real problem, by writing and working to help others I have blown mine. I have to take different measures to protect myself. For the rest of you the best opsec is to keep your mouth shut.
In my years of law enforcement, many of my best cases were made because somebody talked to someone they trusted. Most of us talk too much. Buy your food quietly and don’t talk about it.