Affected by GO-2026-5996
and 2 other vulnerabilities
GO-2026-5996: ToolHive: SSRF guard misses IPv6 NAT64 ranges (64:ff9b::/96, 64:ff9b:1::/48), allowing metadata/internal access behind a NAT64 gateway in github.com/stacklok/toolhive
GO-2026-6002: ToolHive: SSRF in remote MCP server authentication discovery (host-side, bypasses container isolation) in github.com/stacklok/toolhive
GO-2026-6526: ToolHive: containerized MCP servers can reach host services via host.docker.internal, enabling lateral movement in github.com/stacklok/toolhive
The first number is the count of modules that contain a package that imports this one.
The module count is a better indicator of popularity than the package count.
A module with 100 importing packages is counted only once instead of 100 times,
reflecting the fact that the choice to use the package was likely made only once,
not 100 times.
A '?' means that the value hasn't been computed yet.
const (
// FindToolName is the tool name for semantic tool discovery. FindToolName = "find_tool"
// CallToolName is the tool name for routing a call to any backend tool. CallToolName = "call_tool"
)
NewDecorator wraps sess with optimizer mode. Only find_tool and call_tool are
exposed via Tools(). find_tool calls opt.FindTool. call_tool calls opt.CallTool,
which routes through the instrumented optimizer (telemetry, traces, metrics).