The American Society for Industrial Security has a Code for Professional Responsibility that applies to anyone seeking to be credentialed as a Certified Protection Professional (CPP). On their website, it says:
"ASIS board certified security professionals and applicants for certification must adhere to the Code of Professional Responsibility, agreeing to:
–Perform professional duties in accordance with the law and the highest moral principles. --Noncompliance includes any acts or omissions amounting to unprofessional conduct and deemed prejudicial to the certification.
–Observe the precepts of truthfulness, honesty, and integrity.
–Be faithful, competent, and diligent in discharging their professional duties.
–Safeguard confidential and privileged information and exercise due care to prevent its improper disclosure.
–Not maliciously injure the professional reputation or practice of colleagues, clients, or employees."
The last item of the code is particularly noteworthy: “Not maliciously injure the professional reputation or practice of colleagues, clients, or employees.”
Something similar should apply to military personnel who train others in the craft of counterintelligence. To abuse the trust that the US government has placed in them should have consequences.