You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Test that a call-bound gateway token cannot be replayed on another replica #2970
Phase: 3 (under Run mecak8s with the identity broker on more than one replica (#2805)).
Depends on: vMCP: one single-use record shared by all replicas for call-bound access tokens (stacklok/toolhive#7261); Bind each gateway token to its call (#2727).
Removes shortcut: the vMCP's per-replica used-token record (named in Bind each gateway token to its call (#2727) and in the design).
Problem
The first release keeps the vMCP's used-token record per replica, so Mecatl's identity harness has no test that a replay on another replica is refused. The design names this as a shortcut to remove once the shared record lands.
Scope
A harness test with two vMCP replicas: a call-bound token used once on one replica, then replayed on the other, is refused on a shared backend.
Remove the first-release wording from the design once the test passes: implementation.md (the per-call V test bullet, the vMCP ledger row, the rollout paragraph) and credentials-and-lifecycle.md step (9), check 3. This is a design edit with its own PR.
Activity