Forgotten Runes Warrior Guild contest - csanuragjain's results

16,000 Warrior NFTs sold in a phased Dutch Auction.

General Information

Platform: Code4rena

Start Date: 03/05/2022

Pot Size: $30,000 USDC

Total HM: 6

Participants: 93

Period: 3 days

Judge: gzeon

Id: 118

League: ETH

Forgotten Runes

Findings Distribution

Researcher Performance

Rank: 76/93

Findings: 1

Award: $30.28

🌟 Selected for report: 0

🚀 Solo Findings: 0

https://github.com/code-423n4/2022-05-runes/blob/main/contracts/ForgottenRunesWarriorsMinter.sol#L534

setWarriorsAddress: This should be set only once while initialization and owner should not be allowed to reset it later. If this is not done then on changing warriors address all mints linked to previous warriors address would be lost

https://github.com/code-423n4/2022-05-runes/blob/main/contracts/ForgottenRunesWarriorsMinter.sol#L628

forwardERC20s: require(address(msg.sender) != address(0)); not required as msg.sender cannot be 0 address

https://github.com/code-423n4/2022-05-runes/blob/main/contracts/ForgottenRunesWarriorsMinter.sol

Events are missing which can be dangerous. All important function should have emitted events say withdrawAll function

https://github.com/code-423n4/2022-05-runes/blob/main/contracts/ForgottenRunesWarriorsMinter.sol#L480

setDaStartTime/setMintlistStartTime/setPublicStartTime/setClaimsStartTime: All these should be internal function and call should only be allowed via setPhaseTimes function

https://github.com/code-423n4/2022-05-runes/blob/main/contracts/ForgottenRunesWarriorsMinter.sol#L579

setFinalPrice: _newPrice cannot be 0 as users will get free warriors using publicSummon function

AuditHub

A portfolio for auditors, a security profile for protocols, a hub for web3 security.

Built bymalatrax © 2024

Auditors

Browse

Contests

Browse

Get in touch

ContactTwitter