Skip to content

[Bug]: macOS desktop update fails: "Code Signature Invalid" + XProtect blocks launch (rebranded MiniMax Agent on Intel) #99

Description

@mihaSpb

Version / 版本号

3.0.47

Platform / 平台

macOS

OS version / 系统版本

Sequoia 15.7.7 (24G720)

Issue area / 问题类型

Startup / install / update

Upload ID / 日志上传 ID

cannot upload

What happened? / 问题描述

After the in-app auto-updater installed the latest build (post Desktop Rebrand to "MiniMax Code"), the app no longer launches on macOS. The OS kills the process at start with CODESIGNING 1 Taskgated Invalid Signature → "Code Signature Invalid". macOS XProtect then flags the bundle as malicious and moves it to the Trash with the message "Your Mac was not harmed."

This blocks both launch and reinstall via the auto-updater, so the desktop client is effectively unusable.

Repro

  1. Install MiniMax Code (or pre-rebrand MiniMax Agent) on macOS Intel from https://code.minimax.io/download.
  2. Let the in-app updater run; it downloads and installs the latest build.
  3. Relaunch the app.

Environment

  • Device: MacBook Air (Intel), MacBookAir9,1
  • OS: macOS Sequoia 15.7.7 (24G720)
  • Bundle ID: com.minimax.agent (note: id still references the old "MiniMax Agent" name, while binary/Dock label are now "MiniMax Code")
  • Binary arch: Mach-O thin (x86_64), Intel-only — confirmed via lipo -info

What I tried

  • xattr -cr "/Applications/MiniMax Code.app" — clears quarantine, no effect
  • codesign --force --deep --sign - "/Applications/MiniMax Code.app" — re-signs ad-hoc, but then XProtect blocks it as malware
  • codesign -dv --verbose=4 after re-signing shows Signature=adhoc, TeamIdentifier=not set, Notarization Ticket=stapled

Crash report excerpt

Steps to reproduce / 复现步骤

  1. Install MiniMax Code (previously "MiniMax Agent") on macOS Intel from https://code.minimax.io/download
  2. Open the app and let the in-app auto-updater run; it downloads and installs the latest build
  3. Quit and relaunch the app
  4. App is killed immediately by macOS at launch with a "Code Signature Invalid" error

Expected behavior / 预期行为

The app launches normally after the auto-update, as it did before the rebrand to "MiniMax Code".

Actual behavior / 实际行为

macOS kills the process at launch with EXC_CRASH (SIGKILL (Code Signature Invalid)) and CODESIGNING 1 Taskgated Invalid Signature. The crash report shows dyld_path_missing and main_executable_path_missing binary images, with empty codeSigningID and codeSigningTeamID.

After attempting to recover with xattr -cr and codesign --force --deep --sign - (ad-hoc re-sign), XProtect then flags the bundle as malicious and moves it to the Trash with the message "MiniMax Code.app contains malicious software. Your Mac was not harmed."

The desktop client is effectively unusable — neither the current build nor a re-signed copy can be launched.

Crash report excerpt:

Logs or crash report / 日志或崩溃信息

{"app_name":"MiniMax Code","timestamp":"2026-06-28 10:01:37.00 +0300","app_version":"3.0.47","slice_uuid":"4c4c4437-5555-3144-a173-9f073394a9bc","build_version":"3.0.47.74","platform":0,"bundleID":"com.minimax.agent","share_with_app_devs":1,"is_first_party":0,"bug_type":"309","os_version":"macOS 15.7.7 (24G720)","roots_installed":0,"name":"MiniMax Code","incident_id":"5033AB8E-7F78-43A3-9F6A-2EA6E278E7AE"}
{
  "uptime" : 36000,
  "procRole" : "Default",
  "version" : 2,
  "userID" : 501,
  "deployVersion" : 210,
  "modelCode" : "MacBookAir9,1",
  "coalitionID" : 3976,
  "osVersion" : {
    "train" : "macOS 15.7.7",
    "build" : "24G720",
    "releaseType" : "User"
  },
  "captureTime" : "2026-06-28 10:01:36.7397 +0300",
  "codeSigningMonitor" : 0,
  "incident" : "5033AB8E-7F78-43A3-9F6A-2EA6E278E7AE",
  "pid" : 5102,
  "cpuType" : "X86-64",
  "roots_installed" : 0,
  "bug_type" : "309",
  "procLaunch" : "2026-06-28 10:01:36.5216 +0300",
  "procStartAbsTime" : 36968306313168,
  "procExitAbsTime" : 36968524049993,
  "procName" : "MiniMax Code",
  "procPath" : "\/Applications\/MiniMax Code.app\/Contents\/MacOS\/MiniMax Code",
  "bundleInfo" : {"CFBundleShortVersionString":"3.0.47","CFBundleVersion":"3.0.47.74","CFBundleIdentifier":"com.minimax.agent"},
  "storeInfo" : {"deviceIdentifierForVendor":"21F95742-BADB-5DAE-9BCD-0E59038AC080","thirdParty":true},
  "parentProc" : "launchd",
  "parentPid" : 1,
  "coalitionName" : "com.minimax.agent",
  "crashReporterKey" : "2F727019-0478-893B-7268-C97BABD203D0",
  "appleIntelligenceStatus" : {"reasons":["selectedLanguageIneligible","deviceNotCapable","selectedLanguageDoesNotMatchSelectedSiriLanguage"],"state":"unavailable"},
  "codeSigningID" : "",
  "codeSigningTeamID" : "",
  "codeSigningFlags" : 16777216,
  "codeSigningValidationCategory" : 0,
  "codeSigningTrustLevel" : 4294967295,
  "codeSigningAuxiliaryInfo" : 0,
  "bootSessionUUID" : "11B92AC9-5DAF-461C-98C1-12FE1BB06252",
  "bridgeVersion" : {"build":"23P5067","train":"10.5"},
  "sip" : "enabled",
  "exception" : {"codes":"0x0000000000000000, 0x0000000000000000","rawCodes":[0,0],"type":"EXC_CRASH","signal":"SIGKILL (Code Signature Invalid)"},
  "termination" : {"flags":66,"code":1,"namespace":"CODESIGNING","indicator":"Taskgated Invalid Signature"},
  "extMods" : {"caller":{"thread_create":0,"thread_set_state":0,"task_for_pid":0},"system":{"thread_create":0,"thread_set_state":0,"task_for_pid":0},"targeted":{"thread_create":0,"thread_set_state":0,"task_for_pid":0},"warnings":0},
  "faultingThread" : 0,
  "threads" : [{"triggered":true,"id":265392,"threadState":{"r13":{"value":0},"rax":{"value":0},"rflags":{"value":512},"cpu":{"value":0},"r14":{"value":0},"rsi":{"value":0},"r8":{"value":0},"cr2":{"value":0},"rdx":{"value":0},"r10":{"value":0},"r9":{"value":0},"r15":{"value":0},"rbx":{"value":0},"trap":{"value":0},"err":{"value":0},"r11":{"value":0},"rip":{"value":4532710800,"matchesCrashFrame":1},"rbp":{"value":0},"rsp":{"value":140701990176144},"r12":{"value":0},"rcx":{"value":0},"flavor":"x86_THREAD_STATE","rdi":{"value":0}},"frames":[{"imageOffset":19856,"symbol":"_dyld_start","symbolLocation":0,"imageIndex":0},{"imageOffset":1,"imageIndex":2}]}],
  "usedImages" : [
  {
    "source" : "P",
    "arch" : "x86_64",
    "base" : 4532690944,
    "size" : 634880,
    "uuid" : "8d7a2378-0c9a-3c22-bf24-79ab3cf6d207",
    "path" : "\/dyld_path_missing",
    "name" : "dyld_path_missing"
  },
  {
    "source" : "P",
    "arch" : "x86_64",
    "base" : 4358615040,
    "size" : 8192,
    "uuid" : "4c4c4437-5555-3144-a173-9f073394a9bc",
    "path" : "\/main_executable_path_missing",
    "name" : "main_executable_path_missing"
  },
  {
    "size" : 0,
    "source" : "A",
    "base" : 0,
    "uuid" : "00000000-0000-0000-0000-000000000000"
  }
],
  "vmSummary" : "ReadOnly portion of Libraries: Total=984K resident=0K(0%) swapped_out_or_unallocated=984K(100%)\nWritable regions: Total=8328K written=0K(0%) resident=0K(0%) swapped_out=0K(0%) unallocated=8328K(100%)\n\n                                VIRTUAL   REGION \nREGION TYPE                        SIZE    COUNT (non-coalesced) \n===========                     =======  ======= \nSTACK GUARD                       56.0M        1 \nStack                             8192K        1 \nVM_ALLOCATE                         16K        1 \n__DATA                             140K        2 \n__DATA_CONST                        32K        2 \n__DATA_DIRTY                         8K        2 \n__LINKEDIT                         368K        3 \n__TEXT                             628K        2 \n__TPRO_CONST                         4K        1 \nmapped file                        4.6G       32 \nshared memory                        8K        2 \n===========                     =======  ======= \nTOTAL                              4.7G       49 \n",
  "legacyInfo" : {
  "threadTriggered" : {

  }
},
  "logWritingSignature" : "4351731a2dd93ccc2e482bd1c404509671070e2d",
  "trialInfo" : {
  "rollouts" : [
    {
      "rolloutId" : "67d07cd6a7affa169ae21f45",
      "factorPackIds" : {

      },
      "deploymentId" : 240000002
    },
    {
      "rolloutId" : "670e9bd77a111748a97092a1",
      "factorPackIds" : {
        "SIRI_TTS_DEVICE_TRAINING" : "67d07fb744f1a3655d87002b"
      },
      "deploymentId" : 240000016
    }
  ],
  "experiments" : [

  ]
},
  "reportNotes" : [
  "dyld_process_snapshot_get_shared_cache failed"
]
}


{"app_name":"MiniMax Code","timestamp":"2026-06-28 10:02:06.00 +0300","app_version":"","slice_uuid":"4c4c4437-5555-3144-a173-9f073394a9bc","build_version":"","platform":0,"share_with_app_devs":1,"is_first_party":1,"bug_type":"309","os_version":"macOS 15.7.7 (24G720)","roots_installed":0,"incident_id":"9C16F809-DA3E-4F13-904C-F0A5392D8D63","name":"MiniMax Code"}
{
  "uptime" : 36000,
  "procRole" : "Default",
  "version" : 2,
  "userID" : 501,
  "deployVersion" : 210,
  "modelCode" : "MacBookAir9,1",
  "coalitionID" : 3976,
  "osVersion" : {
    "train" : "macOS 15.7.7",
    "build" : "24G720",
    "releaseType" : "User"
  },
  "captureTime" : "2026-06-28 10:02:06.4961 +0300",
  "codeSigningMonitor" : 0,
  "incident" : "9C16F809-DA3E-4F13-904C-F0A5392D8D63",
  "pid" : 5132,
  "cpuType" : "X86-64",
  "roots_installed" : 0,
  "bug_type" : "309",
  "procLaunch" : "2026-06-28 10:02:06.3200 +0300",
  "procStartAbsTime" : 36998103135057,
  "procExitAbsTime" : 36998278901759,
  "procName" : "MiniMax Code",
  "procPath" : "\/Applications\/MiniMax Code.app\/Contents\/MacOS\/MiniMax Code",
  "parentProc" : "launchd",
  "parentPid" : 1,
  "coalitionName" : "com.minimax.agent",
  "crashReporterKey" : "2F727019-0478-893B-7268-C97BABD203D0",
  "appleIntelligenceStatus" : {"state":"unavailable","reasons":["selectedLanguageIneligible","deviceNotCapable","selectedLanguageDoesNotMatchSelectedSiriLanguage"]},
  "codeSigningID" : "",
  "codeSigningTeamID" : "",
  "codeSigningFlags" : 16777216,
  "codeSigningValidationCategory" : 0,
  "codeSigningTrustLevel" : 4294967295,
  "codeSigningAuxiliaryInfo" : 0,
  "bootSessionUUID" : "11B92AC9-5DAF-461C-98C1-12FE1BB06252",
  "bridgeVersion" : {"build":"23P5067","train":"10.5"},
  "sip" : "enabled",
  "exception" : {"codes":"0x0000000000000000, 0x0000000000000000","rawCodes":[0,0],"type":"EXC_CRASH","signal":"SIGKILL (Code Signature Invalid)"},
  "termination" : {"flags":66,"code":1,"namespace":"CODESIGNING","indicator":"Taskgated Invalid Signature"},
  "extMods" : {"caller":{"thread_create":0,"thread_set_state":0,"task_for_pid":0},"system":{"thread_create":0,"thread_set_state":0,"task_for_pid":0},"targeted":{"thread_create":0,"thread_set_state":0,"task_for_pid":0},"warnings":0},
  "faultingThread" : 0,
  "threads" : [{"triggered":true,"id":266270,"threadState":{"r13":{"value":0},"rax":{"value":0},"rflags":{"value":512},"cpu":{"value":0},"r14":{"value":0},"rsi":{"value":0},"r8":{"value":0},"cr2":{"value":0},"rdx":{"value":0},"r10":{"value":0},"r9":{"value":0},"r15":{"value":0},"rbx":{"value":0},"trap":{"value":0},"err":{"value":0},"r11":{"value":0},"rip":{"value":4360093072,"matchesCrashFrame":1},"rbp":{"value":0},"rsp":{"value":140702005106064},"r12":{"value":0},"rcx":{"value":0},"flavor":"x86_THREAD_STATE","rdi":{"value":0}},"frames":[{"imageOffset":19856,"symbol":"_dyld_start","symbolLocation":0,"imageIndex":0},{"imageOffset":1,"imageIndex":2}]}],
  "usedImages" : [
  {
    "source" : "P",
    "arch" : "x86_64",
    "base" : 4360073216,
    "size" : 634880,
    "uuid" : "8d7a2378-0c9a-3c22-bf24-79ab3cf6d207",
    "path" : "\/dyld_path_missing",
    "name" : "dyld_path_missing"
  },
  {
    "source" : "P",
    "arch" : "x86_64",
    "base" : 4343685120,
    "size" : 8192,
    "uuid" : "4c4c4437-5555-3144-a173-9f073394a9bc",
    "path" : "\/main_executable_path_missing",
    "name" : "main_executable_path_missing"
  },
  {
    "size" : 0,
    "source" : "A",
    "base" : 0,
    "uuid" : "00000000-0000-0000-0000-000000000000"
  }
],
  "vmSummary" : "ReadOnly portion of Libraries: Total=984K resident=0K(0%) swapped_out_or_unallocated=984K(100%)\nWritable regions: Total=8328K written=0K(0%) resident=0K(0%) swapped_out=0K(0%) unallocated=8328K(100%)\n\n                                VIRTUAL   REGION \nREGION TYPE                        SIZE    COUNT (non-coalesced) \n===========                     =======  ======= \nSTACK GUARD                       56.0M        1 \nStack                             8192K        1 \nVM_ALLOCATE                         16K        1 \n__DATA                             140K        2 \n__DATA_CONST                        32K        2 \n__DATA_DIRTY                         8K        2 \n__LINKEDIT                         368K        3 \n__TEXT                             628K        2 \n__TPRO_CONST                         4K        1 \nmapped file                        4.6G       32 \nshared memory                        8K        2 \n===========                     =======  ======= \nTOTAL                              4.7G       49 \n",
  "legacyInfo" : {
  "threadTriggered" : {

  }
},
  "logWritingSignature" : "4351731a2dd93ccc2e482bd1c404509671070e2d",
  "trialInfo" : {
  "rollouts" : [
    {
      "rolloutId" : "67d07cd6a7affa169ae21f45",
      "factorPackIds" : {

      },
      "deploymentId" : 240000002
    },
    {
      "rolloutId" : "670e9bd77a111748a97092a1",
      "factorPackIds" : {
        "SIRI_TTS_DEVICE_TRAINING" : "67d07fb744f1a3655d87002b"
      },
      "deploymentId" : 240000016
    }
  ],
  "experiments" : [

  ]
},
  "reportNotes" : [
  "dyld_process_snapshot_get_shared_cache failed"
]
}

Screenshots / 截图

No response

Before submitting / 提交前确认

  • I have searched existing issues.
  • I am using the latest version available to me.
  • I have removed sensitive information from logs/screenshots.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions