Windows: SecureLink process injection crashes Codex App host with 0xC0000005
What version of the Codex App are you using (From “About Codex” dialog)?
26.715.4045.0 (Microsoft Store package OpenAI.Codex_26.715.4045.0_x64__2p2nqsd0c76g0)
What subscription do you have?
ChatGPT subscription with Codex App access. The exact tier is omitted from this public diagnostic report because it does not affect the local crash.
What platform is your computer?
Microsoft Windows NT 10.0.26200.0 x64 (Windows 11 Home)
What issue are you seeing?
Codex App started and then silently exited within seconds. There was no visible crash dialog.
The crashing process was the Chromium-based desktop host, ChatGPT.exe, with exit code 3221225477 (0xC0000005, access violation). The bundled codex.exe child process subsequently exited with code 0, so this was not a Codex CLI crash.
Codex App's Crashpad generated an approximately 44 MB minidump on each failed launch. A pre-crash module capture showed two non-OpenAI, non-Microsoft DLLs loaded in the ChatGPT.exe main process:
C:\Windows\System32\drivers\WsInjtdll64.dll
C:\Windows\System32\drivers\WsInjProctDll64.dll
Both files had valid digital signatures from Wangsu Science and Technology Co., Ltd. The machine had SecureLink 3.8.5 installed. Its SecureLink service was running with automatic startup, and its WsInjCoreDrv kernel driver was running with system startup.
After uninstalling SecureLink with its vendor uninstaller and rebooting Windows:
- the
SecureLinkservice was absent; - the
WsInjCoreDrvdriver was absent; - no
WsInj*module was loaded in anyChatGPT.exeprocess; - Codex App launched and remained stable;
- no new related Application Error / Windows Error Reporting event or Crashpad dump appeared after reboot.
This A/B result identifies SecureLink 3.8.5 process injection as the cause of this specific crash.
What steps can reproduce the bug?
The issue reproduced consistently in this environment before SecureLink was removed:
- Use Windows 11 x64 with SecureLink 3.8.5 installed and its
WsInjCoreDrvdriver active. - Launch the Microsoft Store Codex App package via the Start menu or
shell:AppsFolder\OpenAI.Codex_2p2nqsd0c76g0!App. - Observe that
ChatGPT.exestarts and silently exits within seconds with0xC0000005. - Observe a new dump under the app's Crashpad reports directory.
- Capture the desktop host's loaded modules before it exits;
WsInjtdll64.dllandWsInjProctDll64.dllare present. - Uninstall SecureLink using its supported uninstaller and reboot Windows.
- Launch Codex App again. The
WsInj*modules are absent and the app remains stable.
Additional isolation performed before identifying SecureLink:
- Starting with a completely fresh
.codexdirectory did not change the crash. - Disabling an Oray virtual display adapter and rebooting did not change the crash.
- Reinstalling/resetting user state did not address the host-process access violation.
What is the expected behavior?
Codex App should remain open. If an unsupported third-party process-injection module is detected, the app should ideally surface an actionable compatibility message instead of terminating silently.
Additional information
- Sanitized public case study with the full diagnostic sequence: https://eugnelnc.github.io/ywk-ai.github.io/writings/tech/codex-windows-securelink-crash.html
- This appears related by symptom to #25376 and #19258, but those reports do not identify SecureLink/Wangsu injection modules. This report has a confirmed before/after root cause.
- The valid Wangsu signatures show that the modules were authentic; they do not guarantee compatibility with the Chromium build embedded in Codex App.
- No raw minidump is attached publicly because process dumps may contain private in-memory data. A sanitized module list or dump can be provided through a private maintainer-approved channel if needed.
- Suggested product improvement: log the presence of non-system injected modules in the desktop crash diagnostics, and document security-client/overlay injection as a troubleshooting branch for Windows
0xC0000005startup crashes.
4 Comments
Potential duplicates detected. Please review them and close your issue if it is a duplicate.
Powered by Codex Action
Thanks. I reviewed #33981. The symptom overlaps, but this is not a confirmed duplicate: #33981 does not identify an injected module or a confirmed remediation, while #34107 captured SecureLink 3.8.5 loading WsInjtdll64.dll and WsInjProctDll64.dll through WsInjCoreDrv.
After uninstalling SecureLink with its vendor uninstaller and rebooting, the service, driver, and injected modules were gone, and Codex App remained stable with no new crash event or Crashpad dump. I am therefore leaving this issue open as a confirmed SecureLink-specific compatibility case unless maintainers determine that it should be consolidated.
Same crash here — thank you for the detailed write-up, it matches exactly what I've been
chasing. I'm hitting the identical failure on the same app build, just triggered by a
different third-party security agent, so I wanted to add my data point to confirm this
isn't specific to one tool.
---
Second confirmed injector — same class of bug, different vendor
On my corporate-managed PC the crash is caused by a different kernel-mode
endpoint-security agent injecting into
ChatGPT.exe, which suggests this is a generalthird-party-DLL-injection class bug rather than a single-vendor issue.
Environment
OpenAI.Codex_26.715.4045.0_x64__2p2nqsd0c76g0(same build as OP)10.0.26200, x64uninstalled by the user). Injection originates from a kernel driver, so it maps hook
DLLs into every GUI process regardless of user-mode settings.
Symptom / variant
0xC0000417(STATUS_INVALID_CRUNTIME_PARAMETER) — a__fastfail; a variant of OP's0xC0000005, but the same "injected DLL is incompatible with the Chromium host" failuremode. No shutdown log, no crashpad report.
So this also overlaps #30178 (in-app browser crashes the main app).
vendors are mapped into
ChatGPT.exeat runtime (vendor names withheld).Decisive evidence pointing at the actual fix: Claude blocks the same injection and survives
On the same machine, the Claude desktop app (also Electron/Chromium) does not crash.
Windows CodeIntegrity Event 3033 shows
claude.exerepeatedly blocking the injectedthird-party hook DLL ("did not meet the Microsoft signing level requirements") — i.e. Claude's
renderer/child processes run with RendererCodeIntegrity (MicrosoftSignedOnly + AllowStore),
so the injected DLL never loads and there is no crash.
For
ChatGPT.exethere are zero such 3033 block events → the in-app browser process isnot running that signature policy → the DLL loads → fast-fail.
Why external remediation isn't viable here
The enterprise DLP agent cannot be uninstalled by the user (unlike OP's case). An external
mitigation doesn't work either: applying
Set-ProcessMitigation -Name ChatGPT.exe -Enable MicrosoftSignedOnly,AllowStoreSignedBinariesvia IFEO is keyed by image name, so it also hits the main process (which legitimately loads
non-MS DLLs, e.g. GPU) and breaks startup with an error dialog. The policy can only be applied
selectively to the renderer/browser child processes, which only the app itself can do.
Request
Please enable RendererCodeIntegrity (block non-Microsoft/non-Store binaries) on the in-app
browser / IAB child process, exactly as the Claude desktop app already does. That would make
Codex App resilient to third-party DLL injection in enterprise DLP environments, where the app
is otherwise unusable and the security agent cannot be removed. This likely also resolves #30178.
Thanks so much. Finally I found a way to successfully fixed my codex.