Hunt prep
Before you test Initia Cosmos
What 16 disclosed reports say about Initia Cosmos: 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 | 7 | 0 | – | – | $0 |
| DoS lesson | 5 | 0 | – | – | $0 |
| Misconfiguration lesson | 2 | 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.
-
Precompiles fail to charge gas in case of an error leading to a DOS vector
The issue was fixed by returning the exact error only at simulate or checktx, according to the mitigation note.
Disclosed
-
MsgCreate2 deviates from EVM spec causing a large range of address not reachable
The salt input should be changed to a string or 32-byte value to match the EVM specification; the report notes a fix was made and later a salt range check was added, but the mitigation review status is unmitigated.
Disclosed
-
Minievm fails to charge intrinsic gas costs for EVM transactions, allowing the abuse of the accesslist to consume computational resources without proper compensation
The project fixed the intrinsic gas charge in a pull request, and the mitigation was confirmed.
Disclosed
-
Amino legacy signing method broken because of name mismatch
The amino names were made to match, and the project confirmed the issue was fixed in the referenced commits.
Disclosed
-
Pool fraction is not truncated when allocating the tokens allowing to receive more rewards than owed
The code was fixed by using QuoTruncate() instead of Quo() for the pool fraction calculation.
Disclosed
-
Wrong handling of ERC20 denoms in ERC20Keeper::BurnCoins
The code was fixed to pass only the current coin to FundCommunityPool instead of the entire amount.
Disclosed
-
JSON-RPC FilterCriteria.Addresses are unbound and can be used to DoS the RPC
The issue was fixed by adding a maximum limit on the number of addresses.
Disclosed
-
IBC channel version negotiation bypass in IBC hooks middleware
The middleware was fixed to return finalVersion instead of version.
Disclosed
-
setBeforeSendHook can never delete an existing store due to vulnerable validate
The validation was fixed by removing the cosmwasm address check, as confirmed in the mitigation.
Disclosed
-
EVM stack overflow error leads to no gas being charged, which can be exploited to DoS the chain by dispatching EVM calls via the cosmos precompile
The issue was fixed by changing the code to return the exact error only during simulation or check transaction, and mitigation was confirmed.
Disclosed
-
ExecuteRequest ’s are not properly removed from the context queue
The issue was fixed by maintaining the execute request queue on snapshot, as confirmed by the project.
Disclosed
-
A regular Cosmos SDK message can be disguised as an EVM transaction, causing ListenFinalizeBlock to error which prevents the block from being indexed
A default case should be added to the switch in the conversion function so that unrecognised message types are not treated as EVM transactions.
Disclosed
-
Contract deployment restriction can be bypassed
The Create and Create2 opcodes should be intercepted and the caller checked for permission to deploy a contract, as Evmos does.
Disclosed
-
COINBASE opcode returns an empty address instead of the block proposer resulting in incompatibility with the EVM
The report recommends setting Coinbase to the validator address from the staking keeper, similar to Evmos, but the project disputed this and stated the zero address is intended.
Disclosed
-
Explicit gas limit on low-level Solidity calls can be bypassed by dispatched EVM calls via the custom Cosmos precompile
The fix should pass the remaining gas as a parameter in ExecuteRequest and use it to create a custom gas meter in dispatchMessage, limiting dispatched messages to the intended gas limit.
Disclosed