Skip to content

Redact token-bearing URLs from js results (extension connection URL leaked into the transcript during dogfooding) #24

Closed

Description

@SSFSKIM

Problem

In the Homework 1b dogfood run (docs/evidence/2026-10-05-homework-1b-dogfooding.md, "Safety, privacy, and completion quality"), a combined getState inventory returned an extension connection URL carrying a bearer-style token in the tool output, which then sits in the Claude Code transcript. The token belongs to a browser-bridge extension tab the user had open; the agent had no need for it.

Success criteria

  • Tool results that pass through cua serve (text content and structured content) have known token-bearing URL shapes redacted (query parameters named like token, access_token, key, and the Playwright MCP extension connection URL pattern) to <redacted>; the rest of the result is unchanged.
  • Redaction is a result rewrite like the existing image MIME correction, applied to js/js_reset results; never to requests.
  • Unit tests with fixture results; one live check that an ordinary getState still lists apps and tabs.
  • Document the rule in README (what is redacted, that cua does not otherwise filter outputs).

Activity

  1. added
    enhancement
    status:ready-for-implementer
    priority:P2
    status:in-progress
    and removed
    status:ready-for-implementer
    on Oct 5, 2026
  2. SSFSKIM commented on Oct 5, 2026

    @SSFSKIM
    OwnerAuthor

    [board] in-progress: Implementing js result URL-token redaction

  3. added
    status:in-review
    and removed
    status:in-progress
    on Oct 5, 2026
  4. SSFSKIM commented on Oct 5, 2026

    @SSFSKIM
    OwnerAuthor

    [board] in-review: PR open; review pending

  5. removed
    status:in-review
    on Oct 5, 2026
  6. SSFSKIM commented on Oct 5, 2026

    @SSFSKIM
    OwnerAuthor

    [board] done: merged to main

  7. added a commit that references this issue on Nov 21, 2026
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

    enhancementpriority:P2

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions