Repository navigation
v0.1.0-beta.2
Pre-release
Pre-release
·
13 commits
to main
since this release
The second beta: requests from upstreams to the calling client under MCP 2026-07-28,
per-user upstream credentials, policy explain, a tamper-evident audit log, revocation
of unused dynamic-secret leases, and OpenTelemetry tracing. It has still had no
independent security review.
Added
- Requests from an upstream to the caller's client (elicitation, sampling, roots) pass
through to the calling client under MCP 2026-07-28, when a policy rule with
client_requestsallows that kind for that tool. Each is audited as its own record.
The upstream's request state is sealed to the user, tool and arguments, expires after
10 minutes, and is refused for anyone else (invalid-request-state). Clients and upstreams on
2025-11-25 are refused them.request_state_key_fileshares the sealing key across
replicas. - A tamper-evident audit log: with
audit.chain_key_file, each record carries an
HMAC chained over the one before, continued across restarts, and
ubixgate audit verifynames the first edited, removed, inserted or reordered line.
Lines deleted from the end are not detectable from the file alone. - Unused dynamic-secret leases are revoked: when the cache replaces or drops a
credential (after a grace period of the longest upstream timeout, so calls already
sent can finish; an expired credential nobody asks for again, such as a per-user one
whose user stopped calling, is dropped within a minute), when a stdio process holding one stops, at shutdown, and at once
when a lease is issued without the configured field. - OpenTelemetry tracing, off by default: a
tracingblock exports spans over OTLP/HTTP
for the request, auth, the call, policy, credential and upstream steps, continues the
caller's W3C trace context and passes it to HTTP upstreams. Spans carry no argument
values, credentials or caller identity. ubixgate policy explain: the decision, deciding rule, what the caller is shown,
whether the tool is listed and which arguments are logged, for a user, groups, client,
tool and arguments, without a live call. It runs the same decision step as the gateway.- Per-user upstream credentials: an HTTP upstream's
credential.pathmay contain
{user}, so each call uses the caller's own secret and the upstream sees the person.
A caller without one is refused (statusdenied, reasoncredential_unavailable),
never given the shared credential. Vault being unreachable is anupstream_error
with the same reason, not a refusal. An upstream with MCP sessions gets one session,
opened with the shared secret, carrying every user's calls with their own tokens.catalog_pathis the shared secret used only to
connect and list tools.
Changed
- The README's demo transcript is now the Docker Compose demo's real output, as CI
captures it, instead of the loopback runner's.
Fixed
- A dynamic secret's lease now caps the credential cache against uBixVault, which sends
lease_idandlease_durationinsidedatarather than in the envelope. Before, the
configured TTL applied, so a lease shorter than it could be served after it expired.
Interface changes
- Policy rules take
client_requests. A rule with it decides only those requests; a
rule without it, as before, decides only calls. - Audit records gain
client_request, the statusesinput_requiredandnot_sent, and
the reasonsclient_request_deniedandclient_protocol. - Audit records may end with a
chainfield. Config:audit.chain_key_file. - Config:
tracing(endpoint,service_name,sample_ratio). - New dependency: the OpenTelemetry Go SDK and its OTLP/HTTP trace exporter.
- Config:
credential.catalog_path. A{user}path is rejected on stdio upstreams. - Upstreams no longer see the gateway declare the roots capability; it declares no
client capabilities of its own.