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

stacklok / toolhive / 30352921632
70%

Build:
DEFAULT BRANCH: main
Ran 28 Jul 2026 11:06AM UTC
Jobs 1
Files 850
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

28 Jul 2026 10:58AM UTC coverage: 69.773% (+0.04%) from 69.735%
30352921632

push

github

web-flow
Close authz response filter bypasses via media type and status (#6092)

Close authz filter bypasses via media type and status

The authz response filter only filtered list results labeled exactly
"application/json" or "text/event-stream" on HTTP 200/202. RFC 9110
makes media types case-insensitive and allows whitespace before
parameters, and fetch-based MCP clients accept any 2xx status, so a
backend could return "Application/JSON", "application/json ;
charset=utf-8", or HTTP 201 and deliver the complete unfiltered
inventory to the caller, silently. Both bypasses were confirmed by an
executed test harness.

Normalize the media type before matching, filter the whole 2xx range,
and sniff unrecognized media types on filtered methods for JSON-RPC
results so a mislabeled list fails closed, mirroring the hardened
sibling filter in pkg/mcp/tool_filter.go.


Claude-Session: https://claude.ai/code/session_01Y5WXPQr5Da9Cox2nZWhg6n

Co-authored-by: Claude Opus 5 (1M context) <noreply@anthropic.com>

41 of 41 new or added lines in 1 file covered. (100.0%)

15 existing lines in 3 files now uncovered.

81403 of 116669 relevant lines covered (69.77%)

98.53 hits per line

Coverage Regressions

Lines Coverage ∆ File
11
90.51
3.01% pkg/authz/middleware.go
2
73.78
-0.24% pkg/transport/proxy/streamable/streamable_proxy.go
2
88.24
-5.88% pkg/vmcp/backendregistry/registry.go
Jobs
ID Job ID Ran Files Coverage
1 30352921632.1 28 Jul 2026 11:06AM UTC 850
69.77
GitHub Action Run
Source Files on build 30352921632
  • Tree
  • List 850
  • Changed 10
  • Source Changed 4
  • Coverage Changed 10
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Github Actions Build #30352921632
  • 92c70db2 on github
  • Prev Build on main (#30351240605)
  • Next Build on main (#30355557706)
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