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.
0.5.0 - 2026-12-04
Section titled “0.5.0 - 2026-12-04”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 CAEPsession-revokedandcredential-changeand RISCaccount-disabled,account-purgedandsessions-revokedin a bounded in-memory store with a horizon.TransmitterMetadatareads SSF §7.1 metadata. 51 own vectors inconformance/ssf/.[ssf]in the server file: streams by push (push_pathon the HTTP listener) or poll, keys from the Transmitter’s metadata, verification requests (verify_interval) andmax_staleness. The gate denies a token revoked after itsiatwithssf.session_revoked,ssf.credential_changed(401) orssf.account_disabled(403), and withssf.stream_staleorssf.store_full(503) when a stream is stale or a revocation was dropped.- Fuzz targets
ssf_set,ssf_poll_responseandssf_metadata, seeded from the SSF vectors. deploy/lab: Keycloak issues RFC 8693acttokens (previewtoken-exchange-delegation). bob consents to agent-a acting for him, agent-a exchanges his token for one whoseactnames agent-a, and visado’s[act]binds that actor to the clientkeycloak:agent-a.demo.shchecks themay_actandactclaims, an allow, a PDP deny and a delegated bearer token (chain.unbound_caller).
Changed
Section titled “Changed”visado-credentials:AccessTokenhas three new fields,raw_subject(subbefore the issuer’s prefix),session_id(sid) andemail. Code that builds anAccessTokenmust set them.
0.4.0 - 2026-11-26
Section titled “0.4.0 - 2026-11-26”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). Withclient_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-tokenverifiesRS256Transaction Tokens:KeySet::with_rsa_keyandwith_unnamed_rsa_keytake an RSA public key of at least 2048 bits (MIN_RSA_BITS; a shorter one istxn.weak_key). Found by the interop run against kontxt, which signs RS256 only. -
RS256minting:TxnSigningKeyholds anEd25519/ES256key or an RSA key from a private JWK (TxnSigningKey::from_rsa_jwk, at least 2048 bits;txn.invalid_keyfor an unusable one), andmint_withsigns 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_keyis now aTxnSigningKey(awimsey_jose::SigningKeyconverts withinto()). -
visado-txn-tokenacceptsaudas 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 istxn.invalid_claimeven 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
RS256must use the exponent 65537 (RSA_EXPONENT); any othere, such as 1 (which lets anyone forge a signature), 3 or an even value, is refused at load astxn.invalid_key, for verification keys and signing keys alike.conformance/txn-token/hasrejected_keysvectors fore= 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 newrejected_keysastxn.weak_key) and foraudarrays (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).StatusListVerifierchecks a Status List Token (typ, signature under a configured key,sub,iat,exp,nbf,ttl,bits, ZLIBlst, size limits), aStatusListssource such asMemoryStatusListsholds verified lists, andVerifier::with_status_listsandwith_status_max_ageturn the check on.INVALIDandSUSPENDEDentries deny asrevoked; an unknown, unfetched, invalid, expired or stale list, an index out of range, an unknown status value or another status mechanism deny asstatus_unknown.AsorError::reasongives the finer reason.check()runs step 7 too, so astatusclaim with no lists configured isstatus_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 anhttpsor loopbackuri, refreshed in the background (refresh,timeout_ms), trusted for at mostmax_age(default 300 s). Seedocs/bindings.md. -
deploy/lab: agentgateway v1.7.0 as a second front proxy on port 10001. ItsextAuthzpolicy calls visado over gRPC with the raw body, from the internal authz network that Envoy also shares.demo.shruns 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(defaultfalse) also sends the AuthZENcontextmembers assubject.properties, for PDPs that do not passcontextto the policy. Cerbos is one: it gives the policy subject properties as principal attributes.visado-authzenhasEvaluationRequest::with_context_in_subjectandHttpPdp::with_context_in_subject. -
deploy/labruns with Cerbos 0.57.0 as the PDP too:compose.cerbos.yamlswaps OPA for Cerbos,cerbos/http_resource.yamlis the lab policy ported from Rego with its own tests, and CI runsdemo.shagainst both PDPs. -
The lab runs Keycloak 26.8.2 as the resource authorization server (
deploy/lab/keycloak/): theagent-aclient gets bearer and DPoP-bound access tokens withclient_credentials, and visado trusts the realm’s JWKS as a second OAuth issuer.demo.shchecks an allow, a scope deny, the admin scope, and DPoP binding (proof,Bearerdowngrade, another key) with real Keycloak tokens.lab_methodshastoken-proofanddpop-withfor 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.shchecks the ID-JAG, a user without permission, a redeemed ID-JAG, and the token at visado (allow, scope deny,Bearerdowngrade). -
The audit record: one
visado::auditevent per decision with the draft-ietf-wimse-aims §11 minimum (agent, principal and the verified chain, resource and MCP tool, action and decision, time andtxn, the posture inputs and the remediation with its cause), hash-chained withseq,prevandhash. 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::audithas theAuditRecordtype andverify_chain. The schema is indocs/audit.md. -
deploy/lab: agentgateway routes/mcpto its MCP backend in front of a small MCP server (mcp/server.py, standard library Python), behind the sameextAuthzpolicy.demo.shlists the tools, makes an allowedread_filecall and a denieddelete_filecall, and checks the audit record of a decision, every record’s members and the hash chain. -
deploy/lab/attacks: four attack demos run bydemo.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 indeploy/lab/attacks/README.md. -
deploy/lab: ademoservice (profiledemo) runsdemo.shin a container, sodocker compose run --rm --no-deps demoneeds only Docker on the host (--no-depskeeps the running SPIRE agent, whose join token is single-use). CI’s lab job runs it that way. It reads the lab’s logs throughdocker-proxy(docker-socket-proxy v0.5.0), which allows only GET and HEAD under/containers; the Docker socket is not mounted in it. Thelab_aatexample takes--rootand--childgrants. -
RFC 9449 resource server nonces (§9), off by default.
visado_chain::dpop::Noncesissues and checks stateless nonces (an issue time under a truncated HMAC-SHA256, accepted for a lifetime, under the first or any later key);Expected::noncesmakesverifyrequire one and reportRejection::Nonceafter every other check.Authenticator::with_dpop_noncesrequires 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 withWWW-Authenticate: DPoP error="use_dpop_nonce"and the new codesdpop.nonce_missing,dpop.nonce_invalidordpop.nonce_expired, and itsjtiis not recorded. Every 401 carries a freshDPoP-NoncewithCache-Control: no-store, and an allowed request with a DPoP proof gets the next one through ext_authzresponse_headers_to_add. -
[dpop]in the server file:require_nonce,nonce_lifetime(default 300 s, at most 3600 s) andnonce_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/labchecks 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) throughlab_methods bearer. -
deploy/labrequires DPoP nonces.demo.shwalks the retry through Envoy and agentgateway: a proof without a nonce is 401dpop.nonce_missingwithuse_dpop_nonceand aDPoP-Nonce, the retry with it is 200 with the next nonce, and a nonce visado did not issue is 401dpop.nonce_invalid.lab_methods dpoptakes--nonce. -
visado-chain: the format-neutral invariant engine (invariants::Engine). It checks anyNormalizedChain: shape, links and signer bindings, an unchanging principal, monotoneexp, 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 stablechain.*code.check_chainruns the checks that need no request. -
visado-chain: theAuthorityAlgebratrait (subsumes,permits) and theAlgebrasregistry; a type without an algebra is denied.visado-chain-aat,visado-chain-asorandvisado-chain-acteach implement it for their type (Algebra;Verifier::algebrafor 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_semanticsfield.
Changed
Section titled “Changed”visado-extauthz:Outcome::Allowhasresponse_headersandOutcome::Denyhasheaders, forDPoP-NonceandCache-Control.visado_chain::dpop::Expectedhas anoncesfield andRejectionaNoncevariant, andAuthErrorhasDpopNonce.- 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
audnames an audience outside its parent’s (chain.audience_widened), and any chain of more than 32 hops. visado-chain:Hophas two new fields,principal(the principal the hop’s own token names) andstatus(StatusCheck: whether its status reference was checked). Code that builds aHopmust set them. The asor decoder marks a status referenceUncheckedfromdecode()andValidafter step 7.docs/design.md: thedel_max_depthopen 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 writescnfasjktpluskc-jkt-typeDPoP; that member is now allowed next tojkt. Any otherkc-jkt-type(Keycloak’sABCAbinds a client attestation key) or othercnfmember is stilltoken.sender_constrained.- The audit event keeps its fields (
txn,agent,principal,resource,action,decision,reason,detail) and adds the others indocs/audit.md. visado-chain-asor: astatusclaim of the wrong shape (not a non-empty object, or astatus_listwithout a non-negative integeridxand a non-empty stringuri) is nowmalformedat parse, socheck()anddecode()reject it too.
Security
Section titled “Security”- 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=xreach 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 3986pchar(backslash, space, NUL, control characters, non-ASCII), and a#anywhere in the target (/public#/../adminwas authorized as/public). Seedocs/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 pastmax_request_bytes. A request whosex-envoy-auth-partial-bodyis anything butfalse, or whoseContent-Lengthis 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.mdhas 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 needsfailure_mode_allow: false,encode_raw_headers: trueandpack_as_bytes: true; agentgatewayfailureMode: denyandpackAsBytes: true. The lab’s Envoy now setsencode_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-URLandX-Rewrite-URL(visado_extauthz::FORWARDED_HEADERS), so a client cannot name another host or path to the upstream than the one authorized.docs/design.mdsaid 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 asAuthorization: DPoPwith a leaf proof was authenticated as a DPoP-bound access token: status lists,del_depth,par_hashand constraints were skipped, and the PDP saw no delegation. A token with an AATtyp,del_depth,del_max_depth,par_hash,status, an AAT proof claim or anauthorization_detailsentry of typeagent_delegationorattenuating_agent_token(in any case, with spaces trimmed) is now denied with the new codetoken.delegation(AuthError::DelegationToken). Anauthorization_detailsthat is not an array istoken.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 withuseother thansig,key_opswithoutverify, or analgother than the token’s no longer verifies tokens. A token without akidstill needs a JWKS of exactly one key, and that key must pass the same checks.- Breaking:
pdp.endpointmust behttpsor a loopbackhttpaddress. Before, a plain-http PDP on another host was accepted unlessbearer_envwas set, so anyone on the path could answer{"decision": true}.[pdp] allow_insecure_http = trueallows it and logs a warning. The lab configs set it. - Breaking: a non-loopback
grpc_listenneeds[grpc_tls]with aclient_ca_fileor the top-levelgrpc_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_proxymoved 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_endpointand[asor.status]list URIs with userinfo (user:password@) stop startup, and the startup warning names the PDP byscheme://host:portonly, so a credential in a URL is never logged.user_token_headermust be a lowercase header name that is not a credential, proof, chain, content, signature, Envoy, hop-by-hop orhostheader.visado-chain:MemoryReplayCachedropped 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_recordtakes theownerand returnsRecorded(Fresh,Replayed,OverQuota,Full) instead ofbool, andMemoryReplayCache::containstakes the owner. The AAT verifier records a PoPjtiunder the leaf’scnfkey thumbprint, the asor verifier a DPoPjtiunder the proof key’s.visado-credentials: WPTjtivalues, HTTP signature nonces and DPoP proofjtivalues shared one replay cache, so one DPoP client sending fresh proofs could fill it and every caller, internal WIT hops included, got 503wpt.replay_cache_full. Each proof type now has its own cache ofreplay_capacityentries, and one caller (a workload by WITsub, a DPoP key by thumbprint) holds at mostreplay_key_quotaof each (Authenticator::with_replay_key_quota; default below). A caller past its quota is refused with the newAuthError::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 DPoPiat(it could bedpop_iat_windowahead, 60 s by default), an HTTP signature’screated(it could be the clock leeway ahead, 30 s), an AAT PoPiat(the PoP window, 30 s) and an asor leaf proofiat(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 DPoPjtiis also no longer kept for the clock leeway afteriatplus 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_futureandlimits()on both verifiers. The AAT vectors run withpop_max_futureequal 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 takereplay_capacityandreplay_key_quotafrom the authenticator (Authenticator::replay_limits), orGate::with_replay_limits.visado-extauthz: the gate recorded an AAT PoP or asor leaf proofjtibefore 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 aschain.holder_mismatch, and use up the holder’sjti. The gate now verifies the chain without recording, checks the binding and runs the invariant engine, and records thejtilast. A full chain proof cache is now a 503chain.replay_cache_fulland a holder key past its quota a 429chain.replay_quota, instead ofaat.pop_replayedorasor.holder_binding_failed.visado_chain_aat::Authorizedhaspop_untilandvisado_chain_asor::Authorizedhasproof_until, the last second the proof is accepted in, for a caller that records thejtiitself.visado-chain:MemoryReplayCachehandled each call at thenowit 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 latestnowit has seen and handles every call at no earlier time, and refuses a proof whose last acceptable second is before it asRecorded::Stale, treated as a replay.visado-chain,visado-chain-aat,visado-chain-asor: a negativeiat_windowinvisado_chain::dpop::Expected, or a negative PoP or proof window in the verifiers’Limits, made the future bound panic (clampwith its bounds reversed), and a negative AATpop_windowwas read as its absolute value. A negative window or skew now admits no time either side of now, andwith_limitsstores 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 andclient_id) now holds at mostreplay_client_quotaDPoP entries across all its keys (Authenticator::with_replay_client_quota,default_replay_client_quota: a 32nd ofreplay_capacity, at most 10000), and the default per-key and per-workload quota is a 64th ofreplay_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_quotaandcheck_and_record_in_groupadd 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.
0.3.0 - 2026-11-21
Section titled “0.3.0 - 2026-11-21”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]]takesjwks_file, a JWK set such as a SPIRE WIT bundle, instead of single key files. A key withoutalggets the one algorithm its type allows; a key withoutkid, a repeatedkidor 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, thecreated/expireswindow (max_signature_lifetime, default 60 s), nonce replay and a coveredContent-Digestagainst the received body are checked. Failures arehttpsig.invalidwith status 400 and an RFC 9457 problem document. -
visado-credentials: mTLS with an X.509-SVID that Envoy terminated and passes insource.certificate, verified against one CA per trust domain ([mtls]). The certificate key is the AAT holder key.[mtls]needs a loopbackgrpc_listenunlessgrpc_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
tctxname the new methodswit-httpsig,mtlsandjwt-svid. -
Credential headers longer than 16 KiB are denied (
credential.too_large) before decoding. -
The audit event has a
detailfield with the reason an authentication failed. -
visado-credentials: DPoP-bound access tokens (RFC 9449) asAuthorization: DPoPwith oneDPoPproof. The token’scnf.jktmust be the proof key’s thumbprint;htm,htu,iat(dpop_iat_window, default 60 s),athandjtireplay are checked. The caller isMethod::OAuthDpopwith the proof key asproof_key, namedoauth-dpopin the PDP context andtctx. New codesdpop.invalid,dpop.replay,dpop.bindingandtoken.dpop_bound. Server nonces are not supported. -
A 401 for a DPoP failure carries
WWW-Authenticate: DPoPwitherror(invalid_dpop_prooforinvalid_token) andalgs; other access token failures sendBearer, DPoP algs="...". -
visado-chain: a shareddpopmodule with the RFC 9449 proof checks, used byvisado-chain-asorandvisado-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 astatusclaim is denied asstatus_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.NOTICErecords the attribution. -
The gate verifies an asor chain sent in
Agent-Delegation-Chainwith aDPoPproof (seedocs/bindings.md), with the same caller binding as AAT. Configured with[asor]in the server file, whoserequiredhas no default. -
visado-chain:Profile::Asor03, and the sharedjson(strict parser and JCS),jose(compact JWS parts and JWK thumbprints) andreplaymodules. -
deploy/lab: SPIRE v1.16.0 issues the workloads’ WIT-SVIDs (experimentalenable_wit_svids). A one-shotwit-configservice writes visado’s[[wit_issuers]]from the SPIRE WIT bundle before visado starts, anddemo.shsigns WPTs and AAT holder proofs with the keys SPIRE issued. -
deploy/labexercises the other caller methods through Envoy: WIT with an HTTP message signature (allowed, replayed nonce, body changed under the coveredContent-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 assource.certificate(allowed, unbound user token, certificate from another CA), SPIRE JWT-SVIDs (allowed, wrong audience) and a DPoP-bound access token (allowed, sent asBearer).spire-setupwrites the X.509 CA and the SPIFFE-format bundle for visado’s[mtls]and[jwt_svid], agateway-svidone-shot writes Envoy’s certificate, and a newlab_methodstestkit example prints the signed and DPoP requests.demo.shcan check visado’s error code as well as the status. -
visado-chain-act: reads the RFC 8693actclaim of a verified access token as a delegation chain (principalsub, 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 areact.not_object,act.missing_sub,act.bad_issuer,act.too_deepandact.actor_mismatch. -
The gate enforces
actchains in a user token bound to a key-holding caller (seedocs/bindings.md); a bearer token with anactclaim 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 Tokentctxalso 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
actvectors inconformance/act/, visado’s own except for the claim sets of RFC 8693 Figures 5 and 6. -
visado-chain:Profile::Rfc8693Act,ActorId::SubjectandLink::Nested. -
visado-credentials:AccessTokenhasact,id(jti),issued_atandkey_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 servesGET /api/requests,GET /api/requests/{id}and a page at/chainthat 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-loopbackhttp_listenunlessallow_remote = true, and answers only theHostnames inallowed_hosts. Seedocs/design.md. -
visado-extauthz:RequestLog, therecentmodule andGate::with_request_log. -
deploy/lab: the chain view athttp://127.0.0.1:8080/chain, published to the host’s loopback address only.
Changed
Section titled “Changed”- The server refuses to start when
allowed_authoritiesis empty; it used to warn. - An access token with
cnf.jktsent asBeareror as a user token is denied astoken.dpop_boundinstead oftoken.sender_constrained; any othercnfis stilltoken.sender_constrained. - asor DPoP proofs: the signature is checked before the key is compared with the leaf
cnf.jkt, andhtuis 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’ssubas 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 differentrequiredvalues; a format withrequired = falseused to let requests without any chain through next to one withrequired = true. - The gate denies an access token that carries an
actclaim unless[act]is configured (chain.unsupported); it used to ignore the claim. A token with anactclaim next to anAAT-ChainorAgent-Delegation-Chainheader ischain.ambiguous. - An internal caller may forward a
Txn-Tokenafter a WPT, an HTTP signature that covers it, or mTLS; bearer callers still cannot. - The gate removes
SignatureandSignature-Inputbefore 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-aattovisado-chain.visado-chain-aatre-exportsReplayCacheandMemoryReplayCache; its behaviour is unchanged. - The lab’s ext_authz filters set
pack_as_bytes: true, asdocs/bindings.mdasks for signed bodies. deploy/labno longer signs WITs with the fixedwit-1demo key.lab_headersandlab_aattake a directory ofspire-agent api fetch wit -output jsonoutputs as their first argument.- The gate denies a request that carries both
AAT-ChainandAgent-Delegation-Chain(chain.ambiguous). The chain context sent to the PDP and the Transaction Token hasprincipalwhen the format names one.
0.2.0 - 2026-11-19
Section titled “0.2.0 - 2026-11-19”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-ChainandAAT-PoP(seedocs/bindings.md), reads the tool and arguments from an MCPtools/callbody, 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 Tokentctx. 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 indemo.shthat CI runs.- A Dockerfile for the server.
- OpenTelemetry: one
visado.authorizespan per decision withvisado.*attributes, exported over OTLP when[telemetry] otlp_endpointis set. The lab sends them to Jaeger. scripts/check.shruns every CI check locally.visado-chain: the format-neutral delegation chain model (NormalizedChain,Hop, signer binding, link, assurance) and theChainDecodertrait.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 rootNOTICEfile 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.
Changed
Section titled “Changed”visado-chain:NormalizedChainhasholder_proof.ChainDecoder::decodesets it tofalse;visado-chain-aat’sVerifier::verifysets it totrueafter 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 = truedenies 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/calland 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
audon the chain andaat_audon 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 mostLimits::max_constraint_nodes(default 1024) constraint nodes. A request with a wideanyand 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.25is905750064395076.2). Digits come from theryucrate. 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 equalsiss, not to the first anchor whose key verifies. -
visado-chain-aat:decode()rejects anaudthat is not a string or an array of strings instead of reading it as unrestricted.
0.1.0 - 2026-11-19
Section titled “0.1.0 - 2026-11-19”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 throughoth), or an OAuth access token alone. WPTjtireplay 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.visadobinary: TOML configuration, ext_authz over gRPC,/healthzand/.well-known/jwks.jsonover HTTP, JSON audit events. Both listeners bind to loopback by default, and the server exits if either fails.- Requests for authorities outside
allowed_authoritiesand 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.scpis read whenscopeis absent, andnbfis checked.
© 2026 The visado Authors. Licensed under Apache-2.0.
Third-party logos are trademarks of their respective owners and are used to show compatibility; their use does not imply endorsement.