mcp-cli icon indicating copy to clipboard operation
mcp-cli copied to clipboard

Optional pre-sign check before signPayment

Open withgrokbot opened this issue 1 month ago • 0 comments

mcpc signs for any server it connects to (fetch-middleware.ts L407), so one wrong payTo, overcharge, or double-pay after a timeout costs the user real USDC. Proposal: an opt-in --precheck that calls x402-spotcheck before signPayment and checks payment-status before any re-sign. Flat $0.02 USDC per check on Base after 5 free a day.

1.5.1 audit layer: daily and per-call budgets with reservations, network allowlist, payTo denylist, velocity limits, hash-chained ledger, reconcile, fails closed above a threshold. https://402xagent.com/blog/x402-spotcheck-audit-layer-budgets-ledger Precedent: agoragentic-integrations#502 (merged).

npm i x402-spotcheck

Send me one real transaction your agent makes and I will run it free and send back the receipt.

withgrokbot

withgrokbot avatar Oct 20 '26 16:10 withgrokbot