Skip to main content

Overview

Formal seals the Claude Desktop chat session cookie (sessionKey on .claude.ai) before Claude Desktop stores it. For the Code tab, see Seal Claude Code OAuth Tokens.

Intercept Claude Desktop

Enable Transparent Mode on macOS. Transparent Mode blocks QUIC by default. Keep it blocked so the Endpoint can intercept Claude Desktop chat. In Network Rules, create an active rule with the following CEL. Leave Forward to Connector unset to seal on the Endpoint.

Seal the session cookies

In Policies, create an active policy with this Rego policy:
Verify: Sign out of Claude Desktop and sign in again with Transparent Mode running. Confirm the policy appears for requests to both hosts in Logs. Send a chat message and confirm it succeeds. Cookies issued before the policy was active are not sealed retroactively.