Hunt prep
Before you test Revolution Protocol
What 18 disclosed reports say about Revolution 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 | 7 | 0 | – | – | $0 |
| DoS lesson | 6 | 0 | – | – | $0 |
| Smart contracts lesson | 3 | 0 | – | – | $0 |
| Crypto lesson | 1 | 0 | – | – | $0 |
| XSS 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.
-
The quorumVotes can be bypassed
The quorum should not be stored at creation; instead, it should be calculated at drop time using getPastTotalSupply for the creation block, ensuring it reflects the voting power at the end of that block.
Disclosed
-
Since art pieces’ size is not limited, attacker may block AuctionHouse from creating and settling auctions
Limit the length of all fields in ArtPieceMetadata.
Disclosed
-
Once EntropyRateBps is set too high, can lead to denial-of-service (DoS) due to an invalid ETH amount
The contract should check that the remaining ETH after creator payments is greater than the minimum purchase amount before calling buyToken.
Disclosed
-
ArtPiece.totalVotesSupply and ArtPiece.quorumVotes are incorrectly calculated due to inclusion of the inaccessible voting powers of the NFT that is being auctioned at the moment when an art piece is created
The calculation should subtract the voting power of the NFT currently held by the auction house when computing the total vote supply and quorum.
Disclosed
-
VerbsToken.tokenURI() is vulnerable to JSON injection attacks
Sanitise input data according to OWASP JSON sanitiser recommendations before storing or using it in token URI construction.
Disclosed
-
Malicious delegatees can block delegators from redelegating and from sending their NFTs
The fix is to disallow delegation to the zero address.
Disclosed
-
ERC20TokenEmitter::buyToken function mints more tokens to users than it should do
The function should calculate the total ETH payment for both creators and buyers, get the total governance tokens for that amount, and then distribute proportionally; alternatively, update emittedTokenWad between the two calculations.
Disclosed
-
Bidder can use donations to get VerbsToken from auction that already ended
The check should compare the winning bid amount (`_auction.amount`) to the reserve price instead of the contract's balance.
Disclosed
-
Violation of ERC-721 Standard in VerbsToken:tokenURI Implementation
The tokenURI function should be updated to require that the token ID exists, as in the original NounsToken contract.
Disclosed
-
CultureIndex.sol#dropTopVotedPiece() - Malicious user can manipulate topVotedPiece to DoS the whole CultureIndex and AuctionHouse
Add an admin function that can forcefully drop a piece from the max heap, or allow the DAO to vote to remove malicious pieces.
Disclosed
-
Since buyToken function has no slippage checking, users can get less tokens than expected when they buy tokens directly
Add a slippage check to buyToken that is applied only when users call it directly, not when settleAuction calls it.
Disclosed
-
ERC20TokenEmitter will not work after a certain period of time
The VRGDA yToX function was fixed to handle precision loss, as shown in the provided commit.
Disclosed
-
positionMapping for last element in heap is not updated when extracting max element
The extractMax function should update the positionMapping for the element moved to the root, for example by setting it to 0 after the move, as shown in the sponsor's revised code.
Disclosed
-
MaxHeap.sol: Already extracted tokenId may be extracted again
The extractMax function should set the vacated heap slot to zero after decreasing size, as shown in the recommended mitigation.
Disclosed
-
It may be possible to DoS AuctionHouse by specifying malicious creators
Limit the number of creators that can be specified, or move reward distribution to a separate claim function so settlement does not loop over creators.
Disclosed