Look near the end of the first image - the Iranians were using rudimentary Google-based techniques to crack into CIA websites, but then AFTER THEY KNEW THIS, the agency kept using the same system and China not only busted in but executed 3 dozen assets?
People died because people deliberately chose to make foolish decisions, and they did it twice.
They swore oaths.
Working in intelligence suggests that a certain amount of the same is required from employees.