Skip to content

Diagnostics — PII scrubbing #857

Closed as not planned
Closed as not planned

Description

@samanthamsong

Epic: «Ship & update the node with confidence» (#838)
Backlog Doc ID: #33 · Priority: P2 · Area: release

Description
Scrub PII from collected diagnostics.

Definition of done
Diagnostic output is PII-scrubbed before it leaves the device.

Part of the «Ship & update the node with confidence» tracking issue (#838).

Activity

  1. clawsweeper commented on Jun 26, 2026

    @clawsweeper

    Codex review: keeping this open for maintainer follow-up; there is still a little grit to resolve. Reviewed July 29, 2026, 4:45 PM ET / 20:45 UTC.

    Summary
    Keep open for explicit maintainer security review. The merged sanitized-bundle work is strong related progress, but it does not by itself establish the issue’s broader guarantee that every collected diagnostic is scrubbed before any off-device egress; this collaborator-authored, security-labeled item also must not be auto-closed. Likely related people: christineyan4 (implementation history, high confidence) and samanthamsong (tracking scope, medium confidence).

    Reproducibility: not applicable. as a conventional bug reproduction. The remaining question is a security-contract audit of diagnostic sources and off-device egress paths, not a reported failing interaction.

    Root-cause cluster
    Relationship: canonical
    Canonical: #857
    Summary: This is the canonical child item for the PII-scrubbing contract; the merged bundle work is related but does not conclusively cover the full requested boundary.

    Members:

    Proposal only: this assessment does not dispatch repair, suppress jobs, mutate sibling items, close, or merge anything.

    Ways to help us reproduce this

    • Add a screenshot or short recording showing the behavior.
    • Include the exact command, prompt, or workflow that triggered it.
    • Add expected vs actual behavior.

    Maintainer decision needed

    Question Recommendation
    Which diagnostic sources and egress paths must be covered by the PII-scrubbing contract, and is the existing sanitized bundle intended to be the sole supported sharing boundary? Adopt one audited bundle boundary: Make the sanitized diagnostics bundle the only supported export/share path and require all diagnostic sources to enter through it.

    Why: The implementation direction depends on the product’s supported diagnostics and sharing surface; source-side redaction cannot be declared complete without an approved scope and fail-closed boundary.

    Next step
    A maintainer must first set the supported diagnostics-sharing boundary and PII policy; the security label and collaborator authorship make autonomous repair inappropriate.

    Security
    Needs attention: The issue concerns a privacy boundary; the remaining security concern is unproven coverage of all diagnostic sources and egress paths.

    Review details

    Best possible solution:

    Define the approved diagnostics egress boundary, audit each producer and destination against it, then add focused coverage proving sensitive values cannot reach preview, saved bundles, or sharing paths unsanitized.

    Do we have a high-confidence way to reproduce the issue?

    Not applicable as a conventional bug reproduction. The remaining question is a security-contract audit of diagnostic sources and off-device egress paths, not a reported failing interaction.

    Is this the best way to solve the issue?

    Unclear. The merged sanitized bundle is a strong foundation, but the best complete solution depends on maintainers defining the supported diagnostic-sharing boundary and proving every route obeys it.

    AGENTS.md: found and applied where relevant.

    Remaining risk / open question:

    • There is no evidenced, reviewed inventory showing that every diagnostic producer and every copy, save, upload, or support-sharing egress crosses one fail-closed sanitization boundary.

    Codex review notes: model internal, reasoning high; reviewed against c04c5fb06238.

    Label changes

    Label changes:

    • add issue-rating: 🌊 off-meta tidepool: Current issue advisory state selects this label.
    • remove issue-rating: 🐚 platinum hermit: Current issue advisory state no longer selects this label.
    • remove clawsweeper:needs-live-repro: Current issue advisory state no longer selects this label.

    Label justifications:

    • P2: This is important privacy hardening for diagnostics sharing, but the record does not establish an active security bypass or user-facing emergency.
    • impact:security: The requested behavior governs removal of personally identifiable information before diagnostic data can be shared off-device.
    Evidence reviewed

    Security concerns:

    • [medium] Define and verify the complete diagnostics egress boundary
      The merged bundle sanitizer provides a relevant path, but no supplied evidence proves that all diagnostic collection, preview, save, copy, and sharing routes are covered before data leaves the device.
      Confidence: 0.91

    What I checked:

    • Merged related implementation: The supplied related-item record shows merged pull request 562 added a sanitized diagnostics bundle, source-side sanitization, a defense-in-depth export redactor, timeout fail-closed handling, and regression coverage. That is meaningful progress, but its stated scope is the diagnostics bundle rather than a demonstrated inventory of every diagnostics egress path. (8c9acbcfb5d8)
    • Current issue scope remains broader: This issue’s definition of done requires diagnostic output to be PII-scrubbed before it leaves the device. The prior ClawSweeper review likewise found sanitizer and bundle work but could not verify that full end-to-end boundary.
    • Maintainer-handling signal: The supplied GitHub context identifies the author as a COLLABORATOR and the issue carries security-review and maintainer-review labels, so conservative cleanup policy requires explicit maintainer handling rather than auto-close.

    Likely related people:

    • christineyan4: Authored the merged sanitized diagnostics bundle work that introduced the relevant source-side sanitization and redaction path. (role: sanitized diagnostics implementation contributor; confidence: high; commits: 8c9acbcfb5d8; files: src/OpenClaw.Shared/Diagnostics, src/OpenClaw.Tray.WinUI)
    • samanthamsong: Opened this child item and the linked release-confidence tracking issue that defines its delivery scope. (role: tracking-work owner; confidence: medium)
    How this review workflow works
    • ClawSweeper keeps one durable marker-backed review comment per issue or PR.
    • Re-runs edit this comment so the latest verdict, findings, and automation markers stay together instead of adding duplicate bot comments.
    • A fresh review can be triggered by eligible @clawsweeper re-review comments, exact-item GitHub events, scheduled/background review runs, or manual workflow dispatch.
    • PR/issue authors and users with repository write access can comment @clawsweeper re-review or @clawsweeper re-run on an open PR or issue to request a fresh review only.
    • Maintainers can also comment @clawsweeper review to request a fresh review only.
    • Fresh-review commands do not start repair, autofix, rebase, CI repair, or automerge.
    • Maintainer-only repair and merge flows require explicit commands such as @clawsweeper autofix, @clawsweeper automerge, @clawsweeper fix ci, or @clawsweeper address review.
    • Maintainers can comment @clawsweeper explain to ask for more context, or @clawsweeper stop to stop active automation.
  2. added
    P2
    impact:security
    issue-rating: 🐚 platinum hermit
    clawsweeper:needs-live-repro
    clawsweeper:no-new-fix-pr
    clawsweeper:needs-maintainer-review
    clawsweeper:needs-product-decision
    clawsweeper:needs-security-review
    on Jun 26, 2026
  3. added theissue type on Jun 26, 2026
  4. moved this from Backlog to Release in Windows Companion Appon Jul 13, 2026
  5. github-actions commented on Jul 25, 2026

    @github-actions
    Contributor

    This issue has been automatically marked as stale due to inactivity.
    Please add updated OpenClaw Windows details or it will be closed.

  6. added
    issue-rating: 🌊 off-meta tidepool
    and removed
    issue-rating: 🐚 platinum hermit
    clawsweeper:needs-live-repro
    on Jul 29, 2026
  7. github-actions commented on Aug 14, 2026

    @github-actions
    Contributor

    This issue has been automatically marked as stale due to inactivity.
    Please add updated OpenClaw Windows details or it will be closed.

  8. github-actions commented on Aug 22, 2026

    @github-actions
    Contributor

    Closing due to inactivity.
    If this still affects OpenClaw Windows, open a new issue with the current version, logs, and fresh reproduction details.

  9. locked as resolved and limited conversation to collaborators on Aug 24, 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

    P2clawsweeper:needs-maintainer-reviewclawsweeper:needs-product-decisionclawsweeper:needs-security-reviewclawsweeper:no-new-fix-primpact:securityissue-rating: 🌊 off-meta tidepoolstale

    Type

    Fields

    Priority

    Medium

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions