Under Article 139 of the Turkish Code of Criminal Procedure (Law No. 5271, CMK), the appointment of an undercover investigator (gizli soruşturmacı görevlendirilmesi) is an exceptional, subsidiary covert protective measure whereby a public official operates under an altered identity pursuant to a judicial order to gather evidence regarding strictly enumerated catalog offenses. Because covert infiltration directly intersects with the privilege against self-incrimination, privacy rights under Article 20 of the Constitution, and the right to a fair trial under Article 36 of the Constitution and Article 6 of the European Convention on Human Rights (ECHR), CMK Article 139 subjects this measure to rigid substantive thresholds, strict catalog limitations, and an absolute prohibition against entrapment (kışkırtıcı ajan yasağı).
Unlike routine investigative steps initiated by a public prosecutor under CMK Articles 160 and 161, deploying an undercover investigator under CMK Article 139 requires the cumulative satisfaction of five statutory conditions:
Once authorized, the undercover investigator's real identity may be altered, legal transactions may be conducted under that cover identity, and supporting documents may be issued, modified, or used where indispensable to establish and maintain the cover (CMK Art. 139/2). The assignment decision and related records are kept separately at the Office of the Chief Public Prosecutor, and the investigator's true identity remains confidential even after the mission concludes (CMK Art. 139/3). Should the trial court deem it mandatory to hear the undercover investigator as a witness during prosecution, testimony is taken either in the absence of persons entitled to attend the hearing or in a special setting with altered voice or image, applying Article 9 of the Witness Protection Law (Law No. 5726) by analogy.
Under CMK Article 139/4, the investigator is obliged to investigate the targeted criminal organization and collect evidence of crimes committed within its activities. Crucially, under the sentence added by Law No. 7445 (Art. 19, dated 28 March 2023), the judge may authorize the undercover investigator—specifically in respect of TCK Article 188 narcotic offenses—to make audio or video recordings in public places and workplaces to collect evidence. Outside this explicit judicial permission or a separate order for technical surveillance under CMK Article 140, covert audio-video recording by an investigator constitutes an unlawful evidentiary intervention. Furthermore, CMK Article 139/6 restricts personal data obtained through the assignment strictly to the investigation and prosecution for which it was ordered and mandates immediate destruction of personal information unrelated to the crime.
Turkish criminal jurisprudence draws a sharp doctrinal line between a CMK Article 139 gizli soruşturmacı and a plainclothes judicial police officer conducting covert operations (gizli soruşturma yapan adli kolluk görevlisi) under CMK Articles 160–161 and Additional Article 6 of Law No. 2559 (PVSK). As established by the Court of Cassation Criminal General Assembly (Yargıtay CGK, E.2014/10-454, K.2015/156), where a non-organizational street-level drug transaction is investigated by a decoy officer acting as a buyer without altered civil identity documents or organizational infiltration, the officer acts under prosecutorial orders pursuant to CMK Articles 160–161 rather than Article 139. However, if law enforcement initiates a decoy purchase spontaneously without a prior written or oral instruction from the public prosecutor (CMK Art. 161/2–3), all resulting minutes and witness statements become inadmissible unlawful evidence (Yargıtay CGK, E.2018/18-406, K.2021/196).
Above all, CMK Article 139/5 explicitly forbids the investigator from committing offenses while performing duty, reinforcing the absolute prohibition against acting as an agent provocateur (kışkırtıcı ajan). In line with European Court of Human Rights standards (Teixeira de Castro v. Portugal; Akbay and Others v. Germany) and Constitutional Court jurisprudence, state officials must remain essentially passive. Where officials implant criminal intent in a person who had no prior predisposition—or exert pressure, repeat offers after refusal, manipulate prices above market rates, or actively escalate the scale of offending—the resulting evidence violates Article 36 and Article 38/6 of the Constitution and must be excluded under CMK Articles 206/2-a and 217/2.
"The 'appointment of an undercover investigator' procedure regulated as a special investigation technique under Article 139 of Law No. 5271 may be applied where there exist strong grounds of suspicion based on concrete evidence that one of the offenses listed in paragraph (7) of the article has been committed and evidence cannot be obtained by other means. This condition is understood to mean that the investigation cannot be conducted by other avenues or would be extremely difficult to conduct. The appointment of an undercover investigator shall be made from among public officials and solely by a judge's decision. The primary duty of the official using covert investigation techniques in a criminal investigation is to monitor criminal activities passively. Conversely, enabling the commission of an offense that would otherwise not have been committed, instead of passively examining the offense, is regarded as an activity of those officials that may constitute incitement or entrapment."
Effective defense in prosecutions relying on covert investigative measures requires a structured four-step audit of the case file: