# Attacker can exploits batch sender role to block result Submissions via fee transfer reversion

Any address can become batch sender in SedaCoreV1; a contract rejecting native ETH makes postResult fee transfer revert, blocking all results for that batch.

- Payout: Audit contest
- Severity: high
- Program: Seda Protocol
- Found by: Schnilch
- Disclosed: 2024-12-20
- Write-up quality: 7/10
- Original: https://github.com/sherlock-audit/2024-12-seda-protocol-judging/issues/208
- Library page: https://bugbountylibrary.com/r/sherlock%3A2024-12-seda-protocol%3AH-6
- Tags: area:web3 domain:web3 impact:dos kind:contest platform:sherlock sev:high tech:solidity technique:race-window technique:source-review vuln:business-logic vuln:dos

**Target:** Secp256k1ProverV1.postBatch / SedaCoreV1.postResult fee transfer
**Root cause:** postBatch is permissionless and records msg.sender as batch sender; postResult then pushes batchFee to that sender via a low-level call that reverts on failure, so a sender contract rejecting ETH bricks result posting.
**Steps:**
1. Deploy attacker contract whose receive() reverts on native token receipt.
2. Observe solver's postBatch tx in public mempool with valid signatures/validator proofs.
3. Front-run with higher gas, calling `postBatch(newBatch, signatures, validatorProofs)` from attacker contract so `s.batches[height].sender = attackerContract`.
4. When anyone calls `postResult` for that batch, `_transferFee(batchSender, batchFee)` low-level call fails and reverts `FeeTransferFailed`, blocking all results.
**How found:** Code review of postBatch permissionless sender assignment combined with postResult's push-payment to batchSender via low-level call that reverts on failure.
**Exploitation:** Attacker front-runs a legitimate solver's postBatch with a higher-gas tx from a contract that rejects ETH, becoming batch sender at near-zero cost; every subsequent postResult for that batch reverts on fee transfer, denying result submission.
**Escalation:** Repeat for all batches to block all postResult requests protocol-wide at negligible gas cost on L2s.
**Insight:** When a permissionless function records msg.sender as a future payment recipient, check whether downstream push-payments to that address can revert and grief the flow; a rejecting-receive contract is a cheap DoS vector.

