Hunt prep
Before you test Kakarot
What 17 disclosed reports say about Kakarot: 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 |
|---|---|---|---|---|---|
| Crypto lesson | 7 | 0 | – | – | $0 |
| Business logic lesson | 4 | 0 | – | – | $0 |
| DoS lesson | 4 | 0 | – | – | $0 |
| Access control 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.
-
RIPEMD160 precompile crashes with a Cairo exception for some input lengths
The dictionary finalisation was fixed by setting the start pointer correctly and finalising the previously initialised dictionary.
Disclosed
-
decode_legacy_tx allows validation of signatures with chain_id that are larger than felt, and overflows
The decoder was fixed to assert that the legacy chain_id does not overflow.
Disclosed
-
Non-finalized dictionary in RIPEMD160 allows forging of output
The dictionary should be finalized before being replaced with a new one; this was fixed in a pull request.
Disclosed
-
Unauthorized contracts can bypass precompile authorization via delegatecall in Kakarot zkEVM
The issue was fixed by removing dependence on the code address for whitelisting, disabling nested delegatecalls to the precompile at the protocol level, and adding a noDelegateCall modifier to certain contracts.
Disclosed
-
ExponentiationImpl::pow() returns 0 for 0^0
The issue was fixed by adding a check for the 0^0 case before the zero-base check, returning one in that case.
Disclosed
-
Reentrancy check in account_contract can be easily circumvented
The reentrancy check was moved to the Kakarot contract level in the eth_call function.
Disclosed
-
No way to cancel l1 -< l2 messages
The messaging feature was removed entirely in a later pull request, which mitigates the issue.
Disclosed
-
Missing constraint in default_dict_copy
The issue was mitigated by making default_dict_copy finalize with a default value of 0.
Disclosed
-
handle_l1_message may unfairly revert l2 tx with sufficient l1 sender balance, due to vulnerable fee charge implementation
The gas price for handle_l1_message should be set to 0, as confirmed by the project, and a mitigation was attempted but later superseded.
Disclosed