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

stacklok / toolhive / 24251612365
66%

Build:
DEFAULT BRANCH: main
Ran 10 Apr 2026 03:59PM UTC
Jobs 1
Files 616
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

10 Apr 2026 03:52PM UTC coverage: 65.395% (+0.001%) from 65.394%
24251612365

push

github

web-flow
Follow HTTP redirects in transparent proxy (#4454)

* Follow HTTP redirects in transparent proxy

MCP clients expect JSON-RPC responses and cannot handle
HTTP redirects. When a remote server returns a 3xx redirect,
the proxy now follows it transparently instead of passing
the redirect response to the client.

Fixes #4453

Signed-off-by: Greg Katz <gkatz@indeed.com>

* Block cross-host redirects to prevent SSRF

A malicious MCP server could redirect the proxy to internal
cluster services (Kubernetes API, cloud IMDS). Restrict
redirect following to same-host only and return the 3xx
response as-is for cross-host redirects.

Signed-off-by: Greg Katz <gkatz@indeed.com>

* Suppress goconst for https scheme literal

Signed-off-by: Greg Katz <gkatz@indeed.com>

---------

Signed-off-by: Greg Katz <gkatz@indeed.com>

53 of 58 new or added lines in 1 file covered. (91.38%)

24 existing lines in 5 files now uncovered.

56217 of 85965 relevant lines covered (65.4%)

63.1 hits per line

Uncovered Changes

Lines Coverage ∆ File
5
85.03
0.47% pkg/transport/proxy/transparent/transparent_proxy.go

Coverage Regressions

Lines Coverage ∆ File
7
82.6
-0.42% pkg/vmcp/composer/workflow_engine.go
6
20.11
-3.45% pkg/client/manager.go
6
76.15
-5.5% pkg/secrets/keyring/keyctl_linux.go
3
70.0
-3.33% pkg/state/local.go
2
95.68
-1.44% pkg/vmcp/composer/template_expander.go
Jobs
ID Job ID Ran Files Coverage
1 24251612365.1 10 Apr 2026 03:59PM UTC 616
65.4
GitHub Action Run
Source Files on build 24251612365
  • Tree
  • List 616
  • Changed 9
  • Source Changed 1
  • Coverage Changed 9
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Github Actions Build #24251612365
  • 25b5c783 on github
  • Prev Build on main (#24251374421)
  • Next Build on main (#24252140182)
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