Hunt prep
Before you test Covalent
What 8 disclosed reports say about Covalent: 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 | 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.
-
BlockSpecimenProofChain::submitBlockSpecimenProof Block specimen producer can greatly reduce session duration by submitting fake block specimen in the future
The protocol team partially fixed this issue by adding upper bounds on proof submission to mitigate future block deadlines.
Disclosed
-
New staking between reward epochs will dilute rewards for existing stakers. Anyone can then front-run `OperationalStaking.rewardValidators()` to steal rewards
The protocol team fixed this by adding a cooldown for recoverUnstaking, as shown in the linked commit.
Disclosed
-
`validatorMaxStake` can be bypassed by using `setValidatorAddress()`
The issue was fixed by preventing the new validator address's stake from exceeding the maximum stake.
Disclosed
-
OperationalStaking may not possess enough CQT for the last withdrawal
The conversion functions should round in favour of the protocol (round up for shares burned, round down for tokens returned) to prevent dust accumulation.
Disclosed
-
Frontrunning validator freeze to withdraw tokens
The protocol team fixed this issue by adding a check that the validator is not frozen in recoverUnstaking and transferUnstakedOut.
Disclosed
-
Validator cannot set new address if more than 300 unstakes in it's array
The issue was partially fixed by ignoring zero-amount unstakes and requiring the unstaking length to be below 300, and the recommendation was to allow address changes without transferring unstakings or to disallow setting another validator's address.
Disclosed
-
No cooldown in `recoverUnstaking()`, opens up several possible attacks by abusing this functionality
The issue was fixed by implementing a cooldown period for recoverUnstaking().
Disclosed
-
OperationalStaking::_unstake Delegators can bypass 28 days unstaking cooldown when enough rewards have accumulated
The protocol team fixed this issue in PR/commit https://github.com/covalenthq/cqt-staking/pull/125/commits/[redacted].
Disclosed