double agent
From Longman Dictionary of Contemporary Englishdouble agentˌdouble ˈagent noun [countable] PMsomeone who finds out an enemy country’s secrets for their own country but who also gives secrets to the enemy → spyExamples from the Corpusdouble agent• A double agent is, therefore, well placed to achieve this.