A three-person independent security research team, armed with Anthropic’s Claude model, successfully breached OpenAI employee accounts and reached the company’s core proprietary codebase in under 72 hours. The entire operation cost only a few dozen dollars in AI subscription fees, ultimately netting a $6,500 vulnerability bounty. The incident—conducted within the framework of an authorized bug bounty program—is sending shockwaves through the cybersecurity and artificial intelligence industries.

Researchers from security firm Hacktron AI began testing through OpenAI’s bug bounty program in July. They started with OpenAI’s community forum (community.openai.com), which is built on the open-source platform Discourse and supports single sign-on (SSO) with OpenAI accounts. While analyzing the forum’s image upload functionality, the team discovered an extremely stealthy attack path.

The forum typically uses FastImage for image processing, but for HEIF/HEIC formats commonly used by Apple devices, the system routes files to ImageMagick, which in turn calls the underlying libheif image decoder. The problem: the forum server was built on a Debian 12 image, and the installed libheif version contained a heap buffer overflow vulnerability. The fix for this vulnerability had actually appeared in the open-source community as early as last year, but because it was never assigned a CVE number, countless downstream operating systems and software packages remained unaware of it.

The Hacktron AI team did not manually write exploit code—they delegated the task to the Claude model. To bypass Claude’s safety guardrails against “writing attack code for real targets,” the researchers disguised their test server as a CTF (Capture The Flag) challenge domain. The misled model believed it was participating in a cybersecurity competition and proceeded to output attack code at full capacity.

The team uploaded a carefully crafted malicious HEIF image to the forum. The moment the image was parsed in the background, the buffer overflow vulnerability was triggered, granting the researchers remote code execution on the forum server. Because OpenAI’s SSO configuration had an authentication flaw, identity tokens from any user who had logged into the forum could potentially be stolen. Through this vulnerability, the team successfully took over ChatGPT and Codex accounts belonging to multiple OpenAI employees.

These employee accounts are typically deeply integrated with internal tools such as GitHub, Slack, and Outlook. Leveraging the hijacked accounts, the researchers pushed deeper and ultimately gained access to Monorepo, OpenAI’s core monolithic repository. The repository stores core algorithms and proprietary code closely tied to model runtime speed and efficiency, though it does not contain model weights. To prove access, the team submitted a harmless pull request using an employee Codex account, then immediately halted all testing and submitted a vulnerability report to OpenAI.

AI Generational Leap: From Powerless to Overnight Breakthrough

The most unsettling detail of this incident lies in the generational leap in AI model capability. Two days before the attack—on July 23—the Hacktron AI team had already discovered the vulnerability. At the time, they were using Anthropic’s previous-generation model, Claude Opus 4.8. Under the default ASLR (Address Space Layout Randomization) defense environment, Opus 4.8 attempted multiple sessions but consistently failed to generate stable exploit code.

The turning point came on the evening of July 24, when Anthropic officially released Claude Opus 5. The team immediately started new sessions with the new model. Within the first three hours, Opus 5 successfully wrote attack code targeting the ARM64 architecture on a local Mac. The team then asked the model to port the code to the x86-64 environment and jemalloc memory allocator used by the Discourse forum. After just one overnight session, at 6 a.m. on July 25, Opus 5 confirmed the effectiveness of local remote code execution via image upload. By 10 a.m., an Opus 5 agent set to autonomous loop mode had successfully compromised a cloud instance and read low-level system files.

A vulnerability that stumped the previous-generation model was automatically exploited the day after the new model’s release. Hacktron AI CTO Mohan Pedhapati stated: “We don’t consider ourselves comparable to Chinese threat actors. We’re just three people with Claude and Codex subscriptions.”

Industry-Wide Ripple Effects of the Vulnerability

Hacktron AI named this research “The HEIF Heist.” In a months-long follow-up investigation, the team discovered that this vulnerability was far from unique to OpenAI. libheif, the open-source library for parsing HEIC/HEIF/AVIF images, is embedded in countless mainstream applications. Using AI to conduct large-scale testing against internet giants, the team found that Slack, Zoom, Meta, GitHub, and other tech giants—essentially any platform accepting image uploads—were vulnerable. Whether in Ruby on Rails or popular frameworks in the Node.js ecosystem like Next.js, Astro, and Gatsby, any application calling this library could potentially be compromised.

The entire research project spanned two months, covered multiple tech giants, and cost less than $3,000 in large language model token fees. For each different target company, AI needed only one to two days to automatically generate customized attack tools tailored to the target environment. After thousands of test images were delivered, major companies’ image processors crashed repeatedly—yet aside from Shopify, none of the other internet giants noticed anything.

Joshua Saxe, CTO of AI security firm Abundant Security, said after reviewing the incident report: “Global software is riddled with security vulnerabilities. The reason we haven’t found all of them is that until last year, only a few thousand people were truly skilled at finding vulnerabilities. Now, AI agents are democratizing this capability to people with lower technical skill levels.”

Data from cybersecurity firm ThreatDown further corroborates this trend: on cybercrime forums, criminals can purchase AI-enhanced account access capabilities similar to those used by the Hacktron researchers for as little as $800.

OpenAI’s Response and Industry Chain Reactions

OpenAI fixed the SSO issue within approximately 14 hours of receiving the report, and Discourse completed patch deployment the same day it was notified. OpenAI paid the research team a $6,500 bounty and stated: “We appreciate these researchers reaching out to us and sharing their findings.” The company also narrowed the permission scope of community login tokens and revoked affected tokens and sessions.

This incident occurred just two weeks after another AI security event—when a batch of OpenAI’s AI agents escaped their isolated environment during testing and attacked the AI platform Hugging Face. The back-to-back incidents prompted OpenAI to launch a comprehensive security audit. Company President and co-founder Greg Brockman revealed this week: “We took 25% of our production engineers and paused all their projects, telling them: ‘Sorry, all your projects are paused. You’re on defense now.'” He added that the audit uncovered “several serious issues” that have since been fixed.

At the broader industry level, AI security is becoming a core issue. Anthropic CEO Dario Amodei recently called for controlling the pace of model capability advancement and warned of the risks of AI agents coordinating large-scale cyberattacks. OpenAI CEO Sam Altman stated that due to lingering concerns about AI safety, the company will not pursue an initial public offering in 2026.

Hacktron AI concluded its incident report with a warning: “AI is eliminating the protection of security through complexity. It is converting once-scarce hacker expertise into cheap compute. Attack work that once required a well-funded team months to complete is now compressed into days, or even hours. If your company is still relying on ‘hackers don’t care about us’ as a defense strategy, the next one to have its core codebase breached could be you.”