v0.28.4
What's Changed
- Reject negative and malformed x402 payment amounts. A negative
maxAmountRequiredpreviously slipped under the signed-BigIntmaxAmountcap check and, when signed, wrapped into a huge positiveuint256EIP-3009 authorization, bypassing the caller's spending limit. Amounts are now validated as canonical non-negative integers invalidatePaymentRequirements(unconditionally, even without a cap) and again in the EIP-3009 signer as defense-in-depth for directsignX402Paymentcallers. (#530) - Updated dependency
@opensea/wallet-adaptersto 0.3.3 (EIP-712 encoding hardening).
Full Changelog: ProjectOpenSea/opensea-devtools@tool-sdk-v0.28.3...tool-sdk-v0.28.4