Skip to content

Add audited Conversations redaction tooling#7

Open
andrei-hasna wants to merge 2 commits into
mainfrom
iproj-security-leaks/T6-conversations-redact
Open

Add audited Conversations redaction tooling#7
andrei-hasna wants to merge 2 commits into
mainfrom
iproj-security-leaks/T6-conversations-redact

Conversation

@andrei-hasna

Copy link
Copy Markdown
Contributor

Summary

  • add conversations admin redact-messages for known message-id redaction
  • keep dry-run as the default and require backup confirmation, dry-run confirmation, and owner authority before apply
  • redact message content, metadata, attachment references, managed attachment files, FTS/export surfaces, and SQLite residual storage via secure delete, WAL truncation, and VACUUM

Verification

  • bun test src/lib/admin-redaction.test.ts src/cli/commands/admin.test.ts
  • bun run typecheck
  • bun run build
  • bun test
  • gitleaks protect --staged --no-banner --redact
  • gitleaks detect --source . --no-banner --redact --log-opts=origin/main..HEAD

Operational note

No live redaction or credential rotation was performed. Live mutation remains blocked until backup confirmation, reviewed dry-run approval, and owner rotation/redaction authority are present.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant