Hunt prep
Before you test Lombard
What 19 disclosed reports say about Lombard: 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 | 15 | 0 | – | – | $0 |
| DoS lesson | 2 | 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.
-
Insufficient validation on offchainTokenData in TokenPool.releaseOrMint allows CCIP message to be executed with mismatched payload potentially leading to loss of funds in cross-ch
Add a check that descPoolData (part of CCIP's message) corresponds with the input offchainTokenData.payload.
Disclosed
-
Issue Between Comment and Code in Consortium
The comment should be updated to match the code, or the code changed to revert if that was intended.
Disclosed
-
Old validated messages can not pass proof check when new validators are set
Include the epoch number in the proof and verify signatures against the validator set for that epoch.
Disclosed
-
Interchanging offchainTokenData between two valid messages
The token pool should require that the hash of the decoded payload matches the message's sourcePoolData before processing the withdrawal.
Disclosed
-
Suboptimal gas usage and ambiguous behavior during fee estimation
The report recommends returning zero when the adapter is not set and passing an empty payload to the fee estimation function.
Disclosed
-
BitcoinUtils.getDustLimitForOutput calculate wrongly the dust limit for a given Bitcoin script public key
The dust limit calculation should be corrected to match Bitcoin's formula, for example by including the scriptPubKey length prefix, so that the limit for P2WPKH is 294 satoshis at the default fee rate.
Disclosed
-
User funds will get stuck if removeDestination executes before notarization and withdraw.
The bridge should handle in-flight deposits from a removed destination, for example by allowing notarisation of deposits that were initiated before removal or by preventing removal while deposits are pending.
Disclosed
-
Unnecessary Storage Pointer Declaration batchMintWithFee
The unused storage pointer should be removed from the function.
Disclosed
-
RateLimits library incorrectly reset the consumed amount when the limit is updated
The code should be fixed by setting currentAmountInFlight to _amountInFlight instead of 0 when _amountInFlight is less than or equal to decay.
Disclosed
-
Partner vaults don't account for FireBridge fees, forcing LBTC burn to never work
The withdrawal key should use the amount returned by LockedFBTC rather than the originally requested amount.
Disclosed
-
ProxyFactory is vulnerable to DoS/Address Hijacking
The factory should be fixed by adding an access control modifier to createTransparentProxy.
Disclosed
-
Unused Function in CLAdapter Contract
The unused function should be removed from the adapter to cut bytecode size and eliminate the risk of it being called by mistake.
Disclosed