Hunt prep
Before you test SEDA Protocol
What 34 disclosed reports say about SEDA Protocol: 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 |
|---|---|---|---|---|---|
| DoS lesson | 23 | 0 | – | – | $0 |
| Business logic lesson | 9 | 0 | – | – | $0 |
| Access control 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.
-
Anyone can crash validators with a Tally VM program that panics the call_result_write import
The protocol team fixed this issue by changing the method of writing to call_result_value to use extend_from_slice instead of indexing.
Disclosed
-
A request poster can set gas_price to 1 and pay minimal fees for a lot of gas and drain validators' resources
The protocol team fixed this issue by requiring a minimum gas_price per data request.
Disclosed
-
Data requests queue can be DoS'ed
The protocol team fixed this issue by introducing a data request fee or making data requests permissioned to whitelisted solvers.
Disclosed
-
Anyone can post a request with `gasPrice` of 0 to cause SEDA chain to halt
The protocol team fixed this issue by validating that gasPrice is non-zero before using it as a divisor.
Disclosed
-
Attackers can flood solvers with thousands of requests and prevent fee payouts
The protocol team fixed this issue by adopting a pull model for fee distribution, where parties can withdraw their funds at their discretion.
Disclosed
-
Signatures for the first batch will be rejected by VerifyVoteExtensionHandler
The check for the first batch should be changed to compare against the default sequence start plus one.
Disclosed
-
requestId has no unique parameters leading to different collisions
The protocol team fixed this issue by introducing unique parameters such as a nonce and the sender's address into the requestId derivation.
Disclosed
-
The outlier gets the reduced payout when there is consensus on errors
The check should be changed to use greater-than-or-equal instead of strict greater-than, and the protocol team fixed this issue in a pull request.
Disclosed
-
A jailed validator with no registered key blocks proving scheme activation
The code should check whether a validator is already jailed before attempting to jail it.
Disclosed
-
Malicious proposer can submit a request with large invalid transactions because of no mempool to bloat the block store
The issue was fixed by replacing the no-op mempool with a valid mempool when configuring the proposal handlers.
Disclosed
-
Attackers can flood validators with Commit/Reveal execution messages to delay blocks or DOS the node
The protocol team fixed this issue by checking for duplicate messages before granting free gas or by charging gas upfront with a refund mechanism.
Disclosed
-
Attacker can front-run Withdraw and steal the withdrawal
The withdrawn tokens should be sent to a pre-approved address instead of the message sender.
Disclosed
-
Malicious WASM program can cause denial of service attack against SEDA validators through unbounded stdout/stderr
The protocol team fixed this issue by implementing size limits for stdout and stderr similar to those already in place for execution results.
Disclosed
-
Malicious validators will bypass consensus threshold requirements affecting the integrity of the SEDA protocol's cross-chain data verification system
The protocol team fixed this issue by adding uniqueness tracking to prevent counting the same validator more than once.
Disclosed
-
Anyone can front-run the creation of a vesting account to block it
The protocol should allow converting an existing account into a vesting account instead of requiring the recipient to be new.
Disclosed