Secret Service agents busted a mystery woman carrying a pair of Chinese passports and a thumb drive with malicious software on it at President Trump’s Florida resort while he was there this past weekend.

And the woman, Yujing Zhang, 32, was trying to gain access to an event advertised on Chinese-language social media by Li “Cindy” Yang, the South Florida massage parlor entrepreneur who operated a consulting business selling access to President Trump and his family, the Miami Herald reported.

Prosecutors said in court documents that Zhang first told agents at Mar-a-Lago that she was there to take a dip in the pool and showed a passport as ID, the South Florida Sun-Sentinel reported.

The agents said she wasn’t on the membership list, but a club manager thought Zhang was the daughter of a member of the posh resort.

Agents said that when they asked the woman if one of the members was her father, she did not give a straight answer.

But they chalked it up to a simple language barrier issue and let her slide.

Zhang’s story later changed, however, and she told a receptionist she was there to attend a UN Chinese-American event — one that didn’t exist.

But Zhang could have been referring to a “Safari Night” touted by Yang on social media that had been scheduled to benefit a local youth charity.

But the event was canceled after the Herald revealed that Yang — a former owner of the massage parlor where New England Patriots owner Robert Kraft was charged with soliciting prostitution — had taken photographs with Trump and other GOP leaders to get Chinese clients into events with the president.

On the website for her consulting business, Yang also advertised a March 30 “International Leaders Elite Forum,” calling it a “once-in-a-lifetime opportunity” and the first event at Mar-a-Lago with “the Chinese as the protagonist.”

That event also did not take place, the Herald reported.

Agent Samuel Ivanovich wrote in court papers that Zhang told him she was there for the Chinese-American event and showed him an invite in Chinese he couldn’t read, the paper reported.

Ivanovich said Zhang was booted from the grounds and told she could not remain there.

He said the woman then started arguing with him, so she was taken to the local Secret Service office for questioning.

According to the court documents, Zhan “freely and without difficulty” spoke to the agent in English.

The agent told her that she had “unlawfully gained access onto the protected grounds.”

“During this interview, Zhang then became verbally aggressive with agents and she was detained and transported back to the” Secret Service office in West Palm Beach.

The agent said Zhang told him she had traveled all the way from Shanghai to go to the Mar-a-Lago event.

Ivanovich said she then denied telling the checkpoint agents that she was a member and only wanted to take a swim.

Ivanovich said Zhang carried four cellphones, a laptop, an external hard drive and a thumb drive containing malware — but no swimsuit.

She was charged with making false statements to federal agents and illegally entering a restricted area.

She remained in custody pending a hearing next week.