A crazed woman tried to get into CIA headquarters armed with a loaded gun and carrying a passport and $100,000 in cash, law enforcement officials said.

Beth Huth had her first appearance in Alexandria, Va., federal court Tuesday after she pulled up in a white Kia Soul to the main entrance of the George Bush Center for Intelligence in Langley, Va., on Friday afternoon, wearing a wig, the Washington Post reported.

When Michael Szczepanik, an officer with the CIA’s protective service, asked to see her badge, she pulled out a handwritten note, according to his affidavit.

Huth nodded when Szczepanik asked her if she could speak, but then bizarrely only communicated with gestures and notes, he wrote.

Szczepanik asked if she had anything illegal in the car and she nodded and reached for a handbag in the passenger seat. He told her to keep her hands where he could see them, then to write what was in the bag.

“GUN,” she wrote, according to the affidavit.

The officer said he found a 9mm pistol loaded with four rounds of ammunition in the magazine and one round in the chamber, as well as a second magazine with five rounds.

He also found directions from Ohio to “Langley, McLean, Virginia.” She also had a passport and $100,000 in cash on her, prosecutors said.

Huth apparently had traveled from Ohio, where she has family, according to court documents reviewed by the paper. She has a Virginia driver’s license and previously lived in the Richmond area.

Prosecutors argued Huth suffers from mental health issues and is both a danger and a flight risk.

They said she had previously fled the country when facing criminal charges, which were left unspecified. She has an outstanding warrant for domestic violence from March 2016, issued in Henrico County.

She was charged with possessing a weapon on an agency installation and was held without bond.

A status conference is set for May 1.