# Can block bridge or limit the bridgeable amount by initializing the ITSHub balance of the original chain

Anyone can remotely deploy a canonical token back to its origin chain, initializing ITSHub's untracked origin balance to 0 and permanently DoSing outbound bridging.

- Payout: Audit contest
- Severity: high
- Program: Axelar Network
- Found by: klau5
- Disclosed: 2025-01-27
- Write-up quality: 8/10
- Original: https://github.com/code-423n4/2024-08-axelar-network-findings/issues/8
- Library page: https://bugbountylibrary.com/r/c4%3A2024-08-axelar-network%3AH-02
- Tags: area:web3 domain:web3 impact:dos kind:contest platform:code4rena sev:high tech:evm tech:solidity technique:chained technique:source-review vuln:access-control vuln:business-logic vuln:dos

**Target:** InterchainTokenService / InterchainTokenFactory / ITSHub balance tracking
**Root cause:** ITSHub only starts balance tracking for a token on the destination chain of a remote deploy; the origin chain's balance is normally untracked. deployRemoteInterchainToken/deployRemoteCanonicalInterchainToken never check that destinationChain != originalChain, so a remote deploy to the origin chain calls start_token_balance(origin, tracked=0), and subsequent outbound transfers underflow in update_token_balance.
**Steps:**
1. Identify a canonical token whose tokenId is derived from the origin token address (caller-independent).
2. Call `InterchainTokenFactory.deployRemoteCanonicalInterchainToken(originalChainName, tokenAddress, destinationChain=originalChain, gasValue)` (or deployInterchainToken with destChain == sourceChain).
3. GMP message is relayed; ITSHub processes DeployInterchainToken and calls `start_token_balance(tokenId, originChain, true)` setting balance to 0.
4. Execution on origin chain reverts (token already exists) but the ITSHub balance init persists.
5. Any subsequent InterchainTransfer from origin chain hits `checked_sub` underflow in `update_token_balance` -> Error::MissingConfig, blocking bridging.
**How found:** Code reading of ITSHub's apply_balance_tracking/start_token_balance/update_token_balance revealed origin-chain balances are untracked by design; noticed deployRemote* functions don't validate destinationChain against originalChainName, allowing the untracked origin balance to be initialized to zero.
**Exploitation:** Attacker pays only gas to submit a remote-deploy GMP targeting the origin chain; the failed execution on the origin chain is irrelevant because balance initialization happens in ITSHub during message routing. Canonical tokenIds are caller-independent, so any address can DoS any canonical token's outbound bridge; recovery requires an ITSHub upgrade.
**Escalation:** Applies to all canonical tokens (anyone can target any tokenId), and can cap total bridgeable amount to the sum of balances on other chains (e.g. 150 in the A/B/C example).
**Insight:** When a system deliberately leaves one side of a ledger 'untracked' because it can't be observed, look for any path that can still create a tracked entry for that side (here: a self-referential remote deploy) — initializing it to zero turns later subtractions into permanent underflow DoS.

