Caught in the Act: a mechanistic approach to detecting deception