# `MultiInvoker` and `Manager` orders execution can be DOS in key moments if AAVE/Compound utilization is at 100%

MultiInvoker/Manager order execution reverts when interface-fee unwrap hits AAVE/Compound at 100% utilization, letting an attacker grief stop-loss/take-profit orders into worse prices.

- Payout: Audit contest
- Severity: medium
- Program: Perennial
- Found by: panprog
- Disclosed: 2024-08-17
- Write-up quality: 7/10
- Original: https://github.com/sherlock-audit/2024-08-perennial-v2-update-3-judging/issues/16
- Library page: https://bugbountylibrary.com/r/sherlock%3A2024-08-perennial-v2-update-3%3AM-1
- Tags: area:web3 domain:web3 impact:dos impact:funds-loss kind:contest platform:sherlock sev:medium tech:evm tech:solidity technique:source-review vuln:business-logic vuln:dos

**Target:** MultiInvoker/Manager order execution and DSU reserve unwrap path
**Root cause:** Interface fee is unwrapped from DSU to USDC via reserve, which withdraws from AAVE/Compound; those revert when pool utilization is 100% (supply ~= debt), reverting the whole order transaction.
**Steps:**
1. Attacker empties batcher if set (deposit large USDC then withdraw) so reserve path is used.
2. Attacker supplies non-USDC collateral to AAVE/Compound and borrows USDC until USDC balance ~0, keeping utilization at 100%.
3. Monitor MultiInvoker/Manager orders with interfaceFee.unwrap=true whose price is near execution range.
4. While utilization is pinned, order execution reverts on `_chargeFee`->`_unwrap`->`redeem`->`_allocate`->AAVE/Compound withdraw.
5. Wait until price moves far from original level, then repay debt and withdraw supply.
6. User order executes at much worse price, gets liquidated, or misses take-profit range.
**How found:** Code-reading of the fee-charging path: noticed interface fee unwrap routes through reserve allocation into AAVE/Compound, whose withdraw reverts at full utilization, making the entire order transaction revert.
**Exploitation:** Griefing: attacker pins AAVE/Compound USDC utilization to 100% by borrowing all available USDC, blocking unwrap-dependent order execution during price moves, then repays. No direct profit; attacker may be a maker avoiding closure of a large position.
**Insight:** When a protocol's fee/settlement path performs an external liquidity withdrawal, check whether that external pool can be driven to 100% utilization by anyone; time-critical order execution (stop-loss/take-profit) becomes griefable even without attacker profit.

