Skip to content

Code4rena

Forgeries contest

Every publicly disclosed report for Forgeries contest and what kind of bugs they were.

disclosed reports
5
most reported class
Smart contracts
bug classes found
2
first disclosure
2023
Find Forgeries contest on bugbounty.fyi Current scope, rewards and status, if it runs a public program.

Disclosed reports

Newest first. Only what Forgeries contest chose to make public.

Business logic

Raffle creator might not start raffle draw

The raffle contract does not require the creator to transfer the prize NFT until the draw is started, so a creator can collect participation fees and then refuse to start the draw, keeping the NFT. A creator can also pass the ownership check using a flash-loaned NFT and never actually own the prize.

Forgeries contest

Medium
Smart contracts

VRFNFTRandomDraw admin can prevent created or started raffle from taking place

The admin/owner of a raffle contract can start a draw in a way that prevents the random number oracle from ever fulfilling it, for example by supplying an invalid key hash or ensuring the VRF subscription lacks funds. This allows the owner to avoid paying out the reward NFT while still appearing to start the raffle.

Forgeries contest

Medium
Smart contracts

Admin does not have to wait to call lastResortTimelockOwnerClaimNFT()

The recoverTimelock is set only during initialization and never updated for each draw, so the admin can call lastResortTimelockOwnerClaimNFT() before the intended waiting period after a winner is chosen. This lets the admin cancel the raffle and claim the NFT earlier than the specification allows.

Forgeries contest

High