Repository navigation
HTTP/2 :authority pseudo-header trust check - #30
Merged
Merged
Conversation
emmanuelgautier
force-pushed
the
feat/http2-protocol
branch
3 times, most recently
from
November 10, 2026 00:12
f3e8389 to
f762351
Compare
emmanuelgautier
force-pushed
the
feat/http2-protocol
branch
from
November 10, 2026 00:14
f762351 to
f8f8f75
Compare
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.
Closes #13.
Adds
protocol.h2_authority_trust, an aggressive-suite check (runs only with--aggressive) covering the HTTP/2 pseudo-header → Host conversion concern: whether the proxy trusts a client-supplied:authorityit never validated. Over a forced HTTP/2 connection (ALPNh2, via the stablex/net/http2client) it sends a distinctive non-routable marker as:authorityand flags a finding only when the proxy reflects it while a clean control does not — the HTTP/2 analogue of Host-header injection. Skips against HTTP/1.1-only targets.Promotes
golang.org/x/netto a direct dependency (already present transitively).Checklist coverage
:authoritypseudo-header to Host/URI conversion / trust inconsistenciesDeferred items are documented in
docs/checks/protocol.mdx. Includes registration and a category test (HTTP/2 reflecting vs. non-reflecting vs. HTTP/1.1-only stand-ins).