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

stacklok / toolhive / 24187149224
65%

Build:
DEFAULT BRANCH: main
Ran 09 Apr 2026 11:18AM UTC
Jobs 1
Files 615
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

09 Apr 2026 11:12AM UTC coverage: 65.022% (+0.03%) from 64.988%
24187149224

push

github

web-flow
Add SSRF protection to RemoteURL validation (#4697)

ValidateRemoteURL now rejects URLs targeting internal and metadata
endpoints to prevent SSRF vectors when downstream components fetch
user-supplied URLs in-cluster.

Blocked ranges: loopback (127.0.0.0/8, ::1), link-local/cloud
metadata (169.254.0.0/16), RFC 1918 private (10/8, 172.16/12,
192.168/16), IPv6 ULA (fc00::/7), and the unspecified address
(0.0.0.0/8, ::). IPv4-mapped IPv6 addresses (::ffff:127.0.0.1) are
normalized to prevent bypass.

Blocked hostnames: localhost, kubernetes.default.svc(.cluster.local),
cluster.local, metadata.google.internal (with subdomain matching).

The MCPServerEntry controller now calls ValidateRemoteURL and reports
results through a RemoteURLValidated status condition, consistent with
the existing MCPRemoteProxy controller pattern.

Closes #4695

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

63 of 64 new or added lines in 2 files covered. (98.44%)

3 existing lines in 1 file now uncovered.

55650 of 85587 relevant lines covered (65.02%)

62.77 hits per line

Uncovered Changes

Lines Coverage ∆ File
1
93.15
6.48% cmd/thv-operator/pkg/validation/url_validation.go

Coverage Regressions

Lines Coverage ∆ File
3
79.38
-0.77% pkg/transport/proxy/httpsse/http_proxy.go
Jobs
ID Job ID Ran Files Coverage
1 24187149224.1 09 Apr 2026 11:18AM UTC 615
65.02
GitHub Action Run
Source Files on build 24187149224
  • Tree
  • List 615
  • Changed 7
  • Source Changed 3
  • Coverage Changed 7
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Github Actions Build #24187149224
  • 55d82f5f on github
  • Prev Build on main (#24185238500)
  • Next Build on main (#24189574993)
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