While discussing with your team, speak only publicly sharable opinions, thoughts. Don’t speak anything which your supervisor or management should not come to know.
For example, when do you plan to resign your job – don’t discuss your plan in public. Don’t criticize your manager or management in public. When management come to know your plan, personal negative opinions, you will have bad consequences. How come management know your feedback when you discuss it with your close buddy?
There is always a spy in your team, in your colleagues. He or She will cascade the information you leak. You never know who is that spy. One among your trusted colleagues is the management spy.
Don’t be skeptical about that spy or management encouraging spy attitude. Managers need spy/information to manage the team, Management should know the up to date pulse of its employees to manage them.
You can not identify who is the the spy. But, be aware that there is a spy who eagerly waiting for your confession to inform the management. He or she may get some favors due to their spying. It is best to avoid speaking what you don’t like your management to know. Don’t speak such things with your colleagues or in public.