Skip to content

RFC: auth-proxy — agents use credentials without ever holding them (surrogates + egress substitution) #1

Open

Description

@chaodu-agent

Status: Draft (WIP). First cut from the discussion on openabdev/openab-pty#93. Expect revisions, and please comment.

Summary

auth-proxy is a shared component that lets an AI agent use credentials without ever holding them in plaintext. The agent gets a revocable surrogate. A broker and an egress proxy run in a separate trust domain, check policy, and attach or apply the real credential just before the request leaves. This covers every credential an agent needs, not only GitHub. openab and openab-pty will both integrate it.

Motivation

Today the usual way to give an agent a credential is to put plaintext in its environment or config. The agent CLI, every child process, transcripts, and logs can then read it. A prompt-injected or compromised agent can also exfiltrate it.

  • openab-pty: SECURITY.md claim 4 says the shell holds no host credentials. In practice, any authenticated call (gh, registries, cloud APIs) means breaking that claim (openab-pty#93).
  • openab: the agent subprocess is the same kind of target. openab#669 (agent inherited DISCORD_BOT_TOKEN) and openab#707 (CLAUDE_CODE_OAUTH_TOKEN passed to the agent via env) both show it.
  • Model credentials are the biggest case. The agent's own model API key or OAuth token is the most valuable credential in the pod, and it is in the agent's env today.

octobroker already solves this for GitHub (per-agent key, default-deny policy, short-lived repo-scoped App tokens, obk git credential helper). auth-proxy generalizes the pattern to other credentials and reuses octobroker for GitHub.

Goals

  1. No plaintext credential in the agent's trust domain: env, files, memory, transcripts, logs.
  2. Works for any credential shape (below), not just bearer headers.
  3. Fail-closed everywhere: any doubt means no upstream request, never a fallback to direct egress.
  4. One contract consumed by both openab and openab-pty.
  5. Default-off and opt-in per credential until proven.

Non-goals

  • Hiding what the agent can do. The agent can still spend a credential within policy (see Guarantees).
  • Isolating processes inside one agent identity. A session (openab-pty) or agent process tree (openab) is one trust unit.
  • Egress reachability policy. That is openab-pty#47. This RFC only decides which credential may go where.
  • Re-implementing GitHub brokering. Use octobroker.

Guarantees (stated honestly)

  • The agent cannot read the credential. It holds only a surrogate and a caller key.
  • The agent can use the credential within policy. Destination binding alone is not enough. A surrogate bound to api.github.com can still act on any repo the token can reach, so policy must cover host + method + path/resource, and upstream tokens must be minimally scoped and short-lived.
  • Caller auth separates agent identities, not processes. The caller key sits in env, so any same-UID process can read it via /proc/<pid>/environ. The claim is "a process outside this agent identity cannot spend the credential", not "no local process can".
  • Reflection is conditional. If an allowed destination is attacker-controlled and echoes request data, a substituted credential can leak. Policy must not bind credentials to hosts that do that.

Architecture

 agent trust domain (uid 1000)          auth-proxy trust domain (separate container/UID or external)
 ┌───────────────────────────┐          ┌────────────────────────────────────────────────┐
 │ agent CLI / shell         │          │ egress proxy  ── policy ── broker ── store     │
 │ env: surrogate + caller   │ ───────► │ 1 caller auth                    (Vault/SM/K8s)│
 │      key only             │ loopback │ 2 canonicalize + policy check                  │
 └───────────────────────────┘          │ 3 resolve surrogate (only now)                 │
                                        │ 4 apply credential, strip surrogate            │
                                        └──────────────────────────┬─────────────────────┘
                                                                   ▼  upstream (TLS)
  • Broker: owns real credentials and refresh flows, mints surrogates bound to (agent identity, credential, policy, TTL), and handles revocation and rotation.
  • Egress proxy: the only place the real credential is applied. It must never run inside the agent's process or UID. For openab-pty that rules out the runtime itself (config.rs: the crate never resolves secrets; PR_SET_DUMPABLE=0 must not become the only barrier).
  • Placement options: a sidecar container with its own UID and credential mount (shares the pod network namespace, so loopback works), or an external gateway. The agent container never mounts the store.

Credential shapes

Shape Examples Mechanism
Bearer / basic header model APIs, npm/PyPI/crates, most REST APIs surrogate in env → proxy substitutes header
Request signing AWS SigV4 and similar proxy re-signs the request; header swap cannot work
Key-holding SSH for git signing socket served from the auth-proxy domain (ssh-agent pattern); the key never enters the agent container
Refresh-token flows CLI OAuth logins the broker owns refresh; the agent only ever holds a surrogate access token
GitHub gh, git over HTTPS, GitHub MCP delegate to octobroker

How clients reach the proxy

  1. Base-URL mode (preferred): the client points at http://127.0.0.1:<port>/<route> (e.g. *_BASE_URL, registry URL, git insteadOf). The proxy opens TLS upstream. No CA is involved and no traffic is intercepted.
  2. CONNECT + interception (fallback): for clients without a base-URL override. The proxy terminates TLS only for credential-bound hosts and needs a CA the agent trusts. This adds a new high-trust component and breaks pinning and mTLS. The CA key never enters the agent container.

HTTPS_PROXY is only a setting that clients may or may not honor, so it is not a boundary. A client that bypasses the proxy simply has no credential. Blocking direct egress is #47's job.

Request pipeline (fail-closed, in order)

  1. Verify the caller key (constant-time) and the surrogate's format, TTL, and revocation status.
  2. Canonicalize scheme/host/port. Reject userinfo, ambiguous hostnames, IP literals, and SNI/Host mismatch.
  3. Check the credential policy (host + method + path/resource), intersected with the egress allowlist if present.
  4. Only now resolve the surrogate to the real credential.
  5. Strip the surrogate, caller key, and any client-supplied auth. Apply exactly one upstream credential.
  6. Audit the request (identity, credential id, destination, decision), never the secret.

Refuse with no upstream request if: the policy is empty or unavailable (empty ≠ allow-all), the broker is unreachable (no stale cache), or upstream TLS verification fails. This matrix ships as tests before any merge.

Redirects: never forward a credential across a host, port, or scheme change. Any redirect the proxy follows gets the full check again. Redirect handling belongs in the proxy, not in each client.

TTL and rotation

  • Surrogate lease: the session authority renews it up to the session's absolute TTL (default 12 h), not by minting a new surrogate every 15 min or less, and never beyond the upstream credential's remaining lifetime. Ending the session revokes it synchronously. Conditions: a hello-race test after an authority container restart (90 s lock; only the fresh PID 1 wins); no /ap/<caller-key> in any log; same-UID audit attribution is best-effort.
  • Phase 1 design: https://github.com/openabdev/auth-proxy/blob/design/phase1/docs/design/phase1.md
  • Upstream rotation is an atomic generation switch in the broker. The proxy holds decrypted material only for the duration of a request.
  • Expiry returns an explicit 4xx so the client can surface "re-mint", not a generic failure.

Integration

  • openab-pty (openab-pty#93): an admin-plane mint at session creation, delivered through the session env allowlist (same shape as the tools-plane mint, CLIENT-CONTRACT §9); a deploy/ sidecar example for k8s and ECS; NetworkPolicy paired with docs: sync design docs and runbooks with main #47. The runtime never handles real credentials.
  • openab: replace plaintext credentials in [agent].env (e.g. the model OAuth token) with surrogates; one agent identity per agent process.

Placement and egress enforcement

auth-proxy keeps the real credential out of the agent's hands whether or not egress is enforced: an agent that bypasses the proxy only has a surrogate, and the real service rejects it. Enforcing egress is a second layer. It stops an agent from sending data out directly, and from using some other credential it found to connect directly.

Constraint: Kubernetes NetworkPolicy and ECS security groups apply to a whole pod or task, not to one container. A sidecar shares the agent's network namespace, so a pod-level egress deny also blocks the sidecar's upstream traffic. NetworkPolicy alone cannot say "the agent may reach only the proxy, the proxy may reach upstream". NetworkPolicy only allows or denies traffic and never redirects it. "Forcing" traffic through the proxy therefore means pointing the client's base URL at the proxy and denying every other path, so a bypass fails instead of being rerouted.

Option Mechanism Fits Cost
A. Sidecar + per-UID iptables An init container with NET_ADMIN installs rules in the pod netns that confine the agent UID to the proxy's listener port. Only the proxy UID reaches upstream. This is the same pattern as Istio's init container. The base URL stays on loopback. Rule set (repeat with ip6tables): see below. Kubernetes The init container needs NET_ADMIN, so the agent namespace needs Pod Security Admission level privileged. An Istio-CNI-style plugin avoids that (inferred, not tested). The agent and the proxy must run as different UIDs. The credential is mounted in the same pod as the agent, but only into the proxy container. Fails closed: without NET_ADMIN the pod never leaves Init (measured).
B. Separate Deployment + NetworkPolicy auth-proxy runs in its own namespace, and its credentials live in a Secret the agent namespace cannot read (RBAC). The agent pod's egress policy allows only DNS and the auth-proxy pods. The base URL points at the proxy Service. Standard Kubernetes; no extra privileges Benefit: one place for credentials, policy, audit and rotation, shared by every agent pod. Cost: a larger blast radius (a compromised proxy exposes every agent's credentials) and a shared failure point (run ≥2 replicas, since the broker is never cached). The proxy must keep callers apart by caller key (Phase 0 matrix X1). Caller-key traffic is plaintext on the cluster network unless the Service uses TLS.
C. Separate service + security groups (ECS Fargate) B on ECS. Fargate has no NET_ADMIN, and security groups apply per task, so a sidecar cannot be isolated. The agent task's SG allows egress only to the proxy service; only the proxy's SG reaches upstream. ECS Fargate Same as B.

Option A rule set

-A OUTPUT -m owner --uid-owner <agent> -m conntrack --ctstate ESTABLISHED -j ACCEPT
-A OUTPUT -o lo -p tcp --dport <proxy-port> -m owner --uid-owner <agent> -j ACCEPT
-A OUTPUT -o lo -p tcp --dport <each other sidecar port> -m owner --uid-owner <agent> -j REJECT --reject-with tcp-reset
-A OUTPUT ! -o lo -m owner --uid-owner <agent> -j REJECT
  • Do not confine the agent to "lo only". That rule also exposes every loopback listener in the pod. In the spike, the agent reached the sidecar's broker port, called its resolve endpoint with its own surrogate, and got the real credential back (measured). The proxy sidecar must bind nothing on loopback except its listener. Its broker client and any admin, metrics or health endpoint use a Unix socket in a proxy-only volume, or are rejected for the agent UID. The agent's own loopback servers stay reachable, which is why the rule rejects named ports instead of allowing only the proxy port.
  • Accept ESTABLISHED first. Without it, inbound connections to agent-UID servers over the pod IP (Service traffic, kubelet probes, the openab-pty runtime ports) never complete the handshake. With it, the agent's own outbound SYNs and first UDP datagrams are still NEW and still rejected (measured).
  • The two parts above were measured in separate pods. The combined rule set as written is inferred.
  • Keep the ip6tables copy. On IPv4 single-stack clusters it is inert, because IPv6 fails at routing. On dual-stack clusters it is what blocks the agent (measured with a test-only on-link address).

Pod settings Option A depends on

shareProcessNamespace: false (when it is on, the agent can list the proxy's processes and read their command lines, though not their environment, memory or mounts; measured), distinct UIDs, allowPrivilegeEscalation: false, capabilities.drop: [ALL] on both long-running containers, no fsGroup (it would give the agent the Secret's group), and the Secret mounted only into the proxy. The agent UID must not map to a privileged image user, because the container inherits that user's groups.

Measured on k3s with kube-router: the rules live in the pod netns, kube-router does not touch them, they survive restarts of the app containers, and they are reinstalled when the pod is recreated.

Notes

  • DNS: Option A also blocks DNS for the agent UID (UDP EPERM, TCP refused). This is intended. Base URLs are IP-literal loopback, so model traffic needs no DNS, and port 53 would be an exfiltration path. Any name-based allowlist from openab-pty#47 must resolve names on the proxy or egress side, not reopen kube-dns to the agent.
  • What else breaks under the deny (measured, input for openab-pty#47): git and curl over HTTPS fail immediately, pip after about 8 s, cargo after about 11 s, npm after about 71 s. All of them fail at DNS. GitHub goes through octobroker.
  • kiro-cli: under the Option A deny, kiro-cli 2.37 starts and completes chat and ACP turns, with no startup delay. With telemetry on, it lingers about 4 s at exit (n=1). Set KIRO_DISABLE_TELEMETRY=1 in the platform-written environment. The semantic-search embedding download from desktop-release.q.<region>.amazonaws.com fails in both modes, so that feature is degraded unless the model is pre-seeded or the proxy routes that host.
  • Tampering: an agent that rewrites or deletes the platform-written settings gets no service. kiro-cli fails after about 44 s of retries, and the surrogate sent directly to the real service is rejected ("Invalid token"). The platform rewrites the settings when the container restarts, but not mid-session.
  • Restricting the proxy itself to specific FQDNs needs a CNI with FQDN policy (Cilium, Calico). Otherwise the proxy's own route policy, which already allows only configured upstream hosts, is the control.
  • Not yet verified: whether each CLI accepts a non-loopback plaintext http:// base URL (Options B and C), dual-stack clusters, a real remote broker, and PSA enforcement.

Transparency: none of A, B or C is transparent at the network level, because the client must be pointed at the proxy. A fully transparent setup, where nothing changes on the client side, needs DNAT plus TLS interception: that is Phase 2, with a CA the agent must trust. Instead, the platform writes the base URL settings at session start (e.g. kiro-cli's ~/.kiro/settings/cli.json, *_BASE_URL), so neither the agent nor the user configures anything.

Current direction: A (sidecar + per-UID iptables, loopback base URL written by the platform) for openab-pty on Kubernetes, validated on k3s with kube-router (branch spike/phase0, spike/k3s-egress-a/). C for openab on ECS Fargate. B remains the option where NET_ADMIN or PSA privileged is not acceptable.

Phases

  1. Spike: model API key via base-URL mode for one CLI, with the fail-closed tests. Confirm which CLIs accept a surrogate (some decode tokens locally).
  2. Bearer shape + broker + policy + audit; integrate with openab-pty and openab; GitHub through octobroker.
  3. CONNECT/interception mode for clients without base-URL support.
  4. Signing (SigV4) and SSH signing socket.

Open questions

  1. Agent identity: how does each project bind a caller key to "one session" / "one agent process", and who mints it?
  2. Broker placement and store backends (AWS Secrets Manager, K8s secrets, Vault). Should it share code with octobroker?
  3. Policy format and where it lives, and how it composes with docs: sync design docs and runbooks with main #47's allowlist.
  4. Which agent CLIs break with a surrogate (local JWT parsing, format checks)?
  5. Ownership of rotation, revocation, and audit retention.
  6. Is Phase 2 (interception) worth its cost, or do we require base-URL support?

Prior art

  • octobroker: per-agent key, default-deny policy, GitHub App token minting, git credential helper.
  • Meta Muse: authd surrogates + Sentinel substitution at the network boundary.
  • OpenClaw #123216: authenticated egress substitution proxy with destination binding, default-off.
  • Envoy ext_authz/ext_proc (possible proxy base); mitmproxy (prototype only, not a production boundary).

Activity

  1. chaodu-agent commented on Nov 9, 2026

    @chaodu-agent
    ContributorAuthor

    Phase 0 spike: results and decision

    Branch: https://github.com/openabdev/auth-proxy/tree/spike/phase0 (head 0d67df8)

    • spike/exp1/: CLI surrogate-compatibility probes
    • spike/exp2/: proxy bake-off (A vs B), 25-case fail-closed matrix, benchmarks; raw output in spike/exp2/results/

    Each claim is labelled measured (we ran it) or inferred (from docs or source, not run).

    Decision

    • Phase 1 proxy base: A, a minimal Rust reverse proxy (hyper/axum, reqwest/rustls), on the same stack as octobroker.
    • Phase 2 (CONNECT interception): not pulled forward. No CLI needs it today.

    Experiment 1: CLI surrogate compatibility

    All five CLIs work in base-URL mode. Each one accepts an opaque surrogate, streams through a swapping reverse proxy, and shows the refusal without falling back to a direct connection. kiro-cli was tested live with a real key. The other four CLIs were tested against loopback mocks of their vendor APIs, because we had no credentials for them.

    CLI Endpoint knob Opaque surrogate Streaming via swap proxy Refusal behaviour Evidence
    kiro-cli 2.37.0 global settings api.cps.service, api.krs.service, api.codewhisperer.service (+ api.q.service), value {"endpoint":"http://127.0.0.1:<port>[/prefix]","region":"us-east-1"}; global only yes. Sent as Authorization: Bearer with TokenType: API_KEY, which must pass through. No SigV4 yes. AWS eventstream, 32 chunks over 1.8 s; ACP mode works shows the error and exits 1; no re-login, no fallback measured, live
    Claude Code 2.1.273 ANTHROPIC_BASE_URL yes (ANTHROPIC_API_KEY, ANTHROPIC_AUTH_TOKEN, CLAUDE_CODE_OAUTH_TOKEN) yes. 25 chunks over 1.35 s no fallback. In API-key mode a 401 is retried about 10 times over about 3 min; a 403 fails at once measured (mock)
    Codex CLI 0.154.0 [model_providers.<id>] base_url + env_key, or openai_base_url + CODEX_API_KEY (OPENAI_BASE_URL env is ignored) API-key modes: yes. ChatGPT mode only with a JWT-shaped id_token, which is fragile yes over HTTPS SSE; the built-in provider tries WebSocket first (about 7 s fallback) exits after 5 retries; no fallback measured (mock)
    Gemini CLI 0.67.0 GOOGLE_GEMINI_BASE_URL + GEMINI_API_KEY + security.auth.selectedType="gemini-api-key" yes (x-goog-api-key) yes. 20 chunks over 1.03 s exits 1; no fallback measured (mock)
    OpenCode 1.19.5 provider.<id>.options.baseURL + apiKey="{env:VAR}" yes (x-api-key) yes. 25 chunks over 1.36 s exits 1; no fallback measured (mock)

    kiro-cli, openab's default backend, needs three global settings keys and a bearer swap. It does not force Phase 2 or Phase 3.

    Experiment 2: A (Rust proxy) vs B (Envoy 1.40.2 + our ext_authz service)

    Both options share one admission core: caller key, surrogate format, request canonicalization, policy check, a broker lookup on every request with no cache, auth-header stripping, and dialect-aware error bodies. A wraps the core in about 150 lines of forwarder. B serves the core as an HTTP ext_authz service and renders Envoy's bootstrap from the same validated config. The harness checks the client's status and what the mock upstreams actually received. Tests and measurements ran on a 4-core Linux x86_64 test host.

    Matrix row A B
    R1 empty, 0-byte, deleted, corrupt or non-matching policy → refuse PASS, 0 upstream PASS, 0 upstream. Policy-unavailable becomes a bare 503 with no reason
    R2 broker down after a good request → refuse, no stale cache PASS (503 broker_unavailable) PASS (bare 503)
    R3 expired, revoked, unknown, malformed or missing surrogate → 4xx; AWS dialect PASS PASS
    X1 wrong caller key; another caller's or route's surrogate PASS PASS
    R4 302 to another host, port or http:// → credential not forwarded PASS PASS
    R5 hostile Host / absolute-form requests → reject PASS PASS only after allow_absolute_url=false
    R5 upstream route host is an IP literal, has userinfo, a trailing dot or uppercase → config rejected PASS PASS
    X2 .., %2e%2e, %2f, //, route hop, %252e PASS (all refused) PASS (%2f and %252e refused; the rest normalized, and policy saw the same path the upstream received)
    X3 CONNECT PASS (405) PASS (404)
    R6 SNI == Host == route host; certificate name mismatch PASS PASS
    R7 untrusted upstream CA PASS PASS
    R8 exactly one real credential reaches upstream; junk auth headers stripped; two surrogates rejected PASS PASS
    X4 enforcement point down n/a (single process) PASS (403, 0 upstream)
    X5 no secret in any log or work file PASS PASS
    X6 SSE, 20 events × 50 ms PASS (first event 2 ms) PASS (first event 4 ms)
    Live kiro-cli ACP turn to the real service PASS (15 chunks, 0.46 s) PASS (15 chunks, 0.34 s)
    Matrix total 25/25 on the first run 25/25 after 2 config fixes found by the matrix

    Measurements (3 runs each):

    A B
    Added latency p50 / p99 over direct (includes a 0.20 ms broker round-trip) +0.34–0.35 ms / +0.31–0.69 ms +0.70–0.87 ms / +1.18–1.43 ms
    Throughput, 32 connections × 15 s, 0 errors (client-bound) 3,377–3,398 req/s 2,408–2,430 req/s
    RSS idle 2.8 MB 68.5–68.9 MB
    RSS peak under load 12.3–13.8 MB 79.1–79.8 MB
    Artifact one 3.6 MB static binary 171 MB Envoy distroless image + 3.6 MB authz binary
    Code / config 763 lines of Rust 786 lines of Rust + 461 generated Envoy JSON lines for 5 routes
    Processes holding the real credential 1 2

    What the matrix caught (measured):

    • B leaked a credential with Envoy's defaults. With the default allow_absolute_url: true, an absolute-form request with userinfo was forwarded with the real credential. Setting allow_absolute_url: false fixed it. A refused the same input on the first run.
    • B hides why it refused. With failure_mode_allow=false, any authz 5xx becomes Envoy's fixed status_on_error, and the reason is dropped. The request is still refused, but neither the client nor the operator can see why.
    • A was missing TCP_NODELAY. Without it, p99 rose by 44 ms. Setting it fixed the problem before the numbers above were taken.
    • One credential spans several hosts. kiro-cli uses one key for 3 upstream hosts, so a surrogate must bind to a set of routes.
    • Inferred, not measured: Envoy's default 15 s route timeout would cut long streams, so the spike sets timeout: 0s.

    Rationale

    • Both options pass the full matrix. A passed on the first run. B passed only after two non-default Envoy settings, and with the default allow_absolute_url it forwarded the real credential.
    • B turns every policy-unavailable or broker-unavailable error into a bare 503. A returns explicit policy_unavailable / broker_unavailable codes.
    • A costs less in every pod and sidecar: 2.8 MB vs about 69 MB idle, about half the added latency, and one small static binary instead of a 171 MB image plus a second process.
    • A keeps the real credential in one process and writes one audit line per request, including the upstream status.
    • The choice is reversible. The policy, broker client, canonicalization and header stripping live in the shared core, which already runs as an ext_authz service. Moving to Envoy later means replacing the ~150-line forwarder and reusing the matrix.
    • Phase 2 stays deferred because no CLI requires CONNECT interception. Pulling it forward would add TLS minting and SigV4 work that nothing uses yet.

    Phase 1 backlog from the spike

    These are base-URL-mode items, not Phase 2:

    • WebSocket upgrade (Codex's built-in provider tries WS first; a custom provider avoids it).
    • Request-body streaming (bodies are buffered today, 32 MB cap) and HTTP/2 upstream.
    • 401 vs 403 for expired or revoked surrogates, since Claude Code retries a 401 for about 3 minutes.

    Still open

    • RFC Q1: who mints the caller key and binds it to a session (openab-pty admin plane vs openab). Carrying the key in the base-URL path (/ap/<key>/<route>) works with kiro-cli live, and every CLI accepts a path prefix.
    • RFC Q2: broker placement and store backend. With no cache, broker availability is proxy availability.
    • RFC Q3: policy format, and how it composes with docs: sync design docs and runbooks with main #47's allowlist.
    • RFC Q5: ownership of rotation, revocation and audit retention.
    • Not tested: live runs against the Anthropic, OpenAI and Google APIs (no credentials), broker-owned subscription OAuth refresh, and load above about 3.4k req/s.
  2. chaodu-agent commented on Nov 11, 2026

    @chaodu-agent
    ContributorAuthor

    Phase 1 architecture (current tip 634f9a5)

    Status and gaps are in docs/status/phase1.md on feat/phase1.

                             ┌─────────────────── Kubernetes pod (Option A) ───────────────────┐
                             │                                                                 │
       init containers       │  volume-prep (CHOWN+FSETID)   netinit (iptables per UID)        │
                             │  expiry-store-bootstrap                                         │
                             │                                                                 │
                             │  ┌─────────────────┐  runtime.sock   ┌─────────────────────┐    │
                             │  │ agent           │ ───────────────▶│ runtime             │    │
                             │  │ UID 1000        │  register,      │ UID 1002            │    │
                             │  │ caller key +    │  revoke,status  │ holds Ed25519 seed  │    │
                             │  │ surrogate only  │                 │ (proof for hello)   │    │
                             │  └────────┬────────┘                 └──────────┬──────────┘    │
                             │           │ loopback                            │ session.sock  │
                             │           │ (proxy port only)                   │ (Unix socket) │
                             │           ▼                                     ▼               │
                             │  ┌─────────────────┐  TLS  ┌──────────────────────────────┐     │
                             │  │ proxy           │◀──────│ session plane / authority    │     │
                             │  │ UID 1001        │       │ hello lock, 90 s lease,      │     │
                             │  │ policy, swap,   │       │ 12 h absolute TTL,           │     │
                             │  │ audit           │       │ persisted expiry store       │     │
                             │  └───┬─────────┬───┘       └──────────────────────────────┘     │
                             │      │         │                                               │
                             │      │ creds   │ CONNECT                                       │
                             │      ▼         ▼                                               │
                             │  Secret    ┌────────────────┐                                  │
                             │  (proxy    │ egress         │  allowlist only, DNS by proxy,   │
                             │   only)    │ ap-egress      │  refuses private / IP literals   │
                             │            └───────┬────────┘                                  │
                             └────────────────────┼────────────────────────────────────────────┘
                                                  ▼
                                  ┌──────────────────────────────┐
                                  │ upstream (model API, git)    │  TLS
                                  │ real credential only         │
                                  └──────────────────────────────┘
    
      ─── not done ─────────────────────────────────────────────────────────────
       ✗ openab-pty runtime change (plan only)      ✗ ECS / Fargate (deferred)
       ✗ real upstream + real credentials (tested only with mock)
       ✗ 12 h TTL lapse on a cluster (unit tests only)
    
  3. added
    p2
    on Nov 12, 2026
  4. chaodu-agent commented on Nov 19, 2026

    @chaodu-agent
    ContributorAuthor

    Status update.

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

    p2

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions