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

stacklok / toolhive / 37784199393
75%

Build:
DEFAULT BRANCH: main
Ran 08 Oct 2026 01:32PM UTC
Jobs 1
Files 944
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

08 Oct 2026 01:25PM UTC coverage: 71.053% (+0.1%) from 70.957%
37784199393

push

github

web-flow
Merge commit from fork

* Add end-to-end test for cross-browser callback

The fix for GHSA-2gjv-f568-6cxp is covered by handler-level unit tests,
but nothing drives the actual attack through the whole server: an
attacker starts /oauth/authorize, a victim in another browser logs in
upstream, and the victim's callback must not yield a code for the
attacker's client.

This test runs that flow against mockoidc and asserts the victim's
callback is a 400 with no redirect, the victim's upstream code is never
exchanged, and the pending authorization is consumed so the attacker's
own browser cannot complete it afterwards. Against the pre-fix code the
victim's callback returns 303 with a code, so the test fails.

Co-Authored-By: mecatl <noreply@mecatl.dev>

* Validate callback binding before consuming state

Co-Authored-By: mecatl <noreply@mecatl.dev>

* Bind the token audience at authorization

Co-Authored-By: mecatl <noreply@mecatl.dev>

* Persist consent stage on pending authorizations

Co-Authored-By: mecatl <noreply@mecatl.dev>

* Require consent before upstream authorization

Co-Authored-By: mecatl <noreply@mecatl.dev>

* Fail closed when the approved upstream is gone

A consent record names its upstream provider. If configuration changes
while the record awaits approval, look the provider up by name and fail
with server_error instead of redirecting to whatever upstream is first.

Co-Authored-By: mecatl <noreply@mecatl.dev>

* Keep pending state within original lifetime

Co-Authored-By: mecatl <noreply@mecatl.dev>

* Show unverified DCR name on consent page

Preserve registered client names across memory and Redis while leaving client identity and authentication behavior unchanged.

Co-Authored-By: mecatl <noreply@mecatl.dev>

* Document consent before upstream authorization

Explain the pre-upstream approval page, the browser-bound single-use
records, audience binding and the 10-minute absolute lifetime.

Co-Authored-By: mecatl <noreply@mecatl.dev>

* Fi... (continued)

739 of 882 new or added lines in 18 files covered. (83.79%)

5 existing lines in 2 files now uncovered.

85514 of 120352 relevant lines covered (71.05%)

126.42 hits per line

Uncovered Changes

Lines Coverage ∆ File
48
43.04
-0.2% pkg/authserver/storage/mocks/mock_storage.go
22
75.0
pkg/authserver/storage/redis_remembered_consent.go
18
88.0
pkg/authserver/server/handlers/consent.go
12
64.63
6.3% pkg/authserver/server/handlers/token.go
10
90.57
pkg/authserver/server/handlers/remembered_consent.go
10
68.42
-0.93% test/integration/authserver/helpers/http_client.go
9
90.09
0.85% pkg/authserver/server/handlers/authorize.go
8
92.26
-0.32% pkg/authserver/server/handlers/callback.go
2
89.5
0.61% pkg/authserver/server/registration/client.go
2
54.78
-0.24% pkg/transport/http.go
2
87.66
0.26% pkg/transport/proxy/transparent/transparent_proxy.go

Coverage Regressions

Lines Coverage ∆ File
3
83.0
0.18% pkg/authserver/storage/redis.go
2
59.63
0.0% pkg/workloads/manager.go
Jobs
ID Job ID Ran Files Coverage
1 37784199393.1 08 Oct 2026 01:32PM UTC 944
71.05
GitHub Action Run
Source Files on build 37784199393
  • Tree
  • List 944
  • Changed 22
  • Source Changed 18
  • Coverage Changed 22
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Github Actions Build #37784199393
  • d7877b89 on github
  • Prev Build on main (#37679606147)
  • Next Build on main (#37906021813)
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