Hunt prep
Before you test Recall
What 13 disclosed reports say about Recall: 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 | 6 | 0 | – | – | $0 |
| DoS lesson | 3 | 0 | – | – | $0 |
| Smart contracts lesson | 3 | 0 | – | – | $0 |
| Access control 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.
-
Malicious validators can flood stake/unstake requests to DoS confirmChange preventing other validators from claiming their collateral
A minimum stake or unstake amount should be enforced to make the denial-of-service attack expensive or infeasible.
Disclosed
-
Missing signature duplication check in the submitCheckpoint function
The multi-signature verification logic should be modified to ensure that each validator address appears only once in the signatories array.
Disclosed
-
An attacker can overflow the count of messages in a bottom up message batch leading to bottom up checkpoint execution failure and halting
The batch logic should ensure a single bottom-up message batch can never hold more messages than the configured maximum.
Disclosed
-
Cross msg recipient can block checkpoint submission
The report recommends using a safe-call library such as ExcessivelySafeCall for all low-level calls and restricting the return data size.
Disclosed
-
Reentrancy in function leave() leads to halting of bottom up checkpoints
The fix should restructure leave() to update state and check bootstrapped status before transferring funds, and only transfer if still not bootstrapped.
Disclosed
-
Functions withdrawWithConfirm and depositWithConfirm incorrectly update genesisValidators state
The genesisValidators state should be updated on withdrawal and the validator's weight updated on deposit before bootstrap.
Disclosed
-
Incorrect loop indexing in LibAddressStakingReleases.compact() leads to unprocessed pending releases
The loop condition should compare against the absolute end position, for example startIdx plus length, as the report recommends.
Disclosed
-
Missing value validation in cross message handler allows unbacked fund transfer
The contract should enforce that msg.value equals the sum of genesisCircSupply and collateral.
Disclosed
-
Incorrect supply fund transferral in function leave() can be exploited to drain locked collateral source funds in subnet actor contract
The leave() function should transfer genesis balance from supplySource rather than collateralSource.
Disclosed
-
Permissionless creation of new subnets under gateway will lead to gateway actor fund draining
The register function should check that the caller is permitted to create a subnet under the gateway.
Disclosed
-
Xnet call messages with value > 0 lead to inflated circulating supply of child subnet
The check that excludes Call messages should be removed so that every message's value is subtracted from the circulating supply.
Disclosed
-
Refunds to EOAs on unsuccessful cross-chain messages fail, leaving users’ funds stuck in the gateway
The code should add a separate path that refunds externally owned accounts directly rather than through a contract call.
Disclosed
-
Reliance on incorrect hash in IpcContract.sol leads to permanent fund loss and receipt message execution failure
Add a hash property to the original message that is set by sendContractXnetMessage and remains unchanged, and use that hash in the receipt and in IpcContract instead of the tracing ID.
Disclosed