The updateDAOMembership
function allows setting tier amounts below already minted values, breaking core DAO functionality.
In MembershipFactory.sol, the updateDAOMembership
function lacks validation for new tier amounts:
This allows an invalid state where tier.minted > tier.amount
, breaking the core invariant check in joinDAO:
Permanently breaks joinDAO() and upgradeTier() functions for affected tiers
No new members can join tiers where amount < minted
Manual code review
Add validation in updateDAOMembership to maintain tier.amount >= tier.minted invariant.
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.