Skip to content

Redact secrets and define telemetry retention and deletion #35

Description

@4nass

Problem

runs.request, provider errors and metadata can contain credentials, private URLs, customer data or pasted secrets. A mobile gateway also risks echoing those values into channel notifications.

Acceptance criteria

  • Apply deterministic redaction before persistence and before outbound notifications.
  • Cover common token/key formats plus project-configured patterns without logging the original match.
  • Store only the minimum request/error/context metadata needed for operation.
  • Define configurable retention by data class: runs, calls, events, diffs and attachments.
  • Provide deletion by run, session and project with auditable tombstone semantics.
  • SQLite and artifact directories use restrictive permissions and documented backup handling.
  • Redaction runs before any diagnostic exception is serialized.
  • Tests use canary secrets to prove they never reach SQLite, logs or mobile payloads.

Activity

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

    enhancementNew feature or requestpriority:P1Required for a reliable mobile engineering workflowsecuritySecurity weakness found in the audit

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions