A federal magistrate judge in San Francisco has ordered Abdulrahman Alfozan, a former OpenAI engineer accused of planting recording devices in the company's offices, to remain in custody while he awaits trial, after prosecutors alleged he had been in contact with a member of the Saudi royal family and was preparing to leave the United States. The detention order followed a court filing on Sunday by US attorney Craig Missakian arguing that Alfozan posed an unmanageable flight risk, according to a report by Ars Technica. Business Insider reported that Magistrate Judge Alex G. Tse agreed at a Monday hearing that Alfozan should be detained while mounting his defense.
The case is among the most unusual espionage prosecutions to emerge from the AI boom, and it lands at a sensitive moment for an industry whose laboratories routinely handle both corporate secrets and government classified work. For readers following the broader competitive and security stakes, our AI industry news section tracks how the sector's companies are responding. OpenAI and federal prosecutors are both aware that Saudi Arabia has dedicated this year to advancing its AI ambitions through the kingdom's Vision 2030 program, Ars Technica noted, a push that Sam Altman himself joined Donald Trump in celebrating at a summit in the region.
What Prosecutors Allege
According to the government's court filing described by Ars Technica, the device hidden in an OpenAI conference room was in place for "at least multiple days" and recorded during a top-secret meeting between OpenAI executives and US government officials. "In the days surrounding the time period that the device was installed, OpenAI executives met with government officials in that very room," the filing said, adding that the alleged conduct "could pose a danger to the national security of the United States."
The complaint paints a picture of methodical preparation. Prosecutors allege that Alfozan used an internal OpenAI productivity agent to research which conference rooms might be best suited to exploitation, and that logs suggest he used his wife's personal ChatGPT account to research ways to modify covert recording devices so they would begin recording automatically upon detecting speech and could be accessed remotely. After his arrest, Alfozan declined to speak with the FBI and requested an attorney, though his wife confirmed to investigators that she had seen her ChatGPT account open on his laptop, the filing said.
The FBI's search of Alfozan's home turned up recording devices similar to the ones allegedly planted in OpenAI's offices, prosecutors said. Photos on his iPhone depicted at least one additional concealed device and the input and output panels of televisions and other electronics in various OpenAI buildings, including another conference room where sensitive meetings frequently occurred. Shortly before his arrest, the FBI found he had accessed an iPhone folder called "Saudi Gov Docs" in which he had also allegedly stored photos of a second planted bug.
Saudi Royal Family Contact and the Flight Risk Case
The government's detention argument rested heavily on evidence of ties to Riyadh. According to the filing, Alfozan had been chatting on WhatsApp with a member of the Saudi royal family while pursuing opportunities to move back to Saudi Arabia permanently during what prosecutors described as the country's biggest AI push yet.
The FBI arrested Alfozan days before a planned departure, Missakian said. He had already booked one-way tickets for himself, his wife, and their baby to Riyadh — a purchase prosecutors alleged was "paid for by the Saudi government." After the arrest, his wife and son booked an earlier flight and left the United States without him. The filing further alleged that a member of the Saudi military booked and paid for yet another one-way ticket for the defendant.
Prosecutors also pointed to the defendant's finances: despite what they described as significant compensation from a decade of high-tech employment in the Bay Area, Alfozan has "ample resources" to flee, the government argued, and holds at least two bank accounts in Saudi Arabia. Although FBI agents seized his Saudi passport at the time of arrest, Missakian wrote that nothing would stop him from obtaining travel documents and leaving the country, "with or without the help of a foreign government that has previously assisted its citizens depart the United States under similar circumstances."
That reference was to the prosecution of former Twitter employees charged with spying for Saudi Arabia. Charges remain pending against one of them, Ali Alzabarah, the government noted, partly because a Saudi foreign official allegedly helped coordinate a next-day flight to the kingdom shortly after Twitter confronted him.
A Highly Paid Insider With Deep US Roots
The profile that emerged at the detention hearing complicates the typical outsider-espionage narrative. Alfozan moved to the United States in 2009, earned technical degrees from MIT and UC Berkeley, and spent more than a decade working in Silicon Valley, according to the government's filing. OpenAI hired him as an engineer in or around July 2025 with an annual base salary of $325,000 and a new-hire equity grant of $2.2 million in profit participation units, prosecutors said.
The alleged scheme, the government said, began in the months after his hiring. OpenAI, detecting nothing amiss, was preparing to grant him parental leave. His wife's student visa had expired, and prosecutors said he planned to use two months of paid time off to help her and the couple's baby move back to Saudi Arabia permanently. The recording device was discovered roughly two weeks before the booked departure.
Why It Matters for AI Labs
The allegations, which remain unproven and will be tested at trial, arrive as frontier AI companies deepen their entanglement with national security work — hosting classified meetings, bidding for government contracts, and building data centers under federal scrutiny. A recording device sitting for days in a room where OpenAI executives met US government officials illustrates the exposure that even the most security-conscious laboratories face from trusted insiders.
It also underscores the geopolitical currents running through commercial AI. Saudi Arabia's Vision 2030 program has funneled billions of dollars into domestic AI capacity and international partnerships, and US prosecutors are now alleging that a foreign government's support extended to the family of a man accused of bugging an American AI laboratory. The case against Alfozan is ongoing, and he has not yet entered a plea; the detention ruling means he will await it in custody.
---
Stay Ahead of AIGet the latest AI news, analysis, and breakthroughs — all in one place.
Read more AI news →