The attacker , a physician-turned-mole , had been recruited to infiltrate al-Qaeda 's senior circles and had gained the trust of his CIA and Jordanian handlers with a stream of useful intelligence leads , according to two former senior officials briefed on the agency 's internal investigation .