The MembershipFactory contract uses unsafe ERC20 token transfer methods instead of OpenZeppelin's SafeERC20 wrapper without checking return value and potentially exposes the protocol to risks from non-standard ERC20 implementations.
Location: MembershipFactory.sol
, joinDAO()
function
The contract uses direct transferFrom()
calls without SafeERC20 wrapper:
No validation of transfer success
No protection against non-standard ERC20 implementations
Contrasts with MembershipERC1155.sol which properly uses SafeERC20
Silent failures possible as there is no validation of transfer success
As a result, platform fees might not be collected
Manual code review
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.