Right now x402Serve() checks that a request carries a valid, correctly signed payment. It doesn't check anything about whether that specific action should go through in the first place — who's acting, how much value is at risk, whether the destination is one the account owner would actually approve, or any rule beyond "is this signature valid."
Those are two different questions. Holding a valid signing key proves you can request an action. It doesn't prove that action should execute under the rules the account owner actually wants.
We don't have an answer for this yet, just the gap. If you're interested, a design doc or a set of adversarial test cases for a pre-sign policy layer (something like an allow/warn/wait/deny model, evaluated against actor identity, value, destination, and exposure, before the payment settles) would be genuinely useful here. No commitment on our side or yours — just an open problem worth working through in public.
🤖 Drafted with Claude Code
Right now
x402Serve()checks that a request carries a valid, correctly signed payment. It doesn't check anything about whether that specific action should go through in the first place — who's acting, how much value is at risk, whether the destination is one the account owner would actually approve, or any rule beyond "is this signature valid."Those are two different questions. Holding a valid signing key proves you can request an action. It doesn't prove that action should execute under the rules the account owner actually wants.
We don't have an answer for this yet, just the gap. If you're interested, a design doc or a set of adversarial test cases for a pre-sign policy layer (something like an allow/warn/wait/deny model, evaluated against actor identity, value, destination, and exposure, before the payment settles) would be genuinely useful here. No commitment on our side or yours — just an open problem worth working through in public.
🤖 Drafted with Claude Code