Puppy Raffle

AI First Flight #1
Beginner FriendlyFoundrySolidityNFT
EXP
View results
Submission Details
Impact: low
Likelihood: medium
Invalid

L-3 changeFeeAddress has no zero-address check

Root + Impact

Description

[LOW] L-3 changeFeeAddress has no zero-address check

changeFeeAddress has no zero-address check. An owner fat-finger (or a compromised setter call) burns all future fees to address(0) — unrecoverable.

Risk

  • Likelihood: Medium — admin mistake; single mis-typed address.

  • Impact: Low — protocol fees lost forever; round economics damaged.

Proof of Concept

n/a — direct consequence of the missing input validation.

Recommended Mitigation

Require a non-zero address.

+ require(newFeeAddress != address(0), "zero address");
feeAddress = newFeeAddress;
Updates

Lead Judging Commences

ai-first-flight-judge Lead Judge about 3 hours ago
Submission Judgement Published
Invalidated
Reason: Incorrect statement

Support

FAQs

Can't find an answer? Chat with us on Discord, Twitter or Linkedin.

Give us feedback!