Implement P3 OAuth flow and client storage hardening#98
Merged
Conversation
This was referenced May 24, 2026
This was referenced May 24, 2026
Owner
Author
|
Review/remediation update: Summary:
Security/regression review:
Merge conflicts:
Validation:
Commits pushed:
Remaining notes:
|
… sensitive information' Co-authored-by: Copilot Autofix powered by AI <62310815+github-advanced-security[bot]@users.noreply.github.com>
Owner
Author
|
CI remediation update: Summary:
Validation:
Commits pushed:
Remaining notes:
|
bjcorder
added a commit
that referenced
this pull request
May 24, 2026
* Fix #70: P2.1 Detector — JWT verify-options key extraction * Fix #71: P2.2 Classifier — JWT alg:none acceptance * Fix #72: P2.3 Classifier — JWT algorithm-confusion signal * Fix #73: P2.4 Classifier — JWT header-trust risks * Fix #74: P2.5 Classifier — nbf, clock-skew, kid validation gaps * Fix #75: P2.6 Fixtures — JWT crypto-trust scenarios * Fix #76: P2.7 Docs — P2 check catalog and coverage matrix rows * Fix #73: Address JWT crypto-trust review findings * Fix #73: Keep JWT verify helper clippy-clean * Fix #77: P3.1 oauth_flow scaffold and registration * Fix #85: P3.9 OAuth state nonce and PKCE redaction * Fix #78: P3.2 PKCE missing classifier * Fix #79: P3.3 OAuth state integrity classifier * Fix #80: P3.4 OIDC nonce classifier * Fix #81: P3.5 redirect URI wildcard classifier * Fix #82: P3.6 client_storage detector registration * Fix #83: P3.7 client storage hygiene classifier * Fix #84: P3.8 OAuth and client storage fixtures * Fix #86: P3.10 document OAuth flow and storage coverage * Fix #83: restore client storage test import * Fix #83: scope client storage test import * Fix #82: narrow client storage URL token evidence * Fix #77: address P3 review flow scoping and redaction * Fix #77: tighten P3 review redaction and flow bounds * Fix #77: resolve focused P3 review blockers * Fix #77: preserve pre-flow OAuth evidence in segment * Fix #83: keep P3 classifier tests clippy-clean * Potential fix for pull request finding 'CodeQL / Cleartext logging of sensitive information' Co-authored-by: Copilot Autofix powered by AI <62310815+github-advanced-security[bot]@users.noreply.github.com> * Address PR #98 review findings * Fix #87: P4.1 Classifier — JWT denylist absent on logout * Fix #88: P4.2 Classifier — refresh-family revocation absent on logout * Fix #89: P4.3 Classifier — sliding expiry without rotation * Fix #90: P4.4 Classifier — password-change without global revocation * Fix #91: P4.5 Fixtures — false-positive coverage for new checks * Fix #92: P4.6 JSON snapshot tests per framework family * Fix #93: P4.7 CLI exit-code matrix tests * Fix #94: P4.8 Consolidated category-audit decision * Fix #95: P4.9 Final docs pass * Address milestone 14 review findings * Address PR #99 Windows snapshot check * Fix Windows snapshot CI line endings --------- Co-authored-by: Copilot Autofix powered by AI <62310815+github-advanced-security[bot]@users.noreply.github.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Implements milestone 13 / P3 OAuth flow + client storage hardening:
oauth_flowdetector andoauth_auth_code_flowartifact type.client_storagedetector/classifier for localStorage, sessionStorage, URL path/fragment token exposure, and browser-path client secrets.Implemented issues
Validation
cargo fmt --all -- --check— passedcargo check --workspace— passedcargo test -q— passedcargo clippy --workspace --all-targets -- -D warnings— passedReview notes
Fresh-context completion, correctness, and security reviews were run. Follow-up fixes addressed OAuth flow scoping, state/nonce verification false positives, and redaction coverage for OAuth/client-storage values, including template literals and report re-sanitization.
Risks / follow-ups
oauth_auth_code_flow; include this in the P4.8 consolidated audit rollup.Need help on this PR? Tag
@codesmithwith what you need. Autofix is disabled.