• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

stacklok / toolhive / 42797212494
73%

Build:
DEFAULT BRANCH: main
Ran 10 Nov 2026 10:21AM UTC
Jobs 1
Files 1005
Run time 1min
Badge
Embed ▾
README BADGES
x

If you need to use a raster PNG badge, change the '.svg' to '.png' in the link

Markdown

Textile

RDoc

HTML

Rst

10 Nov 2026 10:12AM UTC coverage: 72.782% (-0.004%) from 72.786%
42797212494

push

github

web-flow
Refuse deeply nested JWT payloads before fosite (#7090)

fosite v0.49.0 decodes the claims of client assertions and OpenID
Connect request objects with go-jose v3 before it verifies their
signatures. go-jose v3's JSON decoder recurses once per nesting level
with no limit (GHSA-vvm8-gf78-28g4), so an unauthenticated caller can
grow a goroutine stack by hundreds of MiB per request, or overflow it
and stop the process where request size limits allow.

The existing JWS guard checked only the header. It now also requires
the payload to be JSON that encoding/json accepts, which caps nesting
at 10000 levels, far below the depth that overflows go-jose v3. JWT
claims are a JSON object, so conforming tokens are unaffected.

New tests drive both guarded entry points through a running server and
pin the routes and fosite handlers through which an untrusted JWT can
reach go-jose v3, so a new one has to be checked against the guard.

Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>

15 of 15 new or added lines in 4 files covered. (100.0%)

15 existing lines in 4 files now uncovered.

93959 of 129096 relevant lines covered (72.78%)

857.02 hits per line

Coverage Regressions

Lines Coverage ∆ File
6
19.87
-3.97% pkg/client/manager.go
6
59.0
-0.62% pkg/workloads/manager.go
2
73.19
-0.27% pkg/transport/proxy/streamable/streamable_proxy.go
1
88.15
0.0% pkg/transport/proxy/transparent/transparent_proxy.go
Jobs
ID Job ID Ran Files Coverage
1 42797212494.1 10 Nov 2026 10:21AM UTC 1005
72.78
GitHub Action Run
Source Files on build 42797212494
  • Tree
  • List 1005
  • Changed 10
  • Source Changed 4
  • Coverage Changed 9
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Github Actions Build #42797212494
  • 1bf7da28 on github
  • Prev Build on main (#42794424099)
  • Next Build on main (#42800117903)
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE TRIAL · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc