A former CIA software engineer suspected of leaking classified documents to Wikileaks is also leaking information about his case to the press, it emerged in Manhattan federal court on Monday.

Manhattan federal prosecutors dragged Joshua Schulte into court on Monday to complain that he improperly shared — from prison — information leading to his 2017 arrest.

According to prosecutor Matthew Laroche, Schulte talked to reporters from the Metropolitan Correction Center about the feds’ March 2017 search warrant seeking information that might reveal whether he shared confidential national defense data with Wikileaks, including about CIA hacking methods.

Schulte’s leaks about the warrant led to news stories outing the 29-year-old computer whiz as the feds’ top target for the massive CIA data breach to Wikileaks. The news articles outing him also questioned why he has still not been charged for the breach.

Instead, Schulte was arrested and charged with possessing child porn in August. He was detained in December after prosecutors found evidence that he had violated conditions of his parole, including staying off computers.

Prosecutors said they learned that Schulte was the source of the leaks after they pulled his phone records from MCC, where he is being housed.

Schulte’s lawyer, Sabrine Shroff, told Judge Paul Crotty that her client has yet to sign the protective order, which was executed by his former lawyer.

Crotty simply reminded Schulte to adhere to the protective order.

“Mr. Schulte, do you understand?” the judge asked him.

“I do now. Thank you,” Schulte said before being returned to the clink.