Repository navigation
Cover the embedded auth server in threat model - #6879
Merged
Merged
Conversation
The OSS Scanner threat model mentioned the embedded authorization server only in passing, so the scanner had no guidance on its attack surface, its trust assumptions, or how to rank findings against it. Add the authorization server to the existing sections in the same style as the other components: its goals (token issuance, single-use codes, the AllowedAudiences ceiling, upstream token isolation), its unauthenticated inputs, the code ToolHive adds around fosite, the tsid and token exchange boundaries, and severity examples. Record the accepted trade-offs (Redis is trusted, SPIFFE assertion replay within its lifetime, SHA-256 client secrets, delegate client trust) so the scanner does not report them. Co-authored-by: Mecatl <[email protected]>
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## main #6879 +/- ##
==========================================
- Coverage 79.77% 79.66% -0.12%
==========================================
Files 820 821 +1
Lines 83723 83726 +3
==========================================
- Hits 66791 66698 -93
- Misses 16927 17023 +96
Partials 5 5 ☔ View full report in Codecov by Harness. 🚀 New features to boost your workflow:
|
rdimitrov
approved these changes
Oct 20, 2026
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.
The OSS Scanner threat model mentioned the embedded authorization
server only in passing, so the scanner had no guidance on its attack
surface, its trust assumptions, or how to rank findings against it.
Add the authorization server to the existing sections in the same
style as the other components: its goals (token issuance, single-use
codes, the AllowedAudiences ceiling, upstream token isolation), its
unauthenticated inputs, the code ToolHive adds around fosite, the
tsid and token exchange boundaries, and severity examples. Record the
accepted trade-offs (Redis is trusted, SPIFFE assertion replay within
its lifetime, SHA-256 client secrets, delegate client trust) so the
scanner does not report them.
Co-authored-by: Mecatl [email protected]