ERC-8481 Agent Pre-Signing Risk Report (Agent Pre-Sign Risk Report)

Draft · Accounts & wallets · created 2026-10-31

Before an AI agent or wallet signs a transaction, this is a standard report format in which a risk source records and delivers facts about tokens, approvals, addresses, payments, text, and simulations on a per-block basis. It contains only facts, with no scores or verdicts, letting the consumer apply its own policy directly.

Why it is needed

As agents increasingly prepare and sign transactions without human confirmation, the same incidents keep recurring: unlimited approvals to contracts deployed only a week earlier, transfers sent to an address that matches a previously used address only in its leading and trailing characters, payments sent to a payTo that differs from the wallet the receiving agent registered, and agents reading instructions hidden in a token's name as commands. Anyone could verify these facts before signing simply by reading the chain and the request, yet the risk field in the existing Prepared Transaction Envelope only carries a verdict such as ALLOW, WARN, or BLOCK, a score, and free-form warnings, with no underlying evidence, no indication of which request the assessment applies to, and no indication of which block it was read from. This makes it impossible to reuse or refute, and makes unread items look indistinguishable from items that are fine. In an actual investigation, among 827 agents that stated they accept x402 payments and actually provided payment terms, only 4 used their registered wallet as the payTo.

What to implement

In depth

Binding the report to the request

A PresignRequest carries the prepared transaction (an EnvelopeSubject or CallsSubject) together with its context. subjectDigest is the keccak256 hash of the canonical JSON bytes of the request (chainId, from, calls, typedData, authorizationList, and so on), and contextDigest is the digest of the context, such as payment, text, token, or intent. The consumer must not take these two values from the report; it must compute them directly from the request it is about to sign and compare them, and if they differ, it must treat the report as belonging to a different request. Because the EIP-7702 authorizationList preserves order and a later tuple for the same authority overwrites an earlier one, a request that installs or replaces a delegation produces a different digest even with the same calls.

Read / not-read status and evidence

Every finding consists of a kind, a target entity, a status (read or not-read), and evidence. If status is read, it must carry a value and must not carry a reason; if not-read, it must carry no value and must carry a reason, one of unsupported, unavailable, incomplete, not-requested, payment-required, or timeout. A finding that reads chain state must specify the block it was read from (at), while a finding computed purely from the request bytes (for example, text analysis) has no at. Evidence carries supporting data as one of the types tx, log, call, observation, document, or simulation. This ensures that an item that could not be read is never conflated with an item that was read and found to be fine.

The eight entity types and coverage

The source extracts token, approval, address (in roles such as target, spender, recipient, payTo, quote-issuer, token, authority, and account), payment, and text entities from the calls, typed data, and context, and if it runs a simulation, it also adds the account's standing-power changes and the result of the intent match. The coverage field indicates how much of the request was examined, and is either complete or partial; if partial, each part that could not be decoded is recorded in gaps with a path (for example, tx.calls[0].inner[0]) and a reason. Entities inside a part that could not be decoded are simply absent from the list; this shows up only as a gap in coverage, not as a 'not-read' finding.

Approval detail facts

Approvals are extracted from ERC-20 approve and increaseAllowance, setApprovalForAll(true), Permit2 approve, ERC-2612 Permit, and Permit2 PermitSingle and PermitBatch. Each approval entity must report the following as core findings: approval.amount (the approved amount, or all for an unlimited approval), approval.unlimited (whether it equals the maximum value for that type), approval.expiry (the expiration time of the allowance itself, not the signing deadline), approval.current-allowance (the allowance already held currently), and approval.share-of-supply (basis points relative to total supply, not applicable to an unlimited approval).

Address risk signals and EIP-7702 delegation

For an address in any role, address.code (none, contract, or delegated), address.first-seen-block, and address.prior-transfers are core findings. If code is delegated, address.delegate-single-caller (whether only one fixed address can call the delegated code's value-moving functions) and address.delegate-unbounded-outflow (whether an external caller can drain the account's entire balance at once with no limit or delay) are added. For a request with an authorizationList, these values must be computed from the code after applying the delegation first, in the order EIP-7702 applies it, and if that cannot be done, it must be reported as not-read (unsupported). address.lookalike finds other addresses, among those the signer has previously exchanged with, that share the same specified number of leading and trailing characters.

Changes to a smart account's standing power

account.power-change reports each configuration-change call or event for a Safe (module, guard, fallback handler, owner, threshold), a Zodiac Roles modifier, or an ERC-7579 modular account, numbered individually (n), carrying a grantee and before/after values for each change. If an account performs a delegatecall to code other than its own implementation, the entire target can then act as the account, so this is reported as code-replaced. account.unsigned-actors is a count of all addresses that, after the request is applied, can move the account's assets without a signer; it is a valid read value even when it is 0.

Cross-checking x402 payment terms against the registered wallet

When payment information is present in the context, payment.match compares payTo against the agentWallet that the receiving agent registered in the ERC-8004 registry, along with fixed pairs such as payTo=agentWallet, payTo=quote.recipient, asset=quote.asset, amount=quote.amount, network=quote.chainId, quote.signature, quote.issuer=agentWallet, quote.valid-at-issue, authorization.to=payTo, and authorization.value=amount, drawn from the x402 PaymentRequirements. A pair is omitted if one side is missing from the request, and only pairs where both sides exist but cannot be read are marked not-read. According to the investigation, as of block 100,007,973 on chain 4663 dated 2026-10-28, of 20,046 agents that claimed to accept x402 payments, 5,642 actually offered payment terms, and of the 827 that provided real payment conditions, only 4 used their registered agentWallet as payTo.

Signature verification, source identity, and proposal status

The report signs reportHash (a digest of everything except the signature and detail) as a PresignReport type under EIP712Domain(name="Agent Pre-Sign Risk Report", version="1", chainId=the registry's chain ID). The consumer must compute both digests directly from the request, verify the signature against source.signer, and then confirm that signer is either the registry's getAgentWallet/ownerOf or is listed among the signers of the presign-risk-report service in the registration file. If any of these three steps fails, the report is treated as unsigned. This proposal is currently in Draft status, meaning discussion and changes are still ongoing.

Original ERC · ← ERCs