The quorumVotes for an art piece are calculated at creation using the total supply of voting tokens at that moment, but because the vote checkpoint uses block numbers, the supply can increase within the same block. An attacker can back-run the createPiece transaction and buy tokens in the same block, causing the quorum to be understated and allowing a piece to be dropped without meeting the intended quorum.
The CultureIndex contract does not limit the length of art piece metadata fields, so an attacker can create a piece with a very long string in an unused field. If that piece wins voting, fetching its data during auction settlement or creation consumes excessive gas, potentially blocking the AuctionHouse.
If the entropy rate is set too high, the remaining ETH after paying creators can fall below the minimum purchase amount, causing the auction settlement to revert and permanently block the protocol.
When an art piece is created, its total vote supply and quorum are calculated using the total supply of ERC721 voting tokens, which includes the NFT currently on auction that cannot be used to vote. This makes the quorum higher than intended and harder to reach, especially early in the protocol.
The auction contract's internal auction-creation routine wraps the NFT mint in a try/catch that pauses the whole contract on any failure, including running out of gas. Because minting copies creator lists and metadata into storage, an attacker can craft an art piece whose minting costs more gas than the fixed threshold, so a normal settle call runs out of gas and pauses the AuctionHouse.
The CultureIndex.createPiece() function does not sanitise the metadata.image and metadata.animationUrl fields, allowing an attacker to inject JSON characters. This causes VerbsToken.tokenURI() to return a JSON object where the image field is replaced with an attacker-controlled value, so the NFT's displayed art differs from the art users voted on.
A delegatee can repeatedly delegate to the zero address, which subtracts votes from their own checkpoint each time. This can make the checkpoint too low, so when a delegator tries to redelegate or transfer their NFT, the vote subtraction underflows and reverts, permanently blocking them.
The buyToken function calculates tokens for creators and buyers separately using the same current token supply, which breaks the VRGDA pricing logic and mints more governance tokens than it should for the same ETH.
The auction contract checked its own ether balance against the reserve price instead of the winning bid amount, so a bidder could force a settlement by donating ether via selfdestruct and win the token while paying less than the new reserve price. This allowed the attacker to acquire the token unfairly and reduced payments to creators and the auction house owner.
The VerbsToken contract's tokenURI function does not revert for non-existent token IDs, violating the ERC-721 standard. An attacker could call tokenURI with an invalid token ID and receive a response instead of a revert, breaking the expected behaviour.
A malicious user can create a bogus art piece with an inflated quorum requirement and make it the top-voted piece without enough votes to meet that quorum, preventing the dropTopVotedPiece function from ever dropping it. This can block the auction of other eligible pieces and disrupt the protocol.
The buyToken function lacks a slippage check, so a user's purchase can be front-run by another buy or a settleAuction, causing them to receive fewer tokens than expected. An attacker can exploit this by buying tokens first to raise the price.
The VRGDAC contract's yToX function reverts when timeSinceStart exceeds a certain value due to precision loss, causing the ERC20TokenEmitter's buyToken function to always revert after a period of time. An attacker could not directly exploit this, but the protocol would become unusable for buying tokens after approximately 400 days under certain conditions.
The MaxHeap contract fails to update the positionMapping for the last element when it is moved to the root during extractMax and has the same value as its parent, leaving its index stale. This can cause incorrect indexing, wrong value updates, broken heap property, and extraction of the wrong element.
The MaxHeap contract's extractMax function does not clear the heap slot after removing an item, leaving a stale value that maxHeapify can later read as an out-of-bounds entry. This can cause an already extracted tokenId to be extracted again, returning incorrect values.
A user who creates an art piece can specify up to 100 malicious creator contracts whose receive functions consume gas, causing the auction settlement function to use over 20 million gas. This could lead to a denial of service if the block gas limit is reduced or gas costs increase, as settlement would exceed the block gas limit.
The buyToken function sends only the buyer's share of ETH to the DAO treasury, while the portion reserved for creators to buy governance tokens remains stuck in the contract. This causes a value leak from the treasury on every purchase.
The contract's signature verification for EIP-712 signed votes encoded an array incorrectly, so the recovered signer would not match the expected address. This would prevent legitimate users from casting votes via the signature-based functions.
RP
Revolution Protocol
Medium
Instant results are busy. Press Enter to search every report.
No direct matches. Search every report above, or try a bug class like IDOR or SSRF.