Parent tracker: #62
Spec: docs/superpowers/specs/2026-05-21-edge-case-hardening-design.md
Milestone: P3
Goal
Extend the redaction boundary to treat OAuth state, nonce, code_verifier, and code_challenge values as high-entropy and redact them from evidence excerpts even though they are not strictly secret.
Why
These values can leak session-linking signals between user-agent, authorization server, and the client application. Reports must not echo them back.
Acceptance criteria
Files touched
crates/sessionscope-core/src/redaction.rs
- A new redaction-regression test under
tests/integration/ (or near-by depending on existing pattern).
Audit-then-decide
Doc-update checklist
Parent tracker: #62
Spec:
docs/superpowers/specs/2026-05-21-edge-case-hardening-design.mdMilestone: P3
Goal
Extend the redaction boundary to treat OAuth
state,nonce,code_verifier, andcode_challengevalues as high-entropy and redact them from evidence excerpts even though they are not strictly secret.Why
These values can leak session-linking signals between user-agent, authorization server, and the client application. Reports must not echo them back.
Acceptance criteria
crates/sessionscope-core/src/redaction.rsrecognises identifier-name patternsstate,nonce,code_verifier,code_challenge,codeVerifier,codeChallengeand redacts high-entropy literal values assigned to those names or appearing in URLs alongside those parameter names.Files touched
crates/sessionscope-core/src/redaction.rstests/integration/(or near-by depending on existing pattern).Audit-then-decide
Doc-update checklist
docs/DATA_HANDLING.mdupdated to list the new redaction patterns.CHANGELOG.mdunreleased entry.