A former CIA officer accused of stealing public funds and falsely claiming parts of his professional background is scheduled to appear in federal court Tuesday as prosecutors and his defense attorney consider a plea agreement.

David Rush remains in federal custody ahead of the hearing before U.S. District Judge Michael Nachmanoff in Alexandria, Virginia. His case has drawn scrutiny after investigators allegedly found 303 gold bars worth about $40 million at his home.

Rush formally faces one count of theft of public funds, stemming from allegations that he falsified his pay records. Investigators, however, have examined broader claims that he fabricated portions of his education, military service, and career history, according to people familiar with the case.

Two people familiar with the investigation said Rush is also accused of inventing a CIA program. Investigators are further examining whether the gold and other property seized from his home account for everything that may be missing.

The allegations have raised questions about how Rush was vetted and supervised while working for the CIA. The intelligence community’s inspector general has opened a review into the circumstances surrounding his arrest and the agency’s handling of him.

Several senior CIA officials were previously sidelined over the agency’s handling of Rush’s funding requests. The CIA placed Rush on leave before his arrest and later dismissed him.

The investigation has also reached the Pentagon, where Rush worked on classified maritime projects. Investigators questioned Deputy War Secretary Steve Feinberg as part of the probe after sources described him as having a close working relationship with Rush. Feinberg, through a Pentagon spokesperson, disputed that characterization.

The FBI has said Feinberg is not under investigation and has not been accused of wrongdoing. There is also no indication that he knew about Rush’s alleged deception.

Rush has not yet entered a plea. Both prosecutors and his defense attorney previously requested additional time to negotiate an agreement, and his attorney declined to comment Monday.

A plea deal could allow prosecutors to avoid a lengthy trial, while a trial could bring greater scrutiny to the CIA’s vetting procedures and potentially expose more information about the agency’s handling of Rush and his work.