Skip to content

macOS malware/Gatekeeper warning appears after Codex app update; codesign verification fails #30972

Open

Description

@gogo55555

What happened

After updating the Codex macOS app and restarting it, macOS showed a malware/Gatekeeper-style warning for Codex again.

This warning had previously appeared repeatedly during normal use. A normal restart did not fix it. It seemed to stop after a macOS update and reinstall, but it reappeared after the latest Codex app update.

Environment

  • macOS: 26.5.2 (25F84)
  • SIP: Enabled
  • Codex app: 26.623.101652
  • Bundled CLI: codex-cli 0.142.5
  • App path: /Applications/Codex.app
  • Architecture reported by codesign: arm64

Diagnostics

Running:

codesign --verify --deep --strict --verbose=4 /Applications/Codex.app

returns:

/Applications/Codex.app: invalid signature (code or signature have been modified)
In architecture: arm64

Running:

spctl --assess --type execute -vv /Applications/Codex.app

returns:

/Applications/Codex.app: internal error in Code Signing subsystem

Running:

codesign -dv --verbose=4 /Applications/Codex.app

shows:

Executable=/Applications/Codex.app/Contents/MacOS/Codex
Identifier=com.openai.codex
Format=app bundle with Mach-O thin (arm64)
TeamIdentifier=2DC432GLL2
Notarization Ticket=stapled
Authority=(unavailable)
Runtime Version=26.0.0
Sealed Resources version=2 rules=13 files=8506

Expected behavior

Codex should update and relaunch without macOS showing malware/Gatekeeper warnings, and the installed app should pass normal macOS signature/Gatekeeper verification.

Actual behavior

After the Codex update, macOS showed the warning again and local verification reports an invalid signature.

Notes

I can provide screenshots and logs from ~/Library/Logs/com.openai.codex/ if helpful.

Activity

  1. added
    bugSomething isn't working
    appIssues related to the Codex desktop app
    on Jul 3, 2026
  2. github-actions commented on Jul 3, 2026

    @github-actions
    Contributor

    Potential duplicates detected. Please review them and close your issue if it is a duplicate.

    Powered by Codex Action

  3. dgobaud commented on Jul 6, 2026

    @dgobaud

    related / duplicate with additional info maybe - #31251

  4. vanphongkoriuniform-dot commented on Jul 11, 2026

    @vanphongkoriuniform-dot

    I can confirm this issue on an Intel Mac.

    Environment

    • iMac Pro 2017
    • Intel Xeon W (x86_64)
    • macOS Sequoia 15.7.3
    • ChatGPT Plus

    The previous Intel Codex Desktop build worked normally until July 10.

    After the recent security credential rotation, macOS now displays:

    Malware Blocked and Moved to Trash

    I verified the installer:

    codesign:

    Identifier=com.openai.codex
    Format=app bundle with Mach-O thin (x86_64)
    TeamIdentifier=2DC432GLL2

    Gatekeeper:

    CSSMERR_TP_CERT_REVOKED

    The DMG mounts successfully and Codex.app is present inside the installer.

    This appears to be the same issue caused by the revoked signing certificate.

    One additional concern is that the latest ChatGPT Desktop does not support Intel Macs, so Intel users currently have no working desktop upgrade path.

    Please let me know if you need any additional logs or if I can help test a newly signed Intel build.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    appIssues related to the Codex desktop appbugSomething isn't working

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions