A Patched ChatGPT Mac Flaw Put Chats and Browser Access at Risk
Researchers found a flaw in the macOS ChatGPT app that could let malware already on a computer access chat logs and use the app to issue commands. OpenAI acknowledged and patched the vulnerability, which exposed how trusted AI app components can become a target.
A flaw in the macOS version of ChatGPT could have allowed an attacker with malware already installed on a computer to access chat logs and make requests through the app. The vulnerability has been patched, but researchers say it highlights the risks that come with giving AI software access to other parts of a system.
“The flaw could let existing malware access private chats and use ChatGPT to issue commands, though it required malware on the device and has been patched.”Why it scores Terminator
How the flaw crossed a security boundary
ChatGPT’s Mac app uses several components that check digital signatures when communicating. These checks are meant to confirm that a request comes from OpenAI software, rather than from an outside program attempting to impersonate it.
The protections also checked the processes above the component making a request. Researchers at the Objective-See Foundation found a way around those checks: a trusted script interpreter could be given an untrusted script, then manipulated to pass it into ChatGPT’s main process.
By spawning the interpreter three times, the malicious script could satisfy checks on the process, its parent and its grandparent. The vulnerability therefore relied on malware already being present on the target computer; it was not described as a way to infect a machine by itself.
What an attacker could do
Once inside the ChatGPT process, an attacker could potentially reach chat logs and other data stored by the app. The vulnerability could also let the attacker ask ChatGPT to run commands, including requests to access a browser or other sensitive applications.
Because those requests would appear to come from OpenAI software, they could pass as legitimate activity. That matters because the app’s connections to other tools and sessions may give it access beyond the conversation window itself.
Objective-See Foundation software analyst and macOS researcher Patrick Wardle said the proof of concept took about a dozen lines of code. He described the vulnerability as “insanely trivial” to exploit, while emphasizing that an attacker would first need malware on the computer.
Why AI apps can attract attackers
AI assistants often need access to system features and connected services to carry out tasks. That access can make them useful, but it also means a compromise of the assistant may have consequences beyond the assistant’s own data.
Wardle compared agents to a building manager with keys to every room. If that trusted intermediary is corrupted, code with fewer privileges could potentially reach resources that would otherwise be harder to access.
The ChatGPT flaw shows how security checks can be carefully layered and still leave an opening in the way components interact. A trusted interpreter became a path through protections intended to ensure that requests came from legitimate app processes.
OpenAI patched the issue as scrutiny grows
OpenAI publicly acknowledged the security flaw and its fix in a system change log on September 25. OpenAI spokesperson Shane Bauer told WIRED, “We continue to evolve our security practices, but recognize a need to move faster.”
Wardle said he would present analysis of several AI macOS application bugs at Objective by the Sea, an Apple-focused security conference in November. He also reported a patched flaw in the dictation feature of Meta’s new Muse AI assistant, which could have let a local attacker obtain a mishandled authentication token and access user data.
Separately, Wardle had submitted a vulnerability finding to OpenAI involving the integration between ChatGPT and the company’s new always-on Dots AI assistant. OpenAI was reviewing that report, according to the article.
As AI products add features and connections, their attack surface can expand. The patched ChatGPT issue is a reminder that protecting an AI service also means securing the local software and trusted components that let it work with a user’s computer.
Read next