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

stacklok / toolhive / 29412915156
68%

Build:
DEFAULT BRANCH: main
Ran 15 Jul 2026 11:54AM UTC
Jobs 1
Files 798
Run time 2min
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

15 Jul 2026 11:48AM UTC coverage: 68.005% (-0.006%) from 68.011%
29412915156

push

github

web-flow
Validate aud and resource claims in returned ID-JAG JWT (#5716)

The XAA IdP exchange (RFC 8693) returned an ID-JAG JWT without
validating its aud or resource claims against the values requested in
the exchange. If the IdP minted an ID-JAG for a different audience or
resource, ToolHive forwarded it to the target AS unchanged — a token-
misbinding / confused-deputy risk.

Add validateIDJAGClaims to check the aud claim (REQUIRED per draft
§3.1, membership check per RFC 7519 §4.1.3) and the resource claim
(OPTIONAL per §3.1, validated when one was requested) inside the
returned ID-JAG JWT. A non-JWT assertion that fails to parse is now
rejected rather than forwarded. The typ header check remains logged-
only by design (the draft §3.1 MUST is on the issuer; ToolHive is the
holder/presenter).

Closes #5696

49 of 51 new or added lines in 1 file covered. (96.08%)

32 existing lines in 7 files now uncovered.

73526 of 108119 relevant lines covered (68.0%)

63.46 hits per line

Uncovered Changes

Lines Coverage ∆ File
2
97.76
-0.46% pkg/vmcp/auth/strategies/xaa.go

Coverage Regressions

Lines Coverage ∆ File
9
61.52
-0.69% pkg/workloads/manager.go
6
20.11
-3.45% pkg/client/manager.go
6
76.15
-5.5% pkg/secrets/keyring/keyctl_linux.go
3
73.79
-2.91% pkg/state/local.go
3
64.29
-4.29% pkg/state/runconfig.go
3
80.56
-0.7% pkg/transport/proxy/httpsse/http_proxy.go
2
96.04
0.0% pkg/authserver/storage/memory.go
Jobs
ID Job ID Ran Files Coverage
1 29412915156.1 15 Jul 2026 11:54AM UTC 798
68.0
GitHub Action Run
Source Files on build 29412915156
  • Tree
  • List 798
  • Changed 11
  • Source Changed 1
  • Coverage Changed 11
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Github Actions Build #29412915156
  • 9e509347 on github
  • Prev Build on main (#29408585325)
  • Next Build on main (#29413761252)
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc