Hunt prep
Before you test Arcade.xyz
What 12 disclosed reports say about Arcade.xyz: 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 |
| Smart contracts lesson | 3 | 0 | – | – | $0 |
| DoS 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.
-
_syncVotingPower can revert in underflow in NFTBoostVault.sol and ARCDVestingVault.sol
Before subtracting, check that delegateeVotes is greater than the decrease; otherwise set the new voting power to zero.
Disclosed
-
ArcadeTreasury.sol allowance may be overriden
The approval should add the new amount to the existing allowance instead of overwriting it.
Disclosed
-
M-12 Unsafe ERC20 operations
The code should use OpenZeppelin's SafeERC20 safeTransfer and safeTransferFrom functions instead of direct transferFrom calls.
Disclosed
-
Approved gscApprove allowance to an address may not able to be decreased
The function should compare the new allowance with the current allowance and adjust gscAllowance by the difference, rather than subtracting the full new amount.
Disclosed
-
DAY_IN_BLOCKS is incorrect
The constant should be updated to 7200 to reflect 12-second blocks.
Disclosed
-
If someone becomes a GSC member, they may become un-kickable forever
The query function should read history without clearing it, and the team said a length check on the voting history would be added.
Disclosed
-
Proposal vote power can be easily manipulated
The sponsor suggested making adding approved vaults to the ArcadeGSC contract revert, or setting an unattainably high custom quorum for changing vault status; the report recommends using a TWAP to check voting power.
Disclosed