Skip to content

Changelog

Markdown · llms.txt

All notable changes are recorded here. The format follows Keep a Changelog and versions follow Semantic Versioning. Before 1.0, a breaking change bumps the minor version and anything else bumps the patch. All crates share one version.

  • visado-ssf: an OpenID Shared Signals Receiver (SSF 1.0, CAEP 1.0, RISC 1.0 final). It verifies Security Event Tokens (RFC 8417), reads RFC 9493 and SSF complex subjects, answers RFC 8935 pushes and RFC 8936 poll responses, and keeps revocations from CAEP session-revoked and credential-change and RISC account-disabled, account-purged and sessions-revoked in a bounded in-memory store with a horizon. TransmitterMetadata reads SSF §7.1 metadata. 51 own vectors in conformance/ssf/.
  • [ssf] in the server file: streams by push (push_path on the HTTP listener) or poll, keys from the Transmitter’s metadata, verification requests (verify_interval) and max_staleness. The gate denies a token revoked after its iat with ssf.session_revoked, ssf.credential_changed (401) or ssf.account_disabled (403), and with ssf.stream_stale or ssf.store_full (503) when a stream is stale or a revocation was dropped.
  • Fuzz targets ssf_set, ssf_poll_response and ssf_metadata, seeded from the SSF vectors.
  • deploy/lab: Keycloak issues RFC 8693 act tokens (preview token-exchange-delegation). bob consents to agent-a acting for him, agent-a exchanges his token for one whose act names agent-a, and visado’s [act] binds that actor to the client keycloak:agent-a. demo.sh checks the may_act and act claims, an allow, a PDP deny and a delegated bearer token (chain.unbound_caller).
  • visado-credentials: AccessToken has three new fields, raw_subject (sub before the issuer’s prefix), session_id (sid) and email. Code that builds an AccessToken must set them.

Adds the format-neutral chain invariant engine and authority algebra, asor Token Status Lists, DPoP resource server nonces, RS256 Transaction Tokens, gRPC over TLS and the audit record; the lab adds agentgateway, Cerbos, Keycloak, Casdoor ID-JAGs, an MCP route and four attack demos. Breaking: pdp.endpoint must be https or loopback http unless allow_insecure_http is set, a non-loopback grpc_listen needs [grpc_tls] with a client CA or the top-level grpc_reachable_only_by_proxy (moved out of [mtls]), and the gate also denies chains whose child widens its parent’s aud or that are longer than 32 hops. For library users, ReplayCache::check_and_record takes an owner and returns Recorded, Hop has principal and status, GateConfig::signing_key is a TxnSigningKey, Outcome carries headers, and AuthError has new variants.

  • [grpc_tls] serves the ext_authz gRPC listener over TLS (cert_file, key_file, PEM). With client_ca_file, a client without a certificate from one of those CAs is refused in the handshake. A certificate, key or CA that does not load stops startup.

  • visado-txn-token verifies RS256 Transaction Tokens: KeySet::with_rsa_key and with_unnamed_rsa_key take an RSA public key of at least 2048 bits (MIN_RSA_BITS; a shorter one is txn.weak_key). Found by the interop run against kontxt, which signs RS256 only.

  • RS256 minting: TxnSigningKey holds an Ed25519/ES256 key or an RSA key from a private JWK (TxnSigningKey::from_rsa_jwk, at least 2048 bits; txn.invalid_key for an unusable one), and mint_with signs with it. [signing_key] in the server file may name an RSA private JWK; the gate then mints RS256 and serves the RSA public key in its JWKS. GateConfig::signing_key is now a TxnSigningKey (a wimsey_jose::SigningKey converts with into()).

  • visado-txn-token accepts aud as a one-element array (RFC 7519 §4.1.3) whose element is the trust domain. A Txn-Token is scoped to one trust domain, so an array of more than one element is txn.invalid_claim even if it names the trust domain, as are an empty array and an element that is not a non-empty string. Found by the interop run against atlas-go, which accepts arrays.

  • RSA keys for RS256 must use the exponent 65537 (RSA_EXPONENT); any other e, such as 1 (which lets anyone forge a signature), 3 or an even value, is refused at load as txn.invalid_key, for verification keys and signing keys alike. conformance/txn-token/ has rejected_keys vectors for e = 1, 3 and an even value.

  • conformance/txn-token/: vectors for RS256 (a valid 2048-bit token, an RS256 header naming an Ed25519 key, and a 1024-bit key in the new rejected_keys as txn.weak_key) and for aud arrays (one element holding the trust domain; another domain; empty; a non-string element; several elements). Now 7 valid and 27 negative.

  • visado-chain-asor: step 7 of draft-asor-wimse-agent-delegation-chain-03 with Token Status Lists (draft-ietf-oauth-status-list-21, JWT format). StatusListVerifier checks a Status List Token (typ, signature under a configured key, sub, iat, exp, nbf, ttl, bits, ZLIB lst, size limits), a StatusLists source such as MemoryStatusLists holds verified lists, and Verifier::with_status_lists and with_status_max_age turn the check on. INVALID and SUSPENDED entries deny as revoked; an unknown, unfetched, invalid, expired or stale list, an index out of range, an unknown status value or another status mechanism deny as status_unknown. AsorError::reason gives the finer reason. check() runs step 7 too, so a status claim with no lists configured is status_unknown.

  • 27 asor status list vectors in conformance/asor-status/, visado’s own.

  • [asor.status] in the server file: the Status List Tokens the gate holds, from a file (verified at startup) or fetched from an https or loopback uri, refreshed in the background (refresh, timeout_ms), trusted for at most max_age (default 300 s). See docs/bindings.md.

  • deploy/lab: agentgateway v1.7.0 as a second front proxy on port 10001. Its extAuthz policy calls visado over gRPC with the raw body, from the internal authz network that Envoy also shares. demo.sh runs nine scenarios through it (no credentials, encoded slash, WIT+WPT with the Txn-Token check upstream, a PDP deny, AAT allow and deny, a signed request and a changed body, DPoP). agentgateway sends no peer certificate, so the mTLS scenarios stay on Envoy.

  • [pdp] context_in_subject (default false) also sends the AuthZEN context members as subject.properties, for PDPs that do not pass context to the policy. Cerbos is one: it gives the policy subject properties as principal attributes. visado-authzen has EvaluationRequest::with_context_in_subject and HttpPdp::with_context_in_subject.

  • deploy/lab runs with Cerbos 0.57.0 as the PDP too: compose.cerbos.yaml swaps OPA for Cerbos, cerbos/http_resource.yaml is the lab policy ported from Rego with its own tests, and CI runs demo.sh against both PDPs.

  • The lab runs Keycloak 26.8.2 as the resource authorization server (deploy/lab/keycloak/): the agent-a client gets bearer and DPoP-bound access tokens with client_credentials, and visado trusts the realm’s JWKS as a second OAuth issuer. demo.sh checks an allow, a scope deny, the admin scope, and DPoP binding (proof, Bearer downgrade, another key) with real Keycloak tokens. lab_methods has token-proof and dpop-with for them.

  • The lab issues ID-JAGs (draft-ietf-oauth-identity-assertion-authz-grant) from Casdoor v4.26.0 by token exchange, and Keycloak redeems them with the JWT authorization grant (experimental identity-assertion-jwt) for a DPoP-bound token naming the user. demo.sh checks the ID-JAG, a user without permission, a redeemed ID-JAG, and the token at visado (allow, scope deny, Bearer downgrade).

  • The audit record: one visado::audit event per decision with the draft-ietf-wimse-aims §11 minimum (agent, principal and the verified chain, resource and MCP tool, action and decision, time and txn, the posture inputs and the remediation with its cause), hash-chained with seq, prev and hash. Requests the ext_authz service refuses before the gate get one too. JWS-looking text in any member is replaced by [token], and a claim that does not parse is described, not quoted. visado_extauthz::audit has the AuditRecord type and verify_chain. The schema is in docs/audit.md.

  • deploy/lab: agentgateway routes /mcp to its MCP backend in front of a small MCP server (mcp/server.py, standard library Python), behind the same extAuthz policy. demo.sh lists the tools, makes an allowed read_file call and a denied delete_file call, and checks the audit record of a decision, every record’s members and the hash chain.

  • deploy/lab/attacks: four attack demos run by demo.sh: a prompt-injected agent widening its delegation (aat.not_attenuated), a stolen chain replayed by another workload (wpt.replay, chain.holder_mismatch), a ticket that makes the triage agent recruit the admin agent (pdp.deny), and exfiltration within granted scope, which visado does not stop. Each has a write-up in deploy/lab/attacks/README.md.

  • deploy/lab: a demo service (profile demo) runs demo.sh in a container, so docker compose run --rm --no-deps demo needs only Docker on the host (--no-deps keeps the running SPIRE agent, whose join token is single-use). CI’s lab job runs it that way. It reads the lab’s logs through docker-proxy (docker-socket-proxy v0.5.0), which allows only GET and HEAD under /containers; the Docker socket is not mounted in it. The lab_aat example takes --root and --child grants.

  • RFC 9449 resource server nonces (§9), off by default. visado_chain::dpop::Nonces issues and checks stateless nonces (an issue time under a truncated HMAC-SHA256, accepted for a lifetime, under the first or any later key); Expected::nonces makes verify require one and report Rejection::Nonce after every other check. Authenticator::with_dpop_nonces requires a nonce in DPoP proofs for access tokens (AuthError::DpopNonce), and the gate gives the asor verifier the same nonces, or keeps the verifier’s own (Verifier::with_dpop_nonces, Verifier::dpop_nonces, AsorError::dpop_nonce). A leaf proof’s challenge advertises the leaf algorithms (visado_chain_asor::DPOP_ALGS, Ed25519 ES256). A proof refused only for its nonce is a 401 with WWW-Authenticate: DPoP error="use_dpop_nonce" and the new codes dpop.nonce_missing, dpop.nonce_invalid or dpop.nonce_expired, and its jti is not recorded. Every 401 carries a fresh DPoP-Nonce with Cache-Control: no-store, and an allowed request with a DPoP proof gets the next one through ext_authz response_headers_to_add.

  • [dpop] in the server file: require_nonce, nonce_lifetime (default 300 s, at most 3600 s) and nonce_key_files (base64url keys of at least 32 bytes; the first issues, all verify). Without key files a random key is made at startup.

  • deploy/lab checks visado’s reason code on every denial it decides (credential.missing, pdp.deny, txn.untrusted_hop, aat.invocation_denied, aat.bad_signature), and admits an OAuth client with a plain bearer access token (and refuses an expired one, token.expired) through lab_methods bearer.

  • deploy/lab requires DPoP nonces. demo.sh walks the retry through Envoy and agentgateway: a proof without a nonce is 401 dpop.nonce_missing with use_dpop_nonce and a DPoP-Nonce, the retry with it is 200 with the next nonce, and a nonce visado did not issue is 401 dpop.nonce_invalid. lab_methods dpop takes --nonce.

  • visado-chain: the format-neutral invariant engine (invariants::Engine). It checks any NormalizedChain: shape, links and signer bindings, an unchanging principal, monotone exp, depth limits read per profile (DepthSemantics: AsorStrict, AatHolderCap, Uncapped), audiences that only narrow, no repeated token, verified hops ending the chain, authorities that have an algebra and attenuate, checked status, holder proof, and the action. Each broken invariant has a stable chain.* code. check_chain runs the checks that need no request.

  • visado-chain: the AuthorityAlgebra trait (subsumes, permits) and the Algebras registry; a type without an algebra is denied. visado-chain-aat, visado-chain-asor and visado-chain-act each implement it for their type (Algebra; Verifier::algebra for the verifier’s limits).

  • 39 chain invariant vectors in conformance/chain-invariants/, visado’s own, and property tests for the AAT and asor algebras (reflexive, transitive, attenuation never widens). The engine is also run against every AAT, asor and act vector.

  • The audit record of an accepted chain has a depth_semantics field.

  • visado-extauthz: Outcome::Allow has response_headers and Outcome::Deny has headers, for DPoP-Nonce and Cache-Control. visado_chain::dpop::Expected has a nonces field and Rejection a Nonce variant, and AuthError has DpopNonce.
  • The gate runs every delegation chain through the invariant engine after the format’s checks. It now also denies an asor or AAT child whose aud names an audience outside its parent’s (chain.audience_widened), and any chain of more than 32 hops.
  • visado-chain: Hop has two new fields, principal (the principal the hop’s own token names) and status (StatusCheck: whether its status reference was checked). Code that builds a Hop must set them. The asor decoder marks a status reference Unchecked from decode() and Valid after step 7.
  • docs/design.md: the del_max_depth open question is decided: the semantics is fixed per profile and reported in the audit record.
  • visado-credentials: a DPoP-bound access token from Keycloak is accepted. Keycloak writes cnf as jkt plus kc-jkt-type DPoP; that member is now allowed next to jkt. Any other kc-jkt-type (Keycloak’s ABCA binds a client attestation key) or other cnf member is still token.sender_constrained.
  • The audit event keeps its fields (txn, agent, principal, resource, action, decision, reason, detail) and adds the others in docs/audit.md.
  • visado-chain-asor: a status claim of the wrong shape (not a non-empty object, or a status_list without a non-negative integer idx and a non-empty string uri) is now malformed at parse, so check() and decode() reject it too.
  • Request targets that an upstream could resolve differently from the path the PDP sees are now denied (request.unnormalized_path): ; in the path (/public/..;/admin, /admin;jsessionid=x reach Tomcat and Jetty as /admin), double encoding (%252e), percent-encoded unreserved characters (/%61dmin), percent-encodings that are malformed or do not decode to UTF-8 (%c0%ae), encoded ; and control characters, any character outside RFC 3986 pchar (backslash, space, NUL, control characters, non-ASCII), and a # anywhere in the target (/public#/../admin was authorized as /public). See docs/bindings.md.
  • AAT and asor chains are no longer checked against a body the proxy cut short: with allow_partial_message: true, padding could push a second JSON-RPC message past max_request_bytes. A request whose x-envoy-auth-partial-body is anything but false, or whose Content-Length is not the length of the body received, is denied (chain.partial_body) before the tool and arguments are read.
  • Header values that are not UTF-8 (Envoy’s raw_value) are denied (request.invalid_header) instead of being decoded lossily, which mapped different bytes to the same U+FFFD text that an HTTP signature covers. A value that already holds U+FFFD, as agentgateway sends after its own lossy decoding, is denied too.
  • docs/bindings.md has a Proxy settings section: a check request that fails to decode (a protobuf string that is not UTF-8, or over gRPC’s 4 MiB limit) never reaches visado, so the proxy’s failure mode decides it. Envoy needs failure_mode_allow: false, encode_raw_headers: true and pack_as_bytes: true; agentgateway failureMode: deny and packAsBytes: true. The lab’s Envoy now sets encode_raw_headers, and the server logs the requirement at startup.
  • On an allow, the gate removes Forwarded, X-Forwarded-Host, X-Forwarded-Port, X-Forwarded-Prefix, X-Forwarded-Uri, X-Original-URL and X-Rewrite-URL (visado_extauthz::FORWARDED_HEADERS), so a client cannot name another host or path to the upstream than the one authorized. docs/design.md said these were stripped; they were not. visado still reads none of them for its decision.
  • visado-credentials: an asor Delegation Token or an AAT is no longer accepted as an OAuth access token. When its issuer and key were also an [[oauth_issuers]] entry, a leaf Delegation Token sent as Authorization: DPoP with a leaf proof was authenticated as a DPoP-bound access token: status lists, del_depth, par_hash and constraints were skipped, and the PDP saw no delegation. A token with an AAT typ, del_depth, del_max_depth, par_hash, status, an AAT proof claim or an authorization_details entry of type agent_delegation or attenuating_agent_token (in any case, with spaces trimmed) is now denied with the new code token.delegation (AuthError::DelegationToken). An authorization_details that is not an array is token.invalid.
  • The server refuses to start when an [aat] or [asor] trust anchor key is also in an [[oauth_issuers]] JWKS, or when a key in such a JWKS has no RFC 7638 thumbprint to compare.
  • visado-credentials: an OAuth JWKS key with use other than sig, key_ops without verify, or an alg other than the token’s no longer verifies tokens. A token without a kid still needs a JWKS of exactly one key, and that key must pass the same checks.
  • Breaking: pdp.endpoint must be https or a loopback http address. Before, a plain-http PDP on another host was accepted unless bearer_env was set, so anyone on the path could answer {"decision": true}. [pdp] allow_insecure_http = true allows it and logs a warning. The lab configs set it.
  • Breaking: a non-loopback grpc_listen needs [grpc_tls] with a client_ca_file or the top-level grpc_reachable_only_by_proxy = true, for every configuration. Before, only [mtls] required it, and anyone who could reach the plaintext gRPC port could call Check and receive minted Transaction Tokens. grpc_reachable_only_by_proxy moved from [mtls] to the top level; the old key now stops startup with a message saying so. The lab configs moved it.
  • pdp.endpoint, telemetry.otlp_endpoint and [asor.status] list URIs with userinfo (user:password@) stop startup, and the startup warning names the PDP by scheme://host:port only, so a credential in a URL is never logged.
  • user_token_header must be a lowercase header name that is not a credential, proof, chain, content, signature, Envoy, hop-by-hop or host header.
  • visado-chain: MemoryReplayCache dropped expired entries by scanning every entry on each insertion into a full cache, under its lock, so a flood of proofs made each refusal O(n). Entries are now kept in expiry order as well, and each is dropped once in O(log n). The cache also takes a per-owner quota (with_owner_quota): one owner (a proof key) can hold at most that many live entries, so it cannot fill the cache for everyone else. Breaking: ReplayCache::check_and_record takes the owner and returns Recorded (Fresh, Replayed, OverQuota, Full) instead of bool, and MemoryReplayCache::contains takes the owner. The AAT verifier records a PoP jti under the leaf’s cnf key thumbprint, the asor verifier a DPoP jti under the proof key’s.
  • visado-credentials: WPT jti values, HTTP signature nonces and DPoP proof jti values shared one replay cache, so one DPoP client sending fresh proofs could fill it and every caller, internal WIT hops included, got 503 wpt.replay_cache_full. Each proof type now has its own cache of replay_capacity entries, and one caller (a workload by WIT sub, a DPoP key by thumbprint) holds at most replay_key_quota of each (Authenticator::with_replay_key_quota; default below). A caller past its quota is refused with the new AuthError::ReplayQuota (credential.replay_quota), which the gate answers with 429.
  • A proof’s issue time may now be at most max_proof_skew (default 5 s, at most 60) ahead of the clock: a DPoP iat (it could be dpop_iat_window ahead, 60 s by default), an HTTP signature’s created (it could be the clock leeway ahead, 30 s), an AAT PoP iat (the PoP window, 30 s) and an asor leaf proof iat (60 s). A proof is remembered until its acceptance window counted from that time runs out, so a client could keep each entry about twice as long by dating its proofs ahead. A DPoP jti is also no longer kept for the clock leeway after iat plus the window, when the proof can no longer be accepted. New: visado_chain::dpop::Expected::max_future, visado_chain::replay::DEFAULT_PROOF_SKEW, Authenticator::with_proof_skew, visado_chain_aat::Limits::pop_max_future, visado_chain_asor::Limits::proof_max_future and limits() on both verifiers. The AAT vectors run with pop_max_future equal to the window, as the draft has it.
  • visado-extauthz: the AAT PoP and asor leaf proof replay caches had a fixed capacity of 100 000 and no per-key limit, whatever the server file said. They now take replay_capacity and replay_key_quota from the authenticator (Authenticator::replay_limits), or Gate::with_replay_limits.
  • visado-extauthz: the gate recorded an AAT PoP or asor leaf proof jti before checking that the chain’s leaf holds the key the caller proved, so anyone holding a copy of a chain and its proof could present them with their own credentials, be refused as chain.holder_mismatch, and use up the holder’s jti. The gate now verifies the chain without recording, checks the binding and runs the invariant engine, and records the jti last. A full chain proof cache is now a 503 chain.replay_cache_full and a holder key past its quota a 429 chain.replay_quota, instead of aat.pop_replayed or asor.holder_binding_failed. visado_chain_aat::Authorized has pop_until and visado_chain_asor::Authorized has proof_until, the last second the proof is accepted in, for a caller that records the jti itself.
  • visado-chain: MemoryReplayCache handled each call at the now it was given, so a request stamped earlier than one already handled (a request that waited, a clock stepped back) could find absent an entry the later request had dropped, and a replay was recorded as fresh. The cache now keeps the latest now it has seen and handles every call at no earlier time, and refuses a proof whose last acceptable second is before it as Recorded::Stale, treated as a replay.
  • visado-chain, visado-chain-aat, visado-chain-asor: a negative iat_window in visado_chain::dpop::Expected, or a negative PoP or proof window in the verifiers’ Limits, made the future bound panic (clamp with its bounds reversed), and a negative AAT pop_window was read as its absolute value. A negative window or skew now admits no time either side of now, and with_limits stores it as zero.
  • visado-credentials: the DPoP replay quota was per proof key only, so one OAuth client with several DPoP-bound keys could take a quota per key and fill the cache with four of them. One client (issuer and client_id) now holds at most replay_client_quota DPoP entries across all its keys (Authenticator::with_replay_client_quota, default_replay_client_quota: a 32nd of replay_capacity, at most 10000), and the default per-key and per-workload quota is a 64th of replay_capacity, at most 5000 (default_replay_key_quota). The quotas apply only while a cache is at least half full (MemoryReplayCache::with_quota_threshold), so a busy caller is not limited in normal operation, and filling a cache takes at least 33 keys or workloads, or 17 clients. MemoryReplayCache::with_group_quota and check_and_record_in_group add the group count.
  • visado-extauthz: the service answered every status it did not list with 500, so a caller over its replay quota (credential.replay_quota, chain.replay_quota) got 500 Internal Server Error instead of 429.

Adds the remaining workload authentication methods (HTTP signatures, mTLS, JWT-SVID, DPoP-bound access tokens), asor and RFC 8693 act delegation chains, and a chain view; the lab runs on SPIRE-issued SVIDs and exercises every method through Envoy. Breaking: the server refuses to start with an empty allowed_authorities, and denies access tokens with an act claim unless [act] is configured. For library users, RequestView, CheckInput, GateConfig and AccessToken have new fields, CheckInput::body is bytes, and Method and AuthError have new variants.

  • [[wit_issuers]] takes jwks_file, a JWK set such as a SPIRE WIT bundle, instead of single key files. A key without alg gets the one algorithm its type allows; a key without kid, a repeated kid or an unsupported key fails startup. The lab uses it for SPIRE’s bundle.

  • visado-credentials: a WIT caller can sign the request with an HTTP message signature (draft-ietf-wimse-http-signature-08) instead of sending a WPT. The draft’s profile and required components, wimse-aud, the created/expires window (max_signature_lifetime, default 60 s), nonce replay and a covered Content-Digest against the received body are checked. Failures are httpsig.invalid with status 400 and an RFC 9457 problem document.

  • visado-credentials: mTLS with an X.509-SVID that Envoy terminated and passes in source.certificate, verified against one CA per trust domain ([mtls]). The certificate key is the AAT holder key. [mtls] needs a loopback grpc_listen unless grpc_reachable_only_by_proxy = true.

  • visado-credentials: SPIFFE JWT-SVIDs as bearer tokens (RS256, ES256), verified against a JWT bundle per trust domain ([jwt_svid]).

  • The PDP context and the Transaction Token tctx name the new methods wit-httpsig, mtls and jwt-svid.

  • Credential headers longer than 16 KiB are denied (credential.too_large) before decoding.

  • The audit event has a detail field with the reason an authentication failed.

  • visado-credentials: DPoP-bound access tokens (RFC 9449) as Authorization: DPoP with one DPoP proof. The token’s cnf.jkt must be the proof key’s thumbprint; htm, htu, iat (dpop_iat_window, default 60 s), ath and jti replay are checked. The caller is Method::OAuthDpop with the proof key as proof_key, named oauth-dpop in the PDP context and tctx. New codes dpop.invalid, dpop.replay, dpop.binding and token.dpop_bound. Server nonces are not supported.

  • A 401 for a DPoP failure carries WWW-Authenticate: DPoP with error (invalid_dpop_proof or invalid_token) and algs; other access token failures send Bearer, DPoP algs="...".

  • visado-chain: a shared dpop module with the RFC 9449 proof checks, used by visado-chain-asor and visado-credentials.

  • Testkit fixtures: DPoP proofs and DPoP-bound access tokens, an HTTP signature signer, a workload CA and X.509-SVIDs, and a JWT-SVID signer with a SPIFFE bundle.

  • visado-chain-asor: Agent Delegation Chain verification per draft-asor-wimse-agent-delegation-chain-03: the parse rules, steps 1 to 5, the DPoP proof of the leaf key (step 6) and the audience and action check (step 8), with denials named as in the draft’s Table 2. A token with a status claim is denied as status_unknown, since status lists are not implemented.

  • The 36 published asor-03 vectors in conformance/asor/, from attenu-io/attenu-guard v0.22.0 (Apache-2.0), all passing. NOTICE records the attribution.

  • The gate verifies an asor chain sent in Agent-Delegation-Chain with a DPoP proof (see docs/bindings.md), with the same caller binding as AAT. Configured with [asor] in the server file, whose required has no default.

  • visado-chain: Profile::Asor03, and the shared json (strict parser and JCS), jose (compact JWS parts and JWK thumbprints) and replay modules.

  • deploy/lab: SPIRE v1.16.0 issues the workloads’ WIT-SVIDs (experimental enable_wit_svids). A one-shot wit-config service writes visado’s [[wit_issuers]] from the SPIRE WIT bundle before visado starts, and demo.sh signs WPTs and AAT holder proofs with the keys SPIRE issued.

  • deploy/lab exercises the other caller methods through Envoy: WIT with an HTTP message signature (allowed, replayed nonce, body changed under the covered Content-Digest), mTLS on a second Envoy listener that terminates TLS with the gateway’s SPIRE X.509-SVID and passes agent-a’s X.509-SVID as source.certificate (allowed, unbound user token, certificate from another CA), SPIRE JWT-SVIDs (allowed, wrong audience) and a DPoP-bound access token (allowed, sent as Bearer). spire-setup writes the X.509 CA and the SPIFFE-format bundle for visado’s [mtls] and [jwt_svid], a gateway-svid one-shot writes Envoy’s certificate, and a new lab_methods testkit example prints the signed and DPoP requests. demo.sh can check visado’s error code as well as the status.

  • visado-chain-act: reads the RFC 8693 act claim of a verified access token as a delegation chain (principal sub, actors from the least recent to the current one) and requires the current actor to be the authenticated caller, directly or through a mapping. Errors are act.not_object, act.missing_sub, act.bad_issuer, act.too_deep and act.actor_mismatch.

  • The gate enforces act chains in a user token bound to a key-holding caller (see docs/bindings.md); a bearer token with an act claim is denied (chain.unbound_caller), as for AAT and asor. The PDP gets only the current actor and the kind of caller it was bound to (caller_kind), as RFC 8693 §4.1 keeps prior actors out of access control; the Transaction Token tctx also records the prior actors and the depth. Configured with [act] in the server file: required (no default), max_actors (default 8) and an [act.actors] mapping.

  • 20 act vectors in conformance/act/, visado’s own except for the claim sets of RFC 8693 Figures 5 and 6.

  • visado-chain: Profile::Rfc8693Act, ActorId::Subject and Link::Nested.

  • visado-credentials: AccessToken has act, id (jti), issued_at and key_thumbprint (the issuer key that verified it).

  • The chain view, off by default ([chain_view] enabled = true): the gate keeps a summary of each recent decision in a bounded in-memory buffer (capacity, default 256), and the HTTP listener serves GET /api/requests, GET /api/requests/{id} and a page at /chain that draws principal, hops (verified or declared), caller, PDP decision and deny reason. Summaries hold identifiers and outcomes only, never tokens, proofs, headers or bodies. It shows caller and principal identities: the server refuses to start with it on a non-loopback http_listen unless allow_remote = true, and answers only the Host names in allowed_hosts. See docs/design.md.

  • visado-extauthz: RequestLog, the recent module and Gate::with_request_log.

  • deploy/lab: the chain view at http://127.0.0.1:8080/chain, published to the host’s loopback address only.

  • The server refuses to start when allowed_authorities is empty; it used to warn.
  • An access token with cnf.jkt sent as Bearer or as a user token is denied as token.dpop_bound instead of token.sender_constrained; any other cnf is still token.sender_constrained.
  • asor DPoP proofs: the signature is checked before the key is compared with the leaf cnf.jkt, and htu is compared after lowercasing scheme and host and dropping a default port.
  • The gate denies an asor chain from an OAuth client authenticated with DPoP (chain.proof_conflict).
  • A delegation chain that names its principal (asor, act) on a forwarded Transaction Token must have the token’s sub as its principal (chain.principal_mismatch), so a replacement token cannot record one user’s chain in another user’s transaction.
  • The server refuses to start when [aat], [asor] and [act] set different required values; a format with required = false used to let requests without any chain through next to one with required = true.
  • The gate denies an access token that carries an act claim unless [act] is configured (chain.unsupported); it used to ignore the claim. A token with an act claim next to an AAT-Chain or Agent-Delegation-Chain header is chain.ambiguous.
  • An internal caller may forward a Txn-Token after a WPT, an HTTP signature that covers it, or mTLS; bearer callers still cannot.
  • The gate removes Signature and Signature-Input before the request goes upstream.
  • The gate refuses a non-UTF-8 body for an AAT invocation itself; the service no longer replaces such a body with a marker.
  • The strict JSON parser, the JWS helpers and the replay cache moved from visado-chain-aat to visado-chain. visado-chain-aat re-exports ReplayCache and MemoryReplayCache; its behaviour is unchanged.
  • The lab’s ext_authz filters set pack_as_bytes: true, as docs/bindings.md asks for signed bodies.
  • deploy/lab no longer signs WITs with the fixed wit-1 demo key. lab_headers and lab_aat take a directory of spire-agent api fetch wit -output json outputs as their first argument.
  • The gate denies a request that carries both AAT-Chain and Agent-Delegation-Chain (chain.ambiguous). The chain context sent to the PDP and the Transaction Token has principal when the format names one.

Adds AAT delegation-chain verification to the gate, the lab, tracing and the project site. Breaking: [aat] must set required, and the gate denies AAT requests that are not one tool call or a plain body-less request.

  • The gate verifies an AAT chain sent in AAT-Chain and AAT-PoP (see docs/bindings.md), reads the tool and arguments from an MCP tools/call body, requires the chain’s holder to be the WIT key when a WIT is present, and passes the chain to the PDP and into the Transaction Token tctx. Configured with [aat] in the server file.
  • deploy/lab: Envoy, visado, OPA with the AuthZEN plugin and an echo upstream in Docker Compose, with thirteen scenarios in demo.sh that CI runs.
  • A Dockerfile for the server.
  • OpenTelemetry: one visado.authorize span per decision with visado.* attributes, exported over OTLP when [telemetry] otlp_endpoint is set. The lab sends them to Jaeger.
  • scripts/check.sh runs every CI check locally.
  • visado-chain: the format-neutral delegation chain model (NormalizedChain, Hop, signer binding, link, assurance) and the ChainDecoder trait.
  • visado-chain-aat: Attenuating Agent Token verification per draft-niyikiza-oauth-attenuating-agent-tokens-02, §8 steps 1 to 7, with errors that name the failing step.
  • The 229 published AAT JWS vectors in conformance/aat/, from tenuo-ai/tenuo (Apache-2.0), all passing. A root NOTICE file records the attribution.
  • cargo-fuzz targets in fuzz/ for Transaction Token verification and token requests, AAT chain verification and decoding, AuthZEN responses and caller authentication, seeded from the conformance vectors. CI runs each for 30 seconds.
  • The Dockerfile pins its base images by digest, and Dependabot keeps the digests current.
  • visado-chain: NormalizedChain has holder_proof. ChainDecoder::decode sets it to false; visado-chain-aat’s Verifier::verify sets it to true after the PoP check.
  • A chain verified on a forwarded Transaction Token is recorded in a replacement token (tctx.chain:<caller>) instead of being dropped.

  • The gate accepts only two request forms with an AAT chain (one tools/call, or a body-less GET/HEAD/DELETE/OPTIONS without a query string) and denies the rest. [aat] required = true denies requests that carry no chain.

  • The gate no longer treats a request that is not one MCP tool call as the path tool: batches, non-JSON bodies, malformed tools/call and missing bodies are denied.

  • A bearer-only caller can no longer present an AAT chain; only a WIT caller whose key is the chain’s holder can.

  • The server requires aud on the chain and aat_aud on the proof by default.

  • visado-chain-aat: the PoP JWT signature (steps 7a and 7b) is checked before the arguments are matched against the constraints (6b), as §8 recommends. Constraint value sets are built once when the token is parsed, each argument’s JCS form is computed once, and a token may carry at most Limits::max_constraint_nodes (default 1024) constraint nodes. A request with a wide any and large arguments no longer costs tens of milliseconds before the sender is authenticated.

  • visado-chain-aat: duplicate JSON member detection is linear, so a header with thousands of members no longer costs time before the signature check.

  • visado-chain-aat: JCS number serialization breaks ties between equally short digit strings to even, as RFC 8785 requires (905750064395076.25 is 905750064395076.2). Digits come from the ryu crate. Before, some numbers were judged admissible or not the wrong way round.

  • visado-chain-aat: with two trust anchors that share a key under different issuers, the root is matched to the anchor whose issuer equals iss, not to the first anchor whose key verifies.

  • visado-chain-aat: decode() rejects an aud that is not a string or an array of strings instead of reading it as unrestricted.

First release. Pre-alpha: delegation-chain verification is not implemented yet.

  • visado-txn-token: mint, verify and replace OAuth Transaction Tokens (draft-ietf-oauth-transaction-tokens-11), and parse token requests. Errors have stable codes.
  • Transaction Token conformance vectors in conformance/txn-token/ (5 valid, 22 negative).
  • visado-authzen: AuthZEN 1.0 access evaluation client that fails closed, with an agent-for-principal request profile and metadata discovery.
  • visado-credentials: caller authentication with a WIT and a WPT (optionally binding a user access token through oth), or an OAuth access token alone. WPT jti replay is checked in memory.
  • visado-extauthz: the decision pipeline and an Envoy ext_authz v3 gRPC service. It mints a Transaction Token, forwards one only from configured internal callers, and removes inbound credentials before the request goes upstream.
  • visado binary: TOML configuration, ext_authz over gRPC, /healthz and /.well-known/jwks.json over HTTP, JSON audit events. Both listeners bind to loopback by default, and the server exits if either fails.
  • Requests for authorities outside allowed_authorities and paths an upstream could resolve differently (dot segments, encoded dots or slashes, empty segments) are denied before authentication.
  • OAuth issuers can carry a subject_prefix; with more than one issuer, every issuer needs one.
  • Sender-constrained access tokens (cnf) are rejected until DPoP and mTLS binding exist. scp is read when scope is absent, and nbf is checked.