double agent

noun
1
a person who is a spy for a particular country, and also for another country that is an enemy of the first one
جاسوس دوجانبه, مامور دوجانبه, جاسوس دوطرفه