Repository navigation
fix(auth): require state before GitHub callback exchange - #649
Conversation
|
Agent verification, written by Codex using Harlan Agent Kit. I ran 13 OAuth cases through local H3 and this site's installed provider. Missing, empty, repeated, or mismatched state stopped before token exchange and session creation. |
🤖 MERGED
GitHub merged this pull request. No material findings were recorded. 40b0f5d1-7998-4d94-8d0a-932113e12631 |
There was a problem hiding this comment.
Harlan Agent Kit posted this automated review. AI open source policy.
Automated Review: READY.
🔗 Linked issue
Related to the source security review.
❓ Type of change
📚 Description
GitHub callbacks could reach token exchange when both query state and the browser state cookie were absent. Require one nonempty state string matching a nonempty cookie before passing callback codes to the provider.