Hunt prep
Before you test Iron Bank
What 6 disclosed reports say about Iron Bank: what was found and paid, what was fixed, and where it may be worth looking next.
- with a public bounty
- 0
- median public bounty
- –
- highest public bounty
- –
Gaps worth testing
Not written yet for this program. The numbers below are up to date.
What was found and what it paid
Public bounties only; many reports disclose without the amount.
| Class | Reports | Paid | Median | Highest | In all |
|---|---|---|---|---|---|
| Business logic lesson | 1 | 0 | – | – | $0 |
| Crypto lesson | 1 | 0 | – | – | $0 |
| Smart contracts lesson | 1 | 0 | – | – | $0 |
What was fixed
All reportsThe newest fixes, in our words. A fixed bug is not worth re-reporting, but a sibling feature, an older API version or a regression may be.
-
PriceOracle will use the wrong price if the Chainlink registry returns price outside min/max range
The report recommends adding a check that the price is within a per-asset minimum and maximum and reverting if not, but the protocol team said they will not make changes.
Disclosed
-
Price Oracle contract does not work in Arbitrum and Optimism
Reimplement the PriceOracle contract to read prices from AggregatorV3Interface instead of FeedRegistry.
Disclosed
-
PriceOracle.getPrice doesn't check for stale price
The recommendation is to check that the price is not outdated by checking the round timestamp.
Disclosed
-
Wrong Price will be Returned When Asset is PToken for WstETH
The oracle was fixed to always use the underlying token when determining the price of a PToken.
Disclosed
-
getPriceFromChainlink() doesn't check If Arbitrum sequencer is down in Chainlink feeds
The protocol should add a check for the Chainlink L2 sequencer uptime feed before accepting prices, as shown in Chainlink's example code.
Disclosed
-
supplyNativeToken will strand ETH in contract if called after ACTION_DEFER_LIQUIDITY_CHECK
The fix was to cache msg.value at the beginning of the execute function and use that cached value in supplyNativeToken, resetting it after use.
Disclosed