Clear and Present Danger (1994)
1) He allows himself to be recorded speak to the National Security Adviser in a Panama hotel - If anything Cortez would have suggested using another room to discuss sensitive matters as his room or the adviser's may have been bugged. 2) He leaves Nora's body in the open - Had he placed her in the bed or disposed of her remains outside and nearby the cabin, it could have slowed the or halted any investigation into her death. As it was he made the connection between himself and Nora when his actions were meant to prevent such a link being made. 3) He had no operatives within Escobedo's inner circle to contact him if/when something went wrong - When Jack Ryan arrived at the Escobedo estate, Cortez should have been informed instead of being surprised when Ryan was at Lindo Coffee before he arrived.
None of the above were indicators that Cortez was the master spy that everyone believed him to be.