Double-agent

A double agent is a spy who works for both sides.

Mata Hari was a double-agent, she also had a daughter, Mata Bond, with James Bond.