Hunt prep
Before you test Gro Protocol
What 10 disclosed reports say about Gro 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 |
|---|---|---|---|---|---|
| Business logic lesson | 6 | 0 | – | – | $0 |
| Smart contracts 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.
-
sortVaultsByDelta doesn’t work as expected
The trackers should be initialised to the extreme int256 values and the code should require that maxIndex and minIndex differ; the project confirmed a fix was implemented in a release version.
Disclosed
-
Buoy3Pool.safetyCheck is not precise and has some assumptions
The b/c check was added in the release version.
Disclosed
-
Use of deprecated Chainlink function latestAnswer
The project removed the affected shares from the release version, and the recommendation is to use latestRoundData with checks for stale or incomplete rounds.
Disclosed
-
BaseVaultAdaptor assumes sharePrice is always in underlying decimals
The report recommends making calculateShare an abstract function implemented in each specific adaptor, and the project confirmed shares were removed from the release version.
Disclosed
-
Usage of deprecated ChainLink API in Buoy3Pool
The fix was implemented in a release version, adding checks for timestamp and round completeness.
Disclosed
-
Safe addresses can only be added but not removed
The function should be changed to allow both enabling and disabling of safe addresses, and the project confirmed a fix was implemented.
Disclosed
-
Early user can break minting
On first mint, lock some of the first minter's tokens by minting about 1% of the initial amount to the zero address, similar to Uniswap's approach.
Disclosed
-
Incorrect use of operator leads to arbitrary minting of GVT tokens
The fix was to change the logical OR to AND in the require() condition, or to implement explicit access control for authorized vault adaptors.
Disclosed
-
implicit underflows
The issue was mitigated in the release version, and the recommendation is to replace int256(a-b) with int256(a)-int256(b) and int256(-x) with -int256(x).
Disclosed
-
Flash loan risk mitigation is optional and not robust enough
The report recommends adding logic to prevent multiple transactions from the same address within the same block when smart contracts are allowed.
Disclosed