DOS Vulnerability: An owner could intentionally or unintentionally add so many beneficiaries that certain functions become unusable due to gas limits.
Poor Design Pattern: Using array iteration that could reach out-of-bounds is an inherently risky pattern.
Scalability Issue: The contract doesn't handle a scenario with many beneficiaries efficiently.
For very large beneficiary arrays, transactions will fail with "out of gas" errors
Linear or worse growth in gas consumption as the array size increases
Concrete gas usage numbers that can be compared against block gas limits
redesign and replace the loop
The 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.