Beginner FriendlyFoundry
100 EXP
View results
Submission Details
Severity: high
Valid

Anyone can change the checkList

Summary

Anyone can change the checkList

Vulnerability Details

Anyone can change the checkList setting any address to NAUGHTY blocking their gift.

Impact

An attacker can completely block the protocol by front-running the claims with a call to checkList that change the caller state to NAUGHTY

Recommendations

Add modifier onlySanta to checkList

Updates

Lead Judging Commences

inallhonesty Lead Judge almost 2 years ago
Submission Judgement Published
Validated
Assigned finding tags:

Access Control on checkList()

Anyone is able to call checkList() changing the status of a provided address. This is not intended functionality and is meant to be callable by only Santa.

Support

FAQs

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