Skip to content
IAM Insights

Briefing · Draft · source · updated · Boston Identity

Protocol 427 offers agents a reusable spending allowance, then ties each signed proof to one request

John Paul McGraw's May 2026 individual draft proposes a new HTTP status code, 427 Budget Required, that lets a website ask an AI agent for proof its operator allowed it to spend. The proof is a post-quantum-signed envelope. As written, each one carries that site's own challenge and the exact request, and no verification step reads the amount cap. By September the author had dropped the 427 code.

IETF Datatracker · John Paul McGraw, Jr. · May 6, 2026 · read

share
3 findings6 sectionsAgentic paymentsStandardsAgentic identity
6,257 words. With John Paul McGraw, Jr., author, TaskHawk Systems LLC.
01

What's happening

Finding3
BI-FIND-2026-0996Lead finding

McGraw presents the envelope as an allowance issued once, yet a verifier must match each operator-signed envelope to one unused nonce and one request.

McGraw presents the envelope as an allowance an operator issues once. His example is "USD 10 over the next 60 seconds", presented at each origin that asks for payment, so that operators control spending "without participating in every transaction". The verification rules undo that. A verifier MUST check that the envelope's nonce was issued by that verifier in an outstanding 427 challenge and never seen before, and that the envelope's request binding matches this request's method and URI hash. Both sit inside the claims the operator's key signs. We read that as a fresh operator-signed envelope for every challenged request, unless the agent holds the operator's key and so signs its own limit.

medium confidencebest source: vendor, technicalobserved May 2026EvidenceProblem framing and overviewSection 3Section 2
flag a problem with BI-FIND-2026-0996
BI-FIND-2026-0998

Every envelope must carry an ML-DSA-87 signature, 4,627 bytes in the draft's example, and one over the header size limit must travel in the request body.

Every envelope carries a post-quantum signature: the primary MUST be ML-DSA-87, and the draft's own example signature is 4,627 bytes. Implementations MUST also support SLH-DSA-SHA2-128f for an optional second, "rail-keyed" signature, which FIPS 205 puts at 17,088 bytes. An envelope over a header size limit (8 KiB is the draft's typical figure) MUST travel in the request body under its own media type, with only a hash in the Authorization header, and one carrying the rail-keyed signature always does. McGraw says he chose CBOR and COSE so that multi-kilobyte post-quantum signatures can travel outside header fields, and notes that HTTP Message Signatures registers no post-quantum algorithm.

high confidencebest source: vendor, technicalobserved May 2026EvidenceSection 3Section 2
flag a problem with BI-FIND-2026-0998
BI-FIND-2026-0997

None of the seven verification steps compares a request with the envelope's optional amount cap or with what the agent has already spent.

The amount cap is optional in the envelope schema, and none of the seven ordered verification steps compares a request with it, with the permitted rails, or with what the agent has already spent. The failure codes include rail_not_authorized and nothing for an amount. The example has each origin settle against "the attested allowance", but the draft defines no running total shared between origins, so we see nothing in it that stops an agent spending the full cap at each of several sites. Issuance is out of scope, the operator's key is found "by deployment policy", and the agent is an opaque identifier one hop from its operator, with no chain.

medium confidencebest source: vendor, technicalobserved May 2026EvidenceSection 3Versioning via 426 and reason codesProblem framing and overview
flag a problem with BI-FIND-2026-0997
02

Section by section

6

showing 6 of 6

[1]

Problem framing and overview: budget authority as a separate axis

John Paul McGraw, Jr., TaskHawk Systems LLC

Agentic paymentsAgentic identityStandards

McGraw argues that HTTP's 401 asks whether a requester holds a credential and 402, as L402 and x402 use it, asks for payment, and that neither asks whether an agent holds attested authority to spend up to an amount. He proposes 427 Budget Required and a signed envelope, with a worked challenge-and-retry example. His open issues include an unassigned CBOR tag and whether the rail-keyed signature belongs in this document.

technical artifactfrom published text

[2]

The 427 status code and the Budget authentication scheme

John Paul McGraw, Jr., TaskHawk Systems LLC

Agentic paymentsStandards

427 asks for evidence of spending authority issued in advance, where 402 asks the client to start paying. The Budget scheme's challenge carries realm, alg, rails, nonce and max-age. An envelope too big for a header goes in the request body as application/budget-attestation+cose, bound by a SHA-256 hash, and a 427 response is not cacheable by default.

technical artifactfrom published text

[3]

Budget-Attestation envelope, signatures and verification

John Paul McGraw, Jr., TaskHawk Systems LLC

Agentic paymentsAgentic identityStandards

The envelope is a COSE_Sign structure whose claims name the issuer, the agent, issue and expiry times, a nonce, a binding to the request's method, URI hash and optional body hash, the permitted rails and an optional amount cap. The primary signature must be ML-DSA-87; a second, rail-keyed SLH-DSA signature is optional. Verifiers run seven checks in order, and how envelopes are issued is out of scope.

technical artifactfrom published text

[4]

Versioning via 426 and reason codes

John Paul McGraw, Jr., TaskHawk Systems LLC

Standards

Only version 1 exists. Every 427 carries a Protocol-427-Version integer, and a request claiming a version the server does not support gets 426 Upgrade Required with Protocol-427/N tokens. The draft lists nine initial reason codes for Problem Details bodies, among them expired, replay, revoked and rail_not_authorized, and proposes a registry for more.

technical artifactfrom published text

[5]

IANA, security and privacy considerations

John Paul McGraw, Jr., TaskHawk Systems LLC

StandardsAgentic payments

McGraw asks IANA to register the 427 code, the Budget scheme, a version field, an upgrade token, a media type, a problem type hosted on his company's domain, a reason-code registry and a CBOR tag. The security rules reject replayed nonces and algorithm downgrades and leave key revocation to each deployment. The privacy section recommends lifetimes of 900 seconds or less and rotating agent identifiers.

technical artifactfrom published text

[6]

Implementation status: single-vendor, author's own

John Paul McGraw, Jr., TaskHawk Systems LLC

Agentic payments

The only implementation listed is Kevros, from the author's company, TaskHawk Systems, said to issue and verify ML-DSA-87 attestations with x402, L402 and Lightning bindings. It cites a TLA+ and Lean-verified host kernel (1.94 billion states, 20 theorems), and says a state-machine specification of 427 negotiation and signature verification has not been written. Nothing here is independently checked.

technical artifactfrom published text

Terms used

HTTP
Hypertext Transfer Protocol: the request-and-response protocol of the web, in which a client sends a method such as GET or POST to a URL and receives a status code and body.
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.
Post-quantum cryptography
Cryptography designed to stay secure against quantum computers; ML-DSA (Module-Lattice-Based Digital Signature Algorithm) is a post-quantum signature algorithm standardized by the US National Institute of Standards and Technology (NIST).
URI
Uniform Resource Identifier, the general form of a web address. Identity specs use URIs to name things unambiguously: an issuer, an audience, a resource, or a workload's identity in SPIFFE.
FIPS 205 (SLH-DSA)
NIST's hash-based post-quantum signature standard, slower than ML-DSA but resting on fewer assumptions.
FIPS
Federal Information Processing Standards: the US government's technical standards for computer systems, including the approved cryptography rules.
CBOR
A compact binary data format, a binary cousin of JSON, used with COSE to carry signed data.
COSE
The compact binary counterpart of JOSE: how to sign and encrypt CBOR data, used in device attestation and mobile credentials.

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