caelum0x c37ecca9d7 fix(apps): batch-1 bug-hunt across adopted apps (security + correctness)
Multi-agent bug-fix pass over the 11 adopted Arc/Circle apps; 21 files in 9 apps,
all build-verified. Highlights:
- arc-escrow: authorization bypass on validate-work/fund-release (any logged-in
  user could trigger withdraw/RELEASE_PAYMENT for any agreement) + USDC float
  rounding (8.2*1e6 -> 8199999.99) in on-chain amount conversion.
- arc-commerce: open redirect in /auth/confirm (unvalidated next param) +
  null-deref 500 on wallet-set.
- arc-fintech / arc-multichain-wallet / arc-nanopayments / arc-p2p-payments:
  input validation (400 vs 500), wallet-set null-deref guards, transfer/withdraw
  error handling.
- arc-prediction-markets, circle-bridge-kit, circle-cctp-crosschain: validation +
  hook/state fixes.

Reported-not-fixed (need product decisions): arc-commerce unauthenticated
openzeppelin webhook, unbounded Iris attestation poll, maxFee=amount-1, ETH
Sepolia USDC address mismatch — see workflow notes.
2026-06-21 23:09:45 +03:00
..