AI Uses Its Own Tricks Against Itself: Claude Uncovers an OpenAI Security Flaw

Deep News
Yesterday

A deeply ironic security incident has recently captured the industry's attention. Researchers leveraged Anthropic's latest Claude Opus 5 to transform a simple image processing flaw into a full attack chain, eventually gaining access to an OpenAI employee's ChatGPT account and reaching OpenAI's internal GitHub environment. This episode demonstrates that AI is rapidly accelerating the cybersecurity arms race, dramatically lowering both the barrier and cost associated with advanced vulnerability exploitation.

Security startup Hacktron AI disclosed its operation this week. According to reports, the team obtained access to an OpenAI employee's ChatGPT account and possessed the capability to read and submit changes to OpenAI's private software. Hacktron noted that researchers disclosed the issue on July 25th through OpenAI's Bugcrowd vulnerability bounty program. OpenAI confirmed the same day that it had patched its end and paid the research team a $6,500 bounty.

The significance of this event lies not merely in a single exploited bug, but in the sequential chaining of multiple security boundaries: vulnerabilities in third-party infrastructure, flaws in federated identity authentication, and AI agent accounts deeply connected to internal corporate systems. For enterprises deploying AI agents at scale, this attack route illustrates how previously scattered security risks can be linked via AI accounts into a complete permission chain.

Anatomy of the Attack Chain: From Image Upload to Internal Codebase

The initial entry point was OpenAI's community forum, community.openai.com, which runs on the Discourse platform. Hacktron discovered that HEIC and HEIF images uploaded to Discourse are processed by ImageMagick and decoded using libheif. The researchers pointed out that the libheif version in this environment contained a heap buffer overflow vulnerability, which could be developed into a Remote Code Execution (RCE) exploit. Discourse subsequently acknowledged the flaw, publishing a security advisory on July 28th with a CVSS score of 8.8, patching the bug and strengthening its image processing sandbox.

Breaching the forum server was only the first step. Hacktron then uncovered a separate flaw in the Single Sign-On (SSO) implementation, enabling the researchers to transform control of the forum environment into access to ChatGPT and Codex accounts, including those belonging to OpenAI employees. The researchers emphasized that this privilege escalation was not a Discourse vulnerability, but an independent issue in OpenAI's own authentication layer.

Once inside an employee's Codex account, the researchers found it connected to OpenAI's GitHub organization. They instructed the agent to create a harmless pull request in OpenAI's internal monorepo (openai/openai) to prove that account intrusion could extend to developer infrastructure, deliberately avoiding reading sensitive source code.

Claude Opus 5 Condenses Exploit Development to 72 Hours

Another noteworthy aspect of this event is the direct involvement of an AI model in developing the exploit. Hacktron indicated that researchers initially used Claude Opus 4.8 to analyze the vulnerable libheif and attempt exploitation, but struggled to achieve stable reproduction with Address Space Layout Randomization (ASLR) enabled. Anthropic released Claude Opus 5 on July 24th, positioning it as a significant upgrade for long-running agent tasks and coding.

After switching to Opus 5, the model generated a working ARM64 exploit within hours, subsequently adapting it to the x86-64 and jemalloc environment used by Discourse. Hacktron reported that the entire process, from vulnerability discovery to obtaining access to OpenAI's codebase, took less than 72 hours. This case highlights how AI agents are compressing the time cost of advanced exploit development. What once required extensive reverse engineering, debugging, and development to move from a memory corruption bug to a stable exploit can now be substantially shouldered by frontier coding models under human supervision.

AI Agent Accounts Emerge as New Permission Hubs

Beyond the individual vulnerabilities, the deeper architectural impact of this incident may stem from where AI agent accounts are positioned. Hacktron noted that affected ChatGPT or Codex accounts could connect to services like GitHub, Slack, Outlook, Gmail, and Google Drive. If an AI account is compromised, attackers may inherit downstream system permissions linked to it. This transforms AI accounts from mere application credentials into identity and authorization hubs that connect code, communications, and corporate data.

Hacktron has positioned this OpenAI incident as part of a broader "HEIF Heist" investigation, stating that the same route extends to platforms like Slack, Meta, Zoom, Shopify, and GitHub Enterprise. However, publicly disclosed technical details and vendor confirmations currently focus primarily on the OpenAI case.

For enterprise security teams, this event highlights several critical precautions: isolate untrusted file processing pipelines, promptly patch underlying dependency vulnerabilities, tighten the trust scope of federated authentication, and manage AI agent credentials and permissions with the same rigor as privileged accounts. As AI agents become further integrated into internal systems, the impact of a single compromised AI account could ripple along its connected permission chain to downstream infrastructure.

Disclaimer: Investing carries risk. This is not financial advice. The above content should not be regarded as an offer, recommendation, or solicitation on acquiring or disposing of any financial products, any associated discussions, comments, or posts by author or other users should not be considered as such either. It is solely for general information purpose only, which does not consider your own investment objectives, financial situations or needs. TTM assumes no responsibility or warranty for the accuracy and completeness of the information, investors should do their own research and may seek professional advice before investing.

Most Discussed

  1. 1
     
     
     
     
  2. 2
     
     
     
     
  3. 3
     
     
     
     
  4. 4
     
     
     
     
  5. 5
     
     
     
     
  6. 6
     
     
     
     
  7. 7
     
     
     
     
  8. 8
     
     
     
     
  9. 9
     
     
     
     
  10. 10