Code4rena
Golom contest
Every publicly disclosed report for Golom contest and what kind of bugs they were.
- disclosed reports
- 29
- most reported class
- Business logic
- bug classes found
- 5
- first disclosure
- 2023
Disclosed reports
Newest first. Only what Golom contest chose to make public.
-
veNFT withdraw and merge fail for approved callers
Access control Medium Audit finding
-
Pre-check is not correct
Business logic Medium Audit finding
-
Use call() rather than transfer() on address payable
Smart contracts Medium Audit finding
-
Some setters’ timelock can be bypassed
Access control Medium Audit finding
-
When MIN_VOTING_POWER_REQUIRED is changed, previous votes are not affected
Business logic Medium Audit finding
-
NFT transferring won’t work because of the external call to removeDelegation .
Business logic High Audit finding
-
addFee will stop accumulating fee once rewardToken has reached max supply
Business logic High Audit finding
-
GolomTrader’s _settleBalances double counts protocol fee, reducing taker’s payout for a NFT sold
Business logic High Audit finding
-
Repeated calls to multiStakerClaim in the same block leads to loss of funds
Business logic High Audit finding
-
Cannot remove delegation from a token to another token
Business logic High Audit finding
-
Voter in VoteEscrowCore can permanently lock user tokens
Access control Medium Audit finding
-
Replay attack in case of hard fork
Crypto Medium Audit finding
-
Orders with tokenAmt of type(uint256).max cannot be cancelled by GolomTrader.sol#cancelOrder
DoS Medium Audit finding
-
Delegated NFTs that are withdrawn while still delegated will remain delegated even after burn
Business logic Medium Audit finding
-
VoteEscrowDelegation._transferFrom can only be executed by the token owner
Access control Medium Audit finding
-
GolomTrader : validateOrder function does not check if ecrecover return value is 0
Crypto Medium Audit finding
-
GolomToken.sol doesn’t contain a function to mint treasury tokens
Business logic Medium Audit finding
-
Users can avoid paying fees while trading trustlessly & using Golom’s network effects
Business logic High Audit finding
-
Upon changing of delegate, VoteDelegation updates both the previous and the current checkpoint
Smart contracts High Audit finding
-
_writeCheckpoint does not write to storage on same block
Business logic High Audit finding
-
Use safeTransferFrom Instead of transferFrom for ERC721
Smart contracts Medium Audit finding
-
Owner can not set the ve address via RewardDistributor.addVoteEscrow
Access control High Audit finding
-
fillAsk() Allows for msg.value to be larger than require locking the excess in the contract
Business logic Medium Audit finding
-
NFTs that don’t have a checkpoint can’t be transferred
DoS Medium Audit finding
-
Old delegatee not deleted when delegating to new tokenId
Business logic High Audit finding
-
Griefer can minimize delegatee’s voting power
Business logic Medium Audit finding
-
VoteEscrowDelegation._writeCheckpoint fails when nCheckpoints is 0
DoS High Audit finding
-
VoteEscrowCore.safeTransferFrom does not check correct magic bytes returned from receiver contract’s onERC721Received function
Business logic Medium Audit finding
-
Rewards owed burned NFT in RewardDistributor.sol become irretrievable
Business logic Medium Audit finding