onlyBeneficiaryWithIsInherited
modifier fails to restrict access to beneficiaries when isInherited
is true, allowing any address to call protected functions like buyOutEstateNFT
and appointTrustee
while
loop with a flawed termination condition i < beneficiaries.length + 1
. If a non-beneficiary calls a function with this modifier, the loop will run past the end of the array, causing an out-of-bounds error rather than a proper authentication checkMedium
. Relying on out-of-bounds errors for authentication is poor design and could be vulnerable to changes in Solidity's behavior. This creates an unconventional authentication pattern that may be misunderstood during code maintenanceThe contest is live. Earn rewards by submitting a finding.
This is your time to appeal against judgements on your submissions.
Appeals are being carefully reviewed by our judges.