Terrorists don't advise the passengers on board that there's a bomb on board. They just blow it up.
All of that stuff about James Bond, that's Hollywood. You don't want anyone standing out in the intelligence business. You want someone nondescript. The ideal spy is 5-foot-6 and kind of dumpy.
Some nation states prohibit the police from collecting information on their own citizens. But they don't prohibit their own intelligence organizations from collecting information on their own citizens.