Rather than betrayal, Hosseini was the victim of CIA negligence, a year-long Reuters investigation into the agency's handling of its informants found. A faulty CIA covert communications system made it easy for Iranian intelligence to identify and capture him.
[...]
Hosseini's experience of sloppy handling and abandonment was not unique. In interviews with six Iranian former CIA informants, Reuters found that the agency was careless in other ways amid its intense drive to gather intelligence in Iran, putting in peril those risking their lives to help the United States.