MembershipFactory::updateDAOMembership adds new tiers without validation for the minted value.
When creating a new dao membership there is validation applied to the value for minted in MembershipFactory.sol#L86.
This validation is missing when adding a new tier to an existing dao membership, meaning it can be misconfigured.
PoC:
This test can be added to the "Update DAO Membership" section in test/MembershipFactory.test.ts
Incorrect configuration can be set, disabling some functionality such as the ability to join the misconfigured tier.
manual review + hardhat tests
Add validation for new tiers on MembershipFactory.sol#L117.
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.