# Attacker can cancel claimed staking incentives on Arbitrum

Attacker sets themselves as refundAccount on Arbitrum retryable tickets, then cancels claimed staking incentives on L2, forcing governance recovery.

- Payout: Audit contest
- Severity: medium
- Program: Olas
- Found by: EV\_om
- Disclosed: 2024-08-06
- Write-up quality: 7/10
- Original: https://github.com/code-423n4/2024-05-olas-findings/issues/29
- Library page: https://bugbountylibrary.com/r/c4%3A2024-05-olas%3AM-13
- Tags: area:web3 domain:web3 impact:dos kind:contest platform:code4rena sev:medium tech:evm technique:chained technique:source-review vuln:access-control vuln:business-logic vuln:dos

**Target:** ArbitrumDepositProcessorL1 / Dispenser bridge to ArbitrumTargetDispenserL2
**Root cause:** refundAccount is passed as callValueRefundAddress when creating the retryable ticket, granting that address permission to cancel the ticket on L2.
**Steps:**
1. Call `claimStakingIncentives()` on Dispenser for an Arbitrum nominee, passing an attacker-controlled EOA as `refundAccount` in `bridgePayload` and an insufficient gas limit.
2. Retryable ticket is created via `Inbox.createRetryableTicket()` but fails to auto-redeem due to out of gas.
3. Once redeemable on L2, attacker calls `ArbRetryableTx.cancel()` precompile.
4. Message is cancelled; claimed staking incentives become irredeemable on L2.
**How found:** Reading Arbitrum docs/code on retryable ticket refund addresses revealed callValueRefundAddress carries cancel permission; noticed the contract reuses refundAccount for both refund params.
**Exploitation:** Attacker self-funds the claim, sets refundAccount to their own EOA, deliberately underfunds gas so the ticket fails, then cancels it on L2, making incentives unredeemable and requiring a governance proposal via processDataMaintenance() to recover.
**Escalation:** Repeatable against any number of nominees/targets, each requiring separate governance intervention.
**Insight:** When bridging via Arbitrum retryable tickets, never let a user-supplied refund address become callValueRefundAddress—it grants cancel rights over the L2 message.

