Description: The current multisig design allows users to submit transactions and approve them in the same block. While this doesn't bypass the security requirement of dual signatures, it undermines the social dynamics of a dating platform by enabling pushy financial behavior before any meaningful interaction.
Impact: Medium
Does not compromise security as both signatures are still required
Creates negative social patterns in early dating stages
Undermines platform's goal of fostering genuine connections
May attract users more interested in quick access to pooled funds than dating
Sets poor precedent for financial communication in potential relationships
Proof of Code:
Proof of Concept:
Alice and Bob match on DatingDapp, each having put in 1 ETH
Their shared multisig is created with 1.8 ETH (after platform fee)
Within minutes of matching, before any conversation:
Alice submits a transaction to spend 1 ETH at a restaurant
In the same block, Alice approves her own transaction
Bob receives notification that a transaction is pending his approval
Bob feels pressured to approve or risk appearing disinterested
This financial pressure occurs before any meaningful connection is established
Recommended Mitigation:
Add a transaction cool-down period for new matches:
Alternative design considerations:
Implement a time-lock between transaction submission and first approval
Require off-chain chat interaction before enabling transaction submission
Start with smaller unlocked amounts that increase with interaction time
Add platform-verified date venues to prevent misuse of funds
These changes would better align with the platform's stated goal of "meaningful, on-chain commitment" while maintaining security.
Please read the CodeHawks documentation to know which submissions are valid. If you disagree, provide a coded PoC and explain the real likelyhood and the detailed impact on the mainnet without any supposition (if, it could, etc) to prove your point.
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.