The protocol inconsistently handles token transfers across different contracts. While MembershipERC1155.sol correctly implements safeTransfer from OpenZeppelin's SafeERC20, the MembershipFactory.sol uses unsafe transferFrom directly. This inconsistency creates potential vulnerabilities when interacting with non-standard ERC20 tokens that don't return a boolean value from their transfer functions.
Unsafe implementation in MembershipFactory.sol:
1. Integration Failure:
Transactions may revert when non-standard ERC tokens
Users unable to join DAOs using certain tokens
Potential loss of protocol adoption
2. Protocol Inconsistency:
Part of system works with non-standard tokens
Another part fails with same tokens
Creates confusing user experience
Manual review
Use SafeERC20 library across all contracts that handle token transfers
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.