Canary Trap
It is challenging to catch all of the suspected spies when there are many of them close by. A canary trap has become a rather reliable defense that has been used against that throughout history. Give each of the suspected spies various bogus bits of information, and then watch to see which one leaks. Like every effective espionage method throughout history, the term was originally used by Tom Clancy in his 1987 bestseller Patriot Games, but it has been around for much longer than that.
Canary traps are also widely employed in the corporate world, where the theft of intellectual property is quickly emerging as a big issue, to strengthen cyber security, so it's not simply military espionage. We-FORGE, a data security system created by researchers at Dartmouth College, employs AI to produce distinct but logically equivalent copies of a document for network storage.
State secrets, spy data, patents, drug design information, and pretty much anything else that might be useful might all be included in this. The leaked file would show the particular location and method of any attack on the system, allowing the cyber-security team to immediately identify the weaknesses that need to be fixed to fortify the network against future attacks of a similar nature.