Skip to content

DOM-capture recorder: redact secrets and PII at capture time #552

Description

@rosscado

Problem: recorded DOM fixtures (scripts/dom-capture/recorder.js output and manual captures under doc/dom/) have historically embedded live session tokens, emails, and account/org/device ids verbatim — PR #541 had to scrub three ChatGPT fixtures after the fact, and the #547 secret-scan baseline needed a rule-scoped allowlist for that directory.

Scope: the capture path (recorder + any documented manual capture recipe). Out of scope: the already-scrubbed historical fixtures, the CI scan itself (#531).

Reproduction / verification: capture any authenticated host page today → tokens/emails/user-org-device ids land in the artifact verbatim. Verify done = a fresh capture of an authenticated page contains only redacted placeholders (fake alg:none JWTs, redacted@example.com, user-REDACTED etc.), and the doc/dom capture recipe documents the guarantee.

Acceptance criteria:

Notes (non-binding): flagged by the #541 review and #547 review (nit 1) — this issue makes the follow-up tracked rather than a doc paragraph.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions