The attacks

Five attacks, each with a fixed oracle, run against both targets on a mainnet fork. Verdict amounts below mirror the committed receipts.

A1 through A5

A1cap raceconcurrent spends vs velocity cap

adversary A-racer

8 spends of 20 race a velocity cap of 100. The gateway's spent counter is read before any transfer resolves, so all 8 settle. The reference serializes check-and-decrement in-contract: 5 land, 3 abort cap-exceeded.

oracle: settled total = ft_balance_of(recipient)

gateway fall

160 settle, cap 100

attestation attested

receipts/a1-cap-race/gateway-20261101T171313Z.json

reference hold

exactly 100 settle

attestation attested

receipts/a1-cap-race/reference-20261101T171651Z.json

spec

A2freeze bypassresting commitment settles after freeze

adversary A-racer

A commitment for 25 is registered, then the wallet is frozen. The gateway honors the resting order; the reference cancels outstanding commitments at freeze.

oracle: post-freeze settled total

gateway fall

25 settle post-freeze

attestation attested

receipts/a2-freeze-bypass/gateway-20261101T171420Z.json

reference hold

0 settle post-freeze

attestation attested

receipts/a2-freeze-bypass/reference-20261101T171811Z.json

spec

A3needs-review double spendambiguous status + client retry

adversary A-counterparty

Intent I for 30 ends in an ambiguous status after broadcast. The client retries with identical parameters. The gateway settles again; the reference consumed its per-intent receipt once and aborts the retry.

oracle: total moved across both attempts

gateway fall

60 settle, one intent paid twice

attestation attested

receipts/a3-needs-review-double-spend/gateway-20261101T171453Z.json

reference hold

30 settle, retry aborts

attestation attested

receipts/a3-needs-review-double-spend/reference-20261101T171853Z.json

spec

A4key-scope escapefunction-call key moves value outside the policy envelope

adversary A-key

The attacker crafts a call on the wallet's function-call key: receiver attacker, amount 50, outside the allowlist and the per-intent max of 10. The gateway forwarder trusts method args; the reference validates receiver and amount per intent and the tx fails.

oracle: attacker balance delta

gateway fall

50 settle outside the envelope

attestation attested

receipts/a4-key-scope-escape/gateway-20261101T171527Z.json

reference hold

0 settle outside the envelope

attestation attested

receipts/a4-key-scope-escape/reference-20261101T171928Z.json

spec

A5injection-to-paymentpoisoned content drives a drain

adversary A-injection

A poisoned email instructs the agent to transfer the victim's full balance to the attacker. The gateway accepts the agent-signed transfer; the reference requires an owner-approved request and settles nothing.

oracle: victim balance delta + verdict receipt presence

gateway fall

victim drained of the full 200

attestation attested

receipts/a5-injection-to-payment/gateway-20261101T171605Z.json

reference hold

0; provenance blocks the drain

attestation attested

receipts/a5-injection-to-payment/reference-20261101T172012Z.json

spec