Skip to content

Block unsafe evidence handoff privacy leaks - #21

Open
zwright8 wants to merge 1 commit into
mainfrom
codex/hermes-goal-1-evidence-20260702-privacy-followup
Open

Block unsafe evidence handoff privacy leaks#21
zwright8 wants to merge 1 commit into
mainfrom
codex/hermes-goal-1-evidence-20260702-privacy-followup

Conversation

@zwright8

@zwright8 zwright8 commented Jul 2, 2026

Copy link
Copy Markdown
Owner

Summary

  • add audit privacy findings and --fail-on-privacy
  • redact finding values while reporting file, line, and category
  • wire release_check to reject privacy findings in generated evidence

Verification

  • python -m pytest tests/test_cli_report.py -k audit
  • python -m flightrecorder audit --runs runs --fail-on-privacy
  • ./release_check.sh

Audit is the last lightweight evidence check before downstream layers consume generated runs, so it now reports built-in public-repo privacy findings and can fail on them without echoing sensitive values. Reserved example domains remain allowed for deterministic fixtures, and the release check uses a placeholder live-smoke root before enabling the gate.

Constraint: Repository is public and generated evidence must not carry local/private path or contact values downstream
Rejected: Require callers to enumerate every private pattern with --forbid-text | misses common path and contact leaks
Rejected: Echo matched values in audit output | would make the audit artifact unsafe to share
Confidence: high
Scope-risk: narrow
Directive: Keep audit findings category-only unless the output path is explicitly private
Tested: python -m pytest tests/test_cli_report.py -k audit
Tested: python -m flightrecorder audit --runs runs --fail-on-privacy
Tested: ./release_check.sh
Not-tested: Live Hermes/OpenClaw smoke scripts against real external checkouts
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