openclaw-windows-node icon indicating copy to clipboard operation
openclaw-windows-node copied to clipboard

Windows Hub v2026.7.1 is blocked by Smart App Control because OpenClaw.Chat.dll is unsigned

Open shannon0430 opened this issue 3 months ago • 9 comments

Summary

OpenClaw Windows Hub v2026.7.1 cannot start or connect on Windows 11 when Smart App Control (SAC) is enforced because OpenClaw.Chat.dll is unsigned. The installer and OpenClaw.Tray.WinUI.exe have a valid OpenClaw Foundation signature, but the in-process DLL does not meet the Enterprise signing level and is blocked by Code Integrity.

This blocks the supported Connect to an existing gateway flow before the Companion can complete a Direct connection.

Environment

  • OpenClaw Windows Hub: v2026.7.1, x64 installer
  • Windows: 11, build 26200.8875, x64
  • Smart App Control: enforced (VerifiedAndReputableDesktop)
  • Existing OpenClaw Gateway: v2026.7.1 in WSL2
  • Connection target: ws://127.0.0.1:18789

Steps to reproduce

  1. On a Windows 11 machine with Smart App Control enabled, install OpenClawCompanion-Setup-x64.exe from the official v2026.7.1 release.
  2. Verify that the installer signature is valid and issued to OpenClaw Foundation.
  3. Open Windows Hub and select Connect to an existing gateway → Connections → Direct.
  4. Paste a valid setup code for a reachable existing WSL2 gateway.
  5. Select Save & Connect.

Actual behavior

The connection fails with 0x800711C7. Windows Code Integrity logs Event ID 3077 and reports:

OpenClaw.Tray.WinUI.exe attempted to load OpenClaw.Chat.dll that did not meet the Enterprise signing level requirements or violated code integrity policy.

Get-AuthenticodeSignature reports:

File: %LOCALAPPDATA%\OpenClawTray\OpenClaw.Chat.dll
Status: NotSigned

The observed DLL SHA-256 is:

D13C0ADDF70C23927FBA2032CD0CCE51FB0CC4187429476A2503D032C9ED13AA

This hash matches the OpenClaw.Chat.dll shipped in the official v2026.7.1 portable ZIP, which rules out a corrupted or unofficial download.

The existing gateway is reachable from Windows at http://127.0.0.1:18789/, so this is not a gateway reachability or authentication failure.

Expected behavior

All binaries loaded by Windows Hub should satisfy Windows code integrity requirements so the official release can run with Smart App Control enabled and connect to an existing gateway.

Impact

  • Windows users with SAC enforced cannot use the native Companion/Hub.
  • SAC offers no per-app exception, so users must either disable a broad OS security control (which is generally not reversible without resetting/reinstalling Windows) or avoid the native app.
  • The browser Control UI remains available, but Windows-native Companion/node functionality is blocked.

Suggested remediation

  • Sign every executable and DLL loaded by the released application, including OpenClaw.Chat.dll, and verify signatures during the release workflow; or
  • distribute the complete payload through a trusted signed MSIX/catalog mechanism compatible with SAC/WDAC.

It would also help to add a release gate that validates Authenticode status for all shipped PE files rather than only the main executable.

Additional notes

  • No secrets, gateway tokens, or setup codes are included in this report.
  • Disabling SAC is not an acceptable workaround for managed or security-conscious Windows installations.

Reported by Second, AI assistant to Kotaro Shirai, with the operator's authorization.

shannon0430 avatar Aug 12 '26 16:08 shannon0430

Codex review: this still needs some work.

Summary Keep open: signing and updater startup resilience are implemented, but whole-app SAC acceptance remains explicitly outstanding and the latest stable release predates the startup fix.

Reproducibility: The report provides concrete affected-release SAC evidence, but this review did not run Windows enforcement; current main removes the eager updater failure path, and missing-DLL proof does not reproduce SAC denial.

Root-cause cluster Relationship: canonical Canonical: https://github.com/openclaw/openclaw-windows-node/issues/1153 Summary: This issue retains whole-app SAC acceptance; merged signing and updater-resilience changes each address part of that outcome.

Members:

  • partial_overlap: https://github.com/openclaw/openclaw-windows-node/pull/1182 - Merged first-party signing correction does not establish whole-app SAC acceptance.
  • partial_overlap: https://github.com/openclaw/openclaw-windows-node/pull/1731 - Merged startup-resilience fix explicitly leaves dependency trust and SAC acceptance open.
  • adjacent_distinct: https://github.com/openclaw/openclaw-windows-node/issues/1324 - Gateway MSIX distribution is separate from Companion unpackaged dependency acceptance.
  • adjacent_distinct: https://github.com/openclaw/openclaw-windows-node/issues/1592 - Legacy-to-Store recovery has distinct migration identity and state-preservation requirements.
  • adjacent_distinct: https://github.com/openclaw/openclaw-windows-node/issues/1740 - Store migration consent and listing launch failures do not own the SAC trust defect.

Proposal only: this assessment does not dispatch repair, suppress jobs, mutate sibling items, close, or merge anything.

Next step Validate a corrected signed release on SAC-On Windows, including Direct connection and visible state-preserving recovery, before declaring the remaining trust blocker resolved.

Security Needs attention: Whole-app dependency trust still needs SAC-On validation without weakening Windows policy.

Review details

Best possible solution:

Deliver a SAC-accepted signed release with visible installer or Store recovery that preserves settings, pairing, and Gateway data.

Do we have a high-confidence way to reproduce the issue?

The report provides concrete affected-release SAC evidence, but this review did not run Windows enforcement; current main removes the eager updater failure path, and missing-DLL proof does not reproduce SAC denial.

Is this the best way to solve the issue?

The merged fixes address first-party signing and optional-updater resilience; complete resolution still requires enforcing-host acceptance of the shipped payload without extending the OpenClaw signer to third-party binaries.

AGENTS.md: found and applied where relevant.

Remaining risk / open question:

  • Actual SAC-On installation, startup, Direct connection, and updater-denial recovery remain unverified for the corrected signed release.
  • The first-party signature gate does not establish trust for the complete third-party dependency payload.
  • Store migration is a separate recovery path with independently reported failures, so Store availability alone does not settle this issue.

Codex review notes: model internal, reasoning medium; reviewed against 9ac0169aa0f1.

Label changes

Label changes:

  • add P0: The documented latest-stable startup failure prevents affected SAC users from reaching any in-product recovery; the resilience fix is only in a prerelease.
  • add issue-rating: 🦪 silver shellfish: Current issue advisory state selects this label.
  • remove issue-rating: 🦞 diamond lobster: Current issue advisory state no longer selects this label.
  • remove clawsweeper:source-repro: Current issue advisory state no longer selects this label.
  • remove P1: Current review triage priority is P0, so this older priority label is no longer current.

Label justifications:

  • P0: The documented latest-stable startup failure prevents affected SAC users from reaching any in-product recovery; the resilience fix is only in a prerelease.
  • impact:ux-release-blocker: Affected users cannot reach the native application's first useful run or recovery UI.
  • impact:crash-loop: The newer report documents repeated startup crashes from policy-denied updater loading.
  • impact:security: Resolution concerns Windows Code Integrity and publisher trust and must preserve SAC enforcement.
Evidence reviewed

Security concerns:

  • [medium] Third-party trust remains outside the signature gate — scripts/Test-ReleaseExecutableSignatures.ps1:60 The verifier accepts excluded third-party DLLs without proving SAC trust, and the affected-release report identifies updater rejection; validate an appropriate publisher or package trust route while retaining denial containment. Confidence: 0.97

What I checked:

  • Current main verified: The main branch matches checkout 9ac0169aa0f18c8961e482ba095ca62e594961da; the checkout remained clean. (9ac0169aa0f1)
  • Original signing correction present: CI stages all eight first-party binaries for each architecture, signs exe,dll, and verifies the actual payload; https://github.com/openclaw/openclaw-windows-node/pull/1182 (fix(release): sign all first-party payload binaries) merged this correction. (.github/workflows/ci.yml:1377, 9ac0169aa0f1)
  • Explicit collaborator acceptance requirement: shanselman reported protected-release signature verification for both architectures but retained this issue because the validation host had SAC Off: https://github.com/openclaw/openclaw-windows-node/issues/1153#issuecomment-5351908821.
  • Newer affected stable release: DarkJuanFra documented SAC-enforced startup failures in Companion 2026.9.8.0 caused by Updatum.dll rejection, including HRESULT and exception-chain evidence; natalie-aguinaldo's Store alternative was acknowledged as a separate distribution route: https://github.com/openclaw/openclaw-windows-node/issues/1153#issuecomment-6092911906.
  • Startup fix merged with bounded runtime proof: https://github.com/openclaw/openclaw-windows-node/pull/1731 (fix: keep Companion usable when Windows blocks the updater) merged as b5115e0e69af48ba218bd8a6ca4d1d01bd7bc225; its production Release ARM64 missing-DLL proof showed responsive startup, MCP navigation, and visible manual-download recovery, while explicitly excluding SAC-On acceptance and dependency trust. (src/OpenClaw.Tray.WinUI/Services/UpdateBackendLoader.cs:23, b5115e0e69af)
  • Remaining release trust boundary: Unmatched third-party DLLs are excluded from OpenClaw signing requirements; the verifier rejects an OpenClaw signature on them but does not establish their SAC acceptance, consistent with docs/RELEASING.md. (scripts/Test-ReleaseExecutableSignatures.ps1:60, 9ac0169aa0f1)

Likely related people:

  • Scott Hanselman: Raw commit b5115e0e69af48ba218bd8a6ca4d1d01bd7bc225 adds src/OpenClaw.Tray.WinUI/Services/UpdateBackendLoader.cs:23 relative to its recorded parents. This identifies author metadata, not feature responsibility or a PR merger. (role: source-line author; confidence: high; commits: b5115e0e69af; files: src/OpenClaw.Tray.WinUI/Services/UpdateBackendLoader.cs)
How this review workflow works
  • ClawSweeper keeps one durable marker-backed review comment per issue or PR.
  • Re-runs edit this comment so the latest verdict, findings, and automation markers stay together instead of adding duplicate bot comments.
  • A fresh review can be triggered by eligible @clawsweeper re-review comments, exact-item GitHub events, scheduled/background review runs, or manual workflow dispatch.
  • PR/issue authors and users with repository write access can comment @clawsweeper re-review or @clawsweeper re-run on an open PR or issue to request a fresh review only.
  • Maintainers can also comment @clawsweeper review to request a fresh review only.
  • Fresh-review commands do not start repair, autofix, rebase, CI repair, or automerge; those execution lanes are retired.
  • Maintainers can comment @clawsweeper explain to ask for more context, or @clawsweeper stop to stop active automation.

Reviewed October 16, 2026, 2:48 PM ET / 18:48 UTC.

clawsweeper[bot] avatar Aug 12 '26 16:08 clawsweeper[bot]

Implementation audit/update (2026-08-13):

  • Confirmed the v2026.7.1 x64 and ARM64 ZIPs each ship the same eight OpenClaw-owned PE files: OpenClaw.Tray.WinUI.exe plus OpenClaw.Tray.WinUI.dll, OpenClaw.Chat.dll, OpenClaw.Connection.dll, OpenClaw.SetupEngine.UI.dll, OpenClaw.SetupEngine.dll, OpenClaw.Shared.dll, and OpenClawTray.FunctionalUI.dll.
  • Prepared a narrow four-file fix that stages/signs that explicit allowlist for both architectures, changes Azure Artifact Signing to exe,dll, inspects every shipped EXE/DLL, fails closed on unknown OpenClaw-named binaries, rejects the OpenClaw signer on third-party/runtime binaries, and updates tests/release documentation.
  • Structured autoreview found no actionable issues.
  • Native validation was attempted on Crabbox AWS Windows lease cbx_a151249c1827 (swift-crab). The stock host lacked .NET, Node, Windows SDK, WebView2, and winget; setup-dev.ps1 could not repair it, so no tests were reported as passing.

Publication is blocked at an exact human-owned GitHub authority boundary: the configured write-capable OAuth identity can push normal source changes, but GitHub rejects commits that modify .github/workflows/ci.yml because that token lacks workflow scope. The complete patch is committed locally as 70850eb1; omitting the workflow edit would not fix this issue.

Human action needed: a maintainer using an approved workflow-authorized GitHub identity must publish the prepared branch/commit (or apply the same four-file patch). After that, require exact-head Windows CI, create a new signed candidate through the release-signing environment, verify Authenticode on every shipped EXE/DLL, and run Smart App Control proof on a clean Windows host. No signing key or certificate material is needed by the implementation agent.

clawsweeper avatar Aug 13 '26 17:08 clawsweeper

PR #1182 merged as adef8fcf30d76bf1c64110b9f1c89da4df09a824, but this issue is being kept open until a protected signed release candidate proves all eight first-party PE files carry the expected OpenClaw Foundation signature and Smart App Control accepts the installed app.

shanselman avatar Aug 20 '26 04:08 shanselman

Protected release signing proof is now complete for the merged fix.

  • Merge commit: adef8fcf30d76bf1c64110b9f1c89da4df09a824
  • Protected workflow: https://github.com/openclaw/openclaw-windows-node/actions/runs/32334930318
  • Non-latest prerelease: https://github.com/openclaw/openclaw-windows-node/releases/tag/v2026.7.2-alpha.19
  • Workflow result: success, including both Verify x64 Binary Signing Policy and Verify ARM64 Binary Signing Policy
  • Downloaded all four release assets and matched every GitHub-published SHA-256 digest
  • Re-ran the merged fail-closed verifier against both extracted portable payloads: passed x64 and ARM64
  • Direct Authenticode inventory: all 16 required first-party payload files (eight files across two architectures) and both installers report Valid
  • Exact signer subject: CN=OpenClaw Foundation, O=OpenClaw Foundation, L=Mill Valley, S=California, C=US
  • Signer thumbprint: CEFE00196EB4B4BDC487DD84F3D203776513A048
  • Third-party/runtime files remained outside the OpenClaw signing identity, as enforced by the verifier

The current validation host reports SmartAppControlState: Off, so it cannot honestly prove the original Smart App Control enforcement path. Keeping this issue open and actively landing until the x64 prerelease is installed/launched on a Windows 11 host where Smart App Control reports On, with visible evidence that the app and OpenClaw.Chat.dll are accepted.

shanselman avatar Aug 20 '26 05:08 shanselman

The 0x800711C7 + Event ID 3077 pairing is exactly what you said: Code Integrity is rejecting the unsigned OpenClaw.Chat.dll, and the hash matching the official ZIP rules out a bad download. One thing that should unblock you now: the v2026.7.2-alpha.19 prerelease already ships all 16 first-party PEs signed (CN=OpenClaw Foundation, per the validation above), so the Direct-connect path should clear with SAC still on. Grab it, check Get-AuthenticodeSignature on %LOCALAPPDATA%/OpenClawTray/OpenClaw.Chat.dll, and if it passes that's the SAC-On proof they're waiting for.

MilkyWay008 avatar Aug 24 '26 18:08 MilkyWay008

This issue is resolved by moving to the Store downloaded, store signed MSIX. Smart App Control trusts apps installed from the Store causing it to no longer be blocked.

natalie-aguinaldo avatar Sep 23 '26 20:09 natalie-aguinaldo

Summary

The official unpackaged Windows Companion fails during startup with Smart App Control enforced. Windows Application Control rejects Updatum.dll; OpenClawTray.App initializes the updater in its static initializer, so the optional update component prevents the whole application from starting.

No security policies were disabled or modified. No dumps, user settings, credentials or machine identifiers are attached.

Environment and reproduction

  • Windows 11, x64, Smart App Control enforced.
  • Responsible policy name confirmed in native Windows evidence: Microsoft: VerifiedAndReputableDesktop.
  • Observed Companion executable file version: 2026.9.8.0.
  • Updatum dependency: 1.3.4, net10.0.
  • Start the existing Companion normally with SAC enforced. Five startup crashes had the same WER signature. A subsequent local full-memory capture reproduced the unhandled crash.

Actual exception chain

Decoded locally from the full dump; the outer CLR exception's actual inner-exception pointer links these objects:

System.IO.FileLoadException — HRESULT 0x800711C7
Could not load file or assembly '%LOCALAPPDATA%\OpenClawTray\Updatum.dll'.
Una directiva de Control de aplicaciones bloqueó este archivo. (0x800711C7)

OpenClawTray.App..cctor
    ↓
System.TypeInitializationException — HRESULT 0x80131534
The type initializer for 'OpenClawTray.App' threw an exception.
    ↓
WinRT/XAML fail-fast: 0xC000027B

Inner exception stack:

OpenClawTray.App..cctor

Outer exception stack, top to bottom:

System.Runtime.CompilerServices.InitHelpers.InitClassSlow
System.Runtime.CompilerServices.StaticsHelpers.GetGCStaticBaseSlow
OpenClawTray.App..ctor
<>c.<Main>b__0_0
ABI.Microsoft.UI.Xaml.ApplicationInitializationCallback.Do_Abi_Invoke

Method names were resolved from captured MethodDesc metadata tokens only after confirming byte-for-byte equality of the relevant CLR metadata in the dump and installed assemblies. First-chance EEFileLoadException/E0434352 notifications preceded the final unhandled C000027B; they are not each being asserted as separate fatal defects.

Application Error 1000 named Microsoft.UI.Xaml.dll with C000027B; WER 1001 named combase.dll with 80131534. These are propagation wrappers, not evidence that reinstalling WinUI fixes the underlying policy block. No .NET Runtime 1026 events were available. Application logs stopped before these startup failures.

Binary and latest-release evidence

Blocked DLL:

Updatum.dll — 241664 bytes
SHA-256: a4ad594da45acd052396854eae028d12a1c747657ca0e91b2582c44f0c2babe0
PE certificate table: RVA/offset 0, size 0 (no embedded Authenticode signature)

Its bytes exactly match lib/net10.0/Updatum.dll in the official Updatum 1.3.4 NuGet package. This is not a differing/corrupted local copy. Absence of an embedded signature alone does not establish absence of catalog signing; the actual SAC rejection is independently observed.

Release assets directly inspected on 2026-10-10 UTC:

Official x64 portable release Updatum.dll SHA-256 Embedded signature
v2026.9.8-1, latest stable a4ad594da45acd052396854eae028d12a1c747657ca0e91b2582c44f0c2babe0 None
v2026.9.9-alpha.3, newest prerelease a4ad594da45acd052396854eae028d12a1c747657ca0e91b2582c44f0c2babe0 None

This verifies unchanged dependency bytes in the portable releases, not a new SAC-On runtime test of each installer. Both tags retain the static UpdatumManager field at App.xaml.cs line 46. Their Test-ReleaseExecutableSignatures.ps1 classifies other DLLs as ThirdPartyExcluded (line 60); its description says third-party binaries must not be signed by the OpenClaw release signer. Therefore the first-party signing fix does not itself establish SAC compatibility of Updatum.

The Store-signed distribution mentioned in #1153 is acknowledged as a different trust/distribution route, not claimed broken by this report. Its migration is separate from fixing the unpackaged distribution, and the existing data/Gateway must not be reset as a workaround.

Expected behavior / requested fix

  1. Ship an official unpackaged distribution whose in-process updater dependency satisfies SAC trust requirements through an appropriate publisher signature or supported catalog/package trust. Validate the installed application on a machine with SAC actually On.
  2. Isolate/defer optional updater initialization so a policy-denied updater degrades update functionality with a clear diagnostic rather than terminating the entire Companion before crash logging is installed. A denied dependency must remain denied; this is not a request to bypass SAC.
  3. Extend release verification to detect this third-party dependency trust gap, rather than equating signed first-party executables/DLLs with whole-app SAC compatibility.
  4. Preserve settings, saved gateway connections, pairing and existing WSL Gateway data in any supported correction or migration.

Public references

  • https://github.com/openclaw/openclaw-windows-node/issues/1153
  • https://github.com/openclaw/openclaw-windows-node/releases/tag/v2026.9.8-1
  • https://github.com/openclaw/openclaw-windows-node/releases/tag/v2026.9.9-alpha.3
  • https://github.com/openclaw/openclaw-windows-node/blob/v2026.9.8-1/src/OpenClaw.Tray.WinUI/App.xaml.cs#L46
  • https://github.com/openclaw/openclaw-windows-node/blob/v2026.9.9-alpha.3/scripts/Test-ReleaseExecutableSignatures.ps1#L60
  • https://api.nuget.org/v3-flatcontainer/updatum/1.3.4/updatum.1.3.4.nupkg

DarkJuanFra avatar Oct 10 '26 02:10 DarkJuanFra

This assigned issue has been automatically marked as stale after 30 days of inactivity. Please add an update or it will be closed.

github-actions[bot] avatar Nov 16 '26 03:11 github-actions[bot]

Closing due to inactivity. If this still affects OpenClaw Windows, reopen or file a new issue with current evidence.

github-actions[bot] avatar Nov 27 '26 03:11 github-actions[bot]