There is a Legacy version
here.

Spy's Countermeasures [free-action] Feat 10Archetype Source Shining Kingdoms pg. 171Archetype Lion BladePrerequisites Lion Blade DedicationTrigger You succeed at a save against a
detection,
mental, or
scrying effect
You’ve learned how to analyze and fake your responses to the most common magic used against spies. You can attempt to identify the effect via
Identify Magic using the magical tradition skill of the effect or
Espionage Lore, even if you didn’t notice the spell being cast.
If you successfully identify the triggering effect, and it would normally fail or have no effect, you can make the caster of the triggering effect think the effect or spell succeeded. If they would obtain a result, such as receive a piece of information, you decide what that result is. If the effect would influence you to take certain actions, you can make it appear as if you were affected and attempt to play along; if the effect normally establishes a mental link, it functions normally, but you can disregard any commands you receive through the link.
Traits
Archetype: This feat belongs to an archetype.