βœ…RACE #6

ERC721 application

RACE #6
RACE #6 result

Note: All 8 questions in this RACE are based on the InSecureumLand contract. This is the same contract you will see for all the 8 questions in this RACE. InSecureumLand is adapted from a well-known contract. The questions are below the shown contract.

Question 1 βœ…

The security concern(s) with InSecureumLand is/are

Question 2 βœ…

The security concern(s) with InSecureumLand setOperator() is/are

Question 3 βœ…

The security concern(s) with InSecureumLand mintLands() is/are

Question 4 - This one tricky

Missing threshold check(s) on parameter(s) is/are a concern in

Comment:

The startPublicSale should have some sanity checks for passed parameters like _publicSaleStartPrice and _publicSaleEndingPrice, especially since these cannot be corrected once set. The contributorsClaimLand function doesn't ensure the amount parameter, of how many tokens should be claimed for the contributor, is actually lower or equal to the amount of tokens they should be able to claim according to contributors[msg.sender]. It also doesn't update this amount allowing the contributor to claim the same amount multiple times.

Question 5 βœ…

The security concern(s) with InSecureumLand contributors claim functions is/are

My Comment:

The modifier onlyContributors is wrong:

This is not access control.

Question 6 βœ…

The security concern(s) with InSecureumLand random number usage is/are

Question 7 βœ…

The documentation/readability concern(s) with InSecureumLand is/are

Question 8 βœ…

Potential gas optimization(s) (after appropriate security considerations) in InSecureumLand is/are

Last updated

Was this helpful?