Skip to content

fix(auth): harden assertion and provider evidence - #4782

Closed
cea-block wants to merge 1 commit into
cea/identity-binding-lifecyclefrom
cea/o4-assertion-hardening
Closed

fix(auth): harden assertion and provider evidence#4782
cea-block wants to merge 1 commit into
cea/identity-binding-lifecyclefrom
cea/o4-assertion-hardening

Conversation

@cea-block

Copy link
Copy Markdown

Why

Protected authorization needs one fail-closed trust boundary for ambiguous identity inputs, bounded assertion time, provider key degradation, and provider-neutral verified evidence.

What

  • Reject ambiguous protected identity headers and preserve exact transport provenance.
  • Enforce optional issuance time, future-skew, assertion lifetime, and bounded key-cache freshness.
  • Add a sealed VerifiedProviderEvidence contract bound to the exact domain, transport, installed profile, normalized principal, capability set, and hard freshness window.
  • Redact raw claim maps and provider evidence from debug output.

Risk Assessment

The new behavior is disabled unless the protected authorization profile is installed. Mismatched, stale, future, or ambiguous evidence fails closed. No migrations are introduced.

References

Stacked on #4772.

Generated with Codex

Signed-off-by: Cea Stapleton Cordasco <261786559+cea-block@users.noreply.github.com>
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