Skip to content
All posts

Blog

AI agents at checkout: what a signed request does and does not tell you

Customers can let AI agents browse and buy for them. Why a website cannot take an agent's word for it, how signed requests help, and what a verified agent does and does not tell you.

· 3 min read

A new kind of visitor

A customer can now ask an AI agent to find the product, fill in the form and pay, without clicking through checkout. For a shop this is a real sale from a real person, made by software.

Fraud is often automated too. Scripts can test stolen cards, open accounts in bulk and take over logins. So the question for a website is no longer only whether a visitor is a person. It is whether an automated visitor is an agent working for a customer or a script working against you.

Why you cannot take an agent's word for it

The usual ways to recognise a bot assume a cooperative crawler. A crawler names itself in a header and follows the rules a site publishes for it. The standard for those rules, RFC 9309, says that they are not a form of access authorization. They rely on the visitor being honest.

The IETF working group on web bot authentication describes the limits of today's methods in its charter. It says that current solutions such as IP allowlisting, User-Agent strings and shared API keys have significant limitations regarding security, scalability and manageability. A name in a header is a claim, and anyone can make it.

Signed requests turn a claim into a check

The answer taking shape is a signature. RFC 9421 describes a mechanism for creating and verifying digital signatures over components of an HTTP message. In the approach the working group is drafting, the company that runs an agent signs the requests the agent sends and publishes the keys needed to check them. A website can then check that a request was signed with that operator's key.

The same working group is chartered to standardise how automated clients authenticate cryptographically. Its use cases include AI agents retrieving or interacting with content on behalf of end users. The work is still in progress, so expect the details to change.

How a signed request from an AI agent is checkedFive steps from top to bottom: the agent's operator signs each request; your site receives the request with its signature headers; the signature is checked against the keys the operator publishes; the result is recorded with the event; your own rules decide what to do with it.01The operator signs the requesteach request the agent sends carries a signature02Your site receives itthe signature arrives in the request headers03The signature is checkedagainst the keys the operator publishes04The result is recordedwith the event05Your rules decidethe result is one fact among many
Illustration: a signature turns a claim into something that can be checked. What happens next stays your decision.

What a verified agent does not prove

A valid signature tells you which operator signed the request. It does not tell you who asked the agent to act, or whether that person has the right to use the card. A fraudster can use the same agent a customer does.

So a verified agent is not a reason to approve, and an agent without a signature is not a reason to decline. Treat the result as one fact about the event, next to what you already know about the customer, the device and the payment.

What a claimed agent and a verified agent tell youA table comparing a visitor that only claims to be an AI agent with one whose signature was verified: what the claim rests on, who can produce it, what it shows and what it leaves open.Claimed onlyVerified signatureRests onA label the visitorsetsA signature made withthe operator's keyWho can produceitAnyoneWhoever holds theoperator's keyWhat it showsNothingWhich operator signedthe requestWhat stays openEverythingWho is behind theagent, and why
A verified signature points to the operator behind the request. It does not answer whether the purchase is genuine.

How FRAPE uses this

When a request to your site carries an agent's signature, you can forward it to FRAPE with the event. FRAPE checks the signature for the agent operators it supports and records the result on the event. You can also say who started the event and what limits the customer gave the agent. These are your own statements: FRAPE records them and does not verify them.

The result is a fact your rules and analysts can see. It never approves or declines anything by itself: your policy decides. Sending the information is optional, and nothing changes for events without it.

Sources

  1. IETF: RFC 9421, HTTP Message Signatures (February 2024)
  2. IETF: RFC 9309, Robots Exclusion Protocol (September 2022)
  3. IETF: Web Bot Authentication (webbotauth) working group, charter
  4. IETF: HTTP Message Signatures for automated traffic (working group Internet-Draft draft-ietf-webbotauth-httpsig-protocol)

Back to all posts

Get started

Start stopping fraud today.

Start free with test keys, then see every decision explained on your own live traffic, with Decision Core advising in watch mode until you switch it on. Or tell us what you need to protect, and we will walk you through how FRAPE would decide it. Compare plans.

$ curl https://api.frape.io/v1/score …Start freeTalk to sales