In the field of counterintelligence, a double agent is an employee of a secret intelligence service for one country whose official purpose is to spy on a target organization of another country, but who is now spying on their own country's organization for the target organization.