{"slug": "pre-registered-re-run-an-x402-payment-hook-battery-under-vendor-issued-9-9", "title": "Pre-registered re-run: an x402 payment-hook battery under vendor-issued conditions — 9/9", "summary": "An independent test lab re-ran its hostile battery against the Agentic Finance Graph (AFG) x402 onBeforePaymentCreation gate hook under conditions AFG itself issued, freezing the vendor's comment verbatim before any request was made, and reported 9/9 sessions matching with zero divergences and $0.00 spent. The re-run closed a window-state inconsistency found in an earlier slot (0031), with the race test yielding exactly one allow and seven blocks each accounting a single pending $200 decision, and all 32 receipts conforming to the new v2 schema with policy bodies recomputed byte-exact against SHA-256 e78dea71. The lab published its preregistration hash, Ed25519-sealed record and raw call evidence in its public Argus-Agent-Test-Lab repository and the x402#3866 thread.", "body_md": "We re-ran a hostile battery against the Agentic Finance Graph (AFG) onBeforePaymentCreationgate hook — not on our terms, but on conditions the vendor itself issued in the thread,frozen verbatim before a single request was made. Result: 9/9 sessions MATCH, 0 divergences, $0.00 spent.\n\nWhy vendor-issued conditions matter\n\nOur first run (slot 0031) found a real divergence: in an 8-way race, seven checks were allowedwith pre-decision pending snapshots — a window-state inconsistency. AFG responded the way everyproject should: with numbers. They issued three conditions for a re-run: the receipt schema movedto v2 (body.policy = {name, sha256}, the 16-char policy.hash is gone from receipts), the 503row is likely unreachable from outside (\"not observed\" is the expected result), and S6 shouldnow yield exactly 1 allow + 7 blocks, each block with pending {decisions: 1, usd: 200} —while $200 to a new address stays in character for the agent.\n\nWe froze their comment verbatim (with its body sha256) as the source of truth, derived theexpected column from it and nothing else, and published the freeze as a timestamped post —4 m 28 s before the first live GET. No expectation came from any pre-run observation.\n\nThe battery (budget $0.00, no payments signed, no retries)\n\nSession Attack / control    Expected (frozen)   Observed\n\nS1  restart persistence allow → block allow → block ✓\n\nS2  fresh-reference farming 10× allow, no cross-ref aggregation    10× allow, clean ✓\n\nS3  amount splitting ($300 → 5×$60)  window never sees $300  5× allow ✓\n\nS4  payTo rotation  4th blocked by 3-new-payees/day cap new_payees_per_day_exceeded:4>3 ✓\n\nS5  boundary arithmetic exactly 250 allowed (strict >)  allow, allow, block ✓\n\nS6  race, vendor-issued 1 allow + 7 blocks, pending 1×$200 exactly that ✓\n\nS7  skipped hook    zero gate signals   0 requests ✓\n\nS8  503 reachability (passive)  \"not observed\"  32 calls, all 200 ✓\n\nS9  receipt v2 conformance  v2 schema, {name, sha256}   32/32 ✓\n\nTwo results worth highlighting.\n\nThe 0031 divergence did not repeat. In S6 the gate returned exactly the vendor-issuedoutcome: one allow, seven blocks, every block accounting the same single pending decision.The server-side lock now behaves the way AFG disclosed. A finding that disappears after avendor fix — verified under the vendor's own frozen numbers — is the strongest closure atest lab can offer.\n\nReceipt v2 recomputes byte-exact. Every receipt names its policy by the SHA-256 of thewhole policy body. We recomputed canon(policy.body) for all 32 receipts: all matche78dea71… exactly. The legacy 16-character hash survives only beside policy.sha256 inthe answer — precisely as the vendor announced.\n\nThe discipline\n\nEvery run in our lab follows the same mechanics: freeze → prereg hash published → run →offline table → seal. Checks are written exactly once; a failure is a result, never retried.Sealed originals are never edited — corrections are separate records. The 0033 record isEd25519-sealed with the operator key and hash-chained to 0032; evidence (39 raw call files,offline table, manifest) is committed next to it.\n\nEverything is public:\n\nRegistry + evidence: igor-vii/Argus-Agent-Test-Lab\n\nThe thread with AFG's issued conditions and our prereg post: x402#3866\n\nNext up: a receipt-anchoring pilot with paidfor-data (slot 0034+) and the paid-tierreciprocal ruler. If your project wants the same treatment — issue your conditions in thethread; we'll freeze them verbatim and run the battery.", "url": "https://wpnews.pro/news/pre-registered-re-run-an-x402-payment-hook-battery-under-vendor-issued-9-9", "canonical_source": "https://dev.to/igorvii/pre-registered-re-run-an-x402-payment-hook-battery-under-vendor-issued-conditions-99-13jc", "published_at": "2026-11-25 05:37:09+00:00", "updated_at": "2026-11-25 05:42:36.581575+00:00", "lang": "en", "topics": ["ai-agents", "ai-safety", "ai-tools"], "entities": ["Agentic Finance Graph", "Argus-Agent-Test-Lab", "x402", "igor-vii", "paidfor-data"], "also_reported_by": [], "takeaway": "Freezing a vendor's issued conditions verbatim before a run and deriving expectations only from them turned a prior 8-way race divergence into a clean 9/9 match, with all 32 receipts recomputing byte-exact against the policy body's SHA-256.", "recommendation": {"advice": "Freeze vendor-issued conditions verbatim with a published prereg hash before running, derive expected results only from that freeze, and never retry a failing check.", "playbook": "evals-testing", "playbook_url": "https://wpnews.pro/playbooks/evals-testing"}, "alternates": {"html": "https://wpnews.pro/news/pre-registered-re-run-an-x402-payment-hook-battery-under-vendor-issued-9-9", "markdown": "https://wpnews.pro/news/pre-registered-re-run-an-x402-payment-hook-battery-under-vendor-issued-9-9.md", "text": "https://wpnews.pro/news/pre-registered-re-run-an-x402-payment-hook-battery-under-vendor-issued-9-9.txt", "jsonld": "https://wpnews.pro/news/pre-registered-re-run-an-x402-payment-hook-battery-under-vendor-issued-9-9.jsonld"}}