Skip to content
IAM Insights

Briefing · Article · source · updated · Boston Identity

OpenID4VP 1.0 makes verifiers re-check what a wallet returns, and cannot show a holder acting for someone else

The OpenID Foundation's protocol for asking a wallet for credentials became final in July 2025, and agent-delegation drafts we have read build on it. Its firmest rule is that the verifier runs its own checks on what comes back, whatever the wallet filtered. Holder binding proves possession of a key and nothing about acting for another party, and the one slot for authorizing a transaction works only with wallets that know its type.

OpenID Foundation · Oliver Terbu, Torsten Lodderstedt, Kristina Yasuda, Daniel Fett, Joseph Heenan, Tobias Looker, Adam Lemmon · July 9, 2025 · read

share
3 findings5 sectionsVerified identityStandardsDecentralized identity
31,871 words. With Oliver Terbu, author, MATTR.
01

What's happening

Finding3
BI-FIND-2025-0147Lead finding

OpenID4VP 1.0 says a verifier must not rely on the wallet to enforce the limits it asked for and has to check what comes back itself.

OpenID4VP 1.0 leaves the checking to the verifier. A verifier can ask for particular claims, values and trusted issuers, and the wallet must not return a credential that lacks a requested claim. Even so, section 14.9 says the verifier "MUST NOT rely on the Wallet to enforce these constraints" and has to run its own checks on what comes back. Asking only for a credential that holds a given value is, in the spec's words, "a best-effort way to improve user privacy", and verifiers must not rely on it for security checks. For drafts that put an AI agent's wallet in the holder's seat, we read this as a plain rule: whatever the wallet filtered is a courtesy, and every limit the verifier cares about gets checked again on arrival.

high confidencebest source: vendor, technicalobserved Jul 2025EvidenceSecurity and privacy considerationsVerifier Info, DCQL and claims path pointers
flag a problem with BI-FIND-2025-0147
BI-FIND-2025-0148

Holder binding in the spec is the holder's ability to prove it legitimately possesses a credential and says nothing about presenting on another party's behalf.

Holder binding in the spec is the holder's ability "to prove legitimate possession of a Credential", in the cryptographic case by controlling the same private key at issuance and at presentation. It says nothing about presenting on another party's behalf, and the text never mentions AI, software agents or workloads. The nearest thing to authorization is transaction data (section 8.4): the verifier sends typed details of a transaction, such as a payment or a qualified electronic signature, and the wallet includes a representation of them in the presentation, signed with the key that proves possession of the credential. The spec leaves the type values to other documents, and a wallet must return an error if a request carries even one type it does not recognise. Our briefings on AP2's Agent Authorization document and on the Delegate SD-JWT draft found both carrying an agent's delegation as a "delegate" type in this slot, which means such a request works only with wallets that have implemented that type.

BI-FIND-2025-0149

Over the browser's Digital Credentials API, the wallet's presentation must name the web origin the browser reports as its audience.

Over the browser's Digital Credentials API, the wallet answers a web origin, not a client identifier. The presentation's audience must be the Origin the browser reports, prefixed "origin:", even when the request is signed. An unsigned request must leave out client_id, and the wallet must ignore one if it is there. Signing is optional, used "for example, when identification and authentication of the Verifier is required", and how the request and Origin reach the wallet is platform-specific and outside the spec. We read the phishing resistance this mode claims as the browser's or operating system's, which holds only where one of them sits between verifier and wallet.

high confidencebest source: vendor, technicalobserved Jul 2025EvidenceOpenID4VP over the Digital Credentials API
flag a problem with BI-FIND-2025-0149
02

Section by section

5

showing 5 of 5

[1]

Authorization Request and Verifier identification (client identifier prefixes)

Oliver Terbu, MATTR

Verified identityDecentralized identityStandards

The request is an OAuth 2.0 authorization request, optionally a signed request object. Its client_id starts with a prefix saying how the wallet should authenticate the verifier: a redirect URI (which cannot be signed), OpenID Federation, a DID, a verifier attestation, an X.509 certificate's DNS name or hash, or pre-registration. A nonce is required, and a verifier may ask for credentials without holder binding.

technical artifactfrom published text

[2]

Verifier Info, DCQL and claims path pointers

Oliver Terbu, MATTR

Verified identityDecentralized identityStandards

DCQL is the JSON query a verifier sends: which credentials, which claims, alternative sets of each, required values and trusted issuers. A wallet must not return a credential that lacks requested claims. Value matching is best-effort privacy and verifiers must not rely on it for security. Verifier Info lets a verifier attach context attested by a third party, which the wallet may use or ignore.

technical artifactfrom published text

[3]

Response, direct_post, encryption and transaction data

Oliver Terbu, MATTR

Verified identityStandards

Presentations come back in a vp_token keyed by the query's ids. With direct_post the wallet posts the response to the verifier's server, for cross-device flows or large responses, and the .jwt modes encrypt it. Transaction data ties a user's approval of a payment or a qualified signature to the credential's key. A presentation that fails the verifier's checks must be discarded.

technical artifactfrom published text

[4]

Security and privacy considerations

Oliver Terbu, MATTR

Verified identityStandards

Each presentation must be bound to the verifier's client_id and the nonce. A verifier that accepts presentations without holder binding accepts replay risk. direct_post is open to session fixation, which a response code mitigates. The verifier must run its own checks on what the wallet returns. Privacy sections cover consent, leaks from value matching, single-use credentials against linking, and error responses that reveal what a wallet holds.

technical artifactfrom published text

[5]

OpenID4VP over the Digital Credentials API (Appendix A)

Oliver Terbu, MATTR

Verified identityDecentralized identityStandards

Appendix A runs OpenID4VP through the W3C Digital Credentials API in a browser or app, with unsigned, signed and multi-signed requests. Signed requests must list expected origins, and the response's audience is the Origin the browser reports, not the client_id. The spec claims privacy, a smoother same-device flow, proximity checks over the CTAP hybrid transport, and phishing resistance.

technical artifactfrom published text

Terms used

OpenID Foundation
The standards body behind OpenID Connect, CIBA, and AuthZEN — where much of the web's login plumbing gets written.
Holder binding
Proof that the party presenting a credential is the one it was issued to, not someone who copied it.
OpenID for Verifiable Presentations
The OpenID Foundation protocol for presenting a digital credential from a wallet to a verifier, with a transaction_data field that lets the holder sign extra information, such as a payment mandate, along with the presentation.
AI agent
Software that uses an AI model to decide its own next steps and then acts through tools and APIs, rather than answering a single prompt. Because it acts, it needs an identity of its own.
AP2
Google's open protocol for letting AI agents make payments on a person's behalf with signed proof of what they approved.
Delegate SD-JWT
An Internet-Draft that lets the holder of a Selective Disclosure JSON Web Token (SD-JWT) delegate it onward, so a verifier can walk the chain back to the issuer.
Digital Credentials API
A W3C browser interface that lets a website ask for a credential, such as a digital driver's license, from the wallet on the user's device.
OAuth
The web's standard framework for delegated authorization — letting one application act at another on a user's (or machine's) behalf without sharing passwords.

Cited in our columns

Read next

Was this briefing useful?

Share this briefing

Every finding, forecast and open question on this site has a permanent ID. If we reword one, its ID stays the same, so a citation keeps pointing to the same claim.

Follow us on LinkedInRSS feed

Working on an identity problem this research touches? Talk to Boston Identity