Skip to content

Epic: controlled egress, credentials and outward actions #1645

Open
27 of 29 issues completed
Open

Description

@schlessera

Part of #1636. Guardrail classes: G2 (data exfiltration), G5 (outward actions) and G6 (untrusted input and persistence).

Outcome

Agent workers:

  • see no brain secrets;
  • reach the network only through a recorded, limitable proxy;
  • send policy-restricted paths only to the providers the policy allows.

Outward actions taken in the user's name ask first unless the policy allows them. These include git push, GitHub posts, mail, bookings and payments. A session that ingested untrusted content runs under tighter egress and outward rules, and its steering writes are flagged.

Why now

#1636 ruling 4 asks for egress recording and limits. The maintainer's 2026-10-11 additions add outward actions, untrusted input and data-to-provider routing.

Shared context

Constraints and non-goals

  • No TLS interception.
  • Inside the brain, nothing is outward.
  • This epic does not widen autonomous authority.
  • Off-proxy egress tightening for tainted sessions is not available and is documented as such.

Binding rulings

Breakdown

Delivered: #1664 (outward approval), #2673 (user-marked untrusted files, merged #3287 f7eb0e498, 0.45.0), #1665 (private network, egress proxy and host relays for Claude and Pi), #1666 (provider keys withheld from workers), #1667 (session taint), #1674 (sync mirror), #1677 and #1894 (separate-UID workers), #2633 (/var masks), #2284, #3792 (credential-free Jev reranking through the host relay, merged #4024 86003b261f, 0.45.0), and the native maintenance prerequisites (#2250, #2268, #2270, #2296, #2297, #2300, #2301, #2312, #2343, #2345, #2347, #2354). #1668 closed after its last required 0.44.0 delivery, #2725 in merged #2917 (800d965ba), under the explicit maintainer completion ruling; the mount-record and masked fallback-CLI investigations remain standalone 0.45.0 follow-ups #2701/#2865, not repaired by that closure.

Remaining:

  1. ui-server: the Claude runtime's own api.anthropic.com traffic taints every governed turn, blocking WebFetch and reranking #3244 — the runtime-traffic correction is delivered by merged fix(backend-claude): keep the runtime's own traffic off the turn proxy #3249 (3b9f3e84bb0e33c0458a704462983725436ed8c0, milestone 0.45.0). The issue remains open only for its reserved human verification: a governed subscription-auth turn on managed native storage, with sanitized governance evidence showing no taint before a tool reaches a non-relay host.
  2. Epic: session taint marks real untrusted input, and its restrictions are visible and decidable #3428 — child epic: session taint marks real untrusted input, and its restrictions are visible and decidable. Its current native children own the remaining trigger, disclosure, approval-scope and trust-review work.

The #3792 delivery retains host-held credentials, exact route/origin checks and reranking operation accounting; unpriced spend remains unknown. Its separately scoped maintenance-worker calls remain unchanged.

The #3443 epic batch is merged on main as 559fe7b4125b588c4efbef50cecb7a688e0006a4. It completes #2745's file-bind socket-walk correction, #3314's unreachable non-managed-path cleanup, and supporting #3246's approved provider-relay G5/G6 treatment and provider: true record. Their earlier integration-only and #3461 handoffs are historical. Source inspection confirms mount-point lstat, relay taint exclusion and provider connection tagging; it is not a new runtime qualification.

Closed without delivery: #2654 (relay on hosts without managed native storage) was closed as obsolete under the maintainer's 2026-11-02 ruling (option 1): since #1793 no supported host runs without the native manager, so the relay already covers every governed and strict Claude turn. Its cleanup is #3314.

Definition of done

2026-10-24: consolidated to the current outcome, rulings, remaining children and definition of done; #1665, #1666 and #1667 are closed, so the old prerequisite chain and stacked "Current" handoffs are gone. The dated handoffs moved to a comment.

2026-10-24 continued triage at main dc5d3c73282c29a3f0098306d398743ee18ec791: Refreshed HOST_MASKS to its declaration; all managed-storage egress, residual-disclosure, provider-routing and user-marked-input prerequisites remain. Existing child needs and deferred non-managed work stay scoped; no new worker or provider proof.

2026-10-24 triage at main af6300478a07379178bd30221a31c0b917df2283: Refreshed moved current-source pointers by inspecting their named anchors. Historical receipts retain their source identities; scope, rulings, priorities and outstanding prerequisites are preserved. No runtime result or readiness is inferred from this navigation repair.

2026-10-24 triage at main e1ab485669565554ca6cb61ce5d130303647230f: Updated the active #2673 handoff to the new approved interaction while preserving all G6 policy/disclosure rulings. The child is implementation-ready; no taint-mark delivery or epic completion is claimed.

2026-10-25 triage at main c670449d3bf1b0639e50ce554d728961f4313add: Reconciled the recorded #1668 completion ruling with the delivered #2725 cache relocation and verified squash ancestry. Removed that closed child from remaining work while preserving standalone follow-ups, the native child history and the other open G6/socket/egress obligations. This does not close the parent or claim a new integrated test run.

2026-10-26 triage at main 2f10e0407769b685083c17a1c90bb43a060b94a0: Verified the moved current-source anchors after the writer and shell-startup changes and refreshed navigation. Historical receipts retain their source identities; scope, rulings and unresolved prerequisites are unchanged. No new runtime qualification is inferred.

2026-11-02 triage: attached #3244, #3246 as native children because their full egress/taint deliverables directly advance this epic’s controlled-egress outcome. Shared package/discovery alone was not the basis. Existing assignments, priorities, dependencies and milestone commitments are preserved. The runtime-traffic investigation and provider-relay policy ruling remain distinct; no fix, policy selection or epic readiness is claimed.

2026-11-02 delivery readback: reconciled #3244’s merged runtime-traffic slice and exact remaining needs: human action from its current body and maintainer receipt. Existing G6 policy and #3246’s separate unresolved ruling remain; this tracker update performs no provider or host verification.

2026-11-03 triage at main 3d3516a0247702560c09c5a0889bdec39b8313fb: Reconciled Remaining with the native children: #2654 closed as obsolete under the 2026-11-02 ruling, #3314 and child epic #3428 added, and #3246's two 2026-11-02 rulings folded in (its needs: decision is gone). #3244's open human verification and #2745 are unchanged. No epic completion is claimed.

2026-11-04 triage at main 53b862123d7b8e4c9d039859fabdc9fc6ad4cd36: Refreshed the active named-source navigation after inspecting the current declarations; existing decisions, historical receipts, child prerequisites and readiness remain unchanged. No new runtime qualification or implementation is claimed.

2026-11-05 triage at main 35217d283b849b5ef81700d5d4c2ec7486405d12: reconciled the current native open inventory, merged delivery and current source. Historical receipts retain their original identities; no new runtime/browser proof or epic completion is claimed.

Triage 2026-11-09 at main 9c7eb25825fdad5f4485db0df472188805edb450: Attached #3792 only after matching its complete credential-free worker/host-relay deliverable to controlled egress, and reconciled the active breakdown. Existing p0 ranking, initial milestone, child verification and no epic readiness are preserved.

2026-11-16 triage at main 3b104890f84e2eeca687d3c4fbdd1dbb02fb3ae9: Reconciled #3792/#4024’s completed default-branch delivery. #3244’s publication/human verification and child epic #3428 remain the open native outcomes.

2026-11-17 triage at main 9e7429a914a8aaf5967f074fa9e09984968fc9dc: Verified and refreshed the moved active source pointers. Historical receipts, binding rulings and remaining child outcomes retain their existing scope; this source inspection supplies no new runtime qualification.

Activity

  1. added
    area: ui-sdk
    area: ui-server
    area: backends
    priority: p1
    epic
    security
    on Oct 11, 2026
  2. added
    type: feat
    on Oct 11, 2026
  3. schlessera commented on Oct 11, 2026

    @schlessera
    OwnerAuthor

    2026-10-11 triage: Classified the native child epic as feat and verified its source/draft provenance. Preserved its independently preparable work and real child prerequisites without inventing a need or epic readiness.

  4. 44 remaining items

  5. schlessera commented on Oct 24, 2026

    @schlessera
    OwnerAuthor

    2026-10-24 triage at main e1ab485669565554ca6cb61ce5d130303647230f: Updated the active #2673 handoff to the new approved interaction while preserving all G6 policy/disclosure rulings. The child is implementation-ready; no taint-mark delivery or epic completion is claimed.

  6. modified the milestones: 0.44.0, 0.45.0 on Oct 25, 2026
  7. schlessera commented on Oct 25, 2026

    @schlessera
    OwnerAuthor

    2026-10-25 triage at main c670449d3bf1b0639e50ce554d728961f4313add: Reconciled the recorded #1668 completion ruling with the delivered #2725 cache relocation and verified squash ancestry. Removed that closed child from remaining work while preserving standalone follow-ups, the native child history and the other open G6/socket/egress obligations. This does not close the parent or claim a new integrated test run.

  8. schlessera commented on Nov 2, 2026

    @schlessera
    OwnerAuthor

    2026-11-02: #2673 has been delivered by #3287 (f7eb0e498, 0.45.0), so it moves from Remaining to Delivered. The epic stays open for #2745, #2654, #3244 and #3246.

  9. schlessera commented on Nov 3, 2026

    @schlessera
    OwnerAuthor

    2026-11-03 epic state. Open, in this order:

    1. ui-sdk: the worker socket walk misses a socket bind-mounted onto a file path #2745, the socket walk (p0, agent-ready).
    2. ui-server: a relayed provider request taints the session and is narrowed after taint, so tool order decides whether WebFetch or reranking works #3246, relay taint and narrowing. Ruled C plus the provider: true record, and implemented in open PR CONTRACT: fix(ui-server): exempt validated provider-relay requests from session taint (#3246) #3394 on the integration branch.
    3. ui-server: fail closed on the unreachable non-managed governed turn path and correct its docs #3314, cleanup of the unreachable non-managed path. Delivered to the integration branch through CONTRACT: fix(ui-server): refuse governed and strict turns whose view is not on managed native storage #3335 and waiting for the batch to land.
    4. ui-server: the Claude runtime's own api.anthropic.com traffic taints every governed turn, blocking WebFetch and reranking #3244, which only needs its reserved human verification.
    5. Child epic Epic: session taint marks real untrusted input, and its restrictions are visible and decidable #3428, which holds ui-server: an ordinary shell command taints a governed session even when the egress proxy records real connections #3429, ui-sdk: a tainted session's new destination is refused silently instead of asking the user #3430, ui-sdk, modules: taint refusals reach the agent as unrelated errors such as "region not supported" #3431 and Spike: classify a tainted session's outgoing calls for likely data extraction, with heuristics first and JEV for the ambiguous band #3434.

    Closed: #2654, as obsolete under the 2026-11-02 ruling.

    Note for the maintainer: #3428's breakdown lists #3246, but #3246's native parent is this epic. This pass left it in place.

  10. added a commit that references this issue on Nov 3, 2026
  11. schlessera commented on Nov 5, 2026

    @schlessera
    OwnerAuthor

    Epic state — 2026-11-05 triage. Merged #3443 is an ancestor of inspected main 35217d283b849b5ef81700d5d4c2ec7486405d12, completing the #2745 socket-walk correction, #3314 cleanup and supporting #3246 relay treatment. Current open native children are #3244 (reserved human verification) and #3428 (session safety). The body now reflects those deliveries; no new host/provider test or full-epic completion is claimed.

  12. schlessera commented on Nov 16, 2026

    @schlessera
    OwnerAuthor

    Epic state — 2026-11-16. #3792 is delivered by #4024 (86003b261f), verified on inspected main, and has moved out of Remaining. The current open native children remain #3244 and #3428; no new provider run or full security outcome is claimed.

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

    area: backendsarea: ui-sdkarea: ui-serverepicpriority: p0securitytype: feat

    Projects

    No projects

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions