A Chinese woman who was arrested after talking her way into Mar-a-Lago last month has been formally indicted, CBS Miami reports. Yujing Zhang, 32, is charged with lying to a federal agent and entering restricted property without permission.

Prosecutors in court have suggested Zhang could have been trying to spy, but that was not reflected in the court filing Friday.

According to the grand jury's indictment, "when asked whether she was authorized to be at the Mar-a-Lago Club and its grounds, the defendant state she was there to attend a 'United Nations Friendship Event,' when in truth and in fact, and as the defendant then and there well knew, no such event was scheduled at Mar-a-Lago and its grounds."

Get Breaking News Delivered to Your Inbox

The Secret Service said Zhang showed up at Mar-a-Lago late last month and first said she was going to the pool with no bathing suit. Later she said she was there to attend a Chinese-American event.

Agents say she had four cellphones, a laptop, an external hard drive and a thumb drive containing malware. The president was golfing nearby at the time.

In this artist sketch, Yujing Zhang, left, listens to a hearing Monday, April 8, 2019, before federal Magistrate Judge William Matthewman in West Palm Beach, Fla. Daniel Pontet/AP

A Secret Service agent said during their investigation, the malware began to install onto an agent's computer on its own, something that's never happened before.

Federal prosecutors revealed that when investigators searched Zhang's hotel room at the upscale Colony Hotel on Palm Beach, they found over $8,000 in U.S. and Chinese cash, another cellphone, a signal detector to check for hidden cameras, credit cards, nine thumb drives and five SIM cards, CBS Miami reported.

Zhang's defense lawyer maintains she's not a spy and that the whole incident was a misunderstanding.

Zhang is in jail and has a detention hearing scheduled for Monday.