The referral system allows different engines (features/apps) to create the same custom referral code. When this happens, the last engine to create the code overwrites previous ones, causing referrals to credit the wrong person.
Global Code Storage: Custom codes like "SUMMER24" are stored in one shared list (not separated by engine)
No Ownership Checks: Any engine can create/modify any code, even if another engine made it first
Last Write Wins: The most recent engine using a code becomes its "owner", erasing previous links
Simple Analogy
Imagine two stores (Engine 1 and 2) both offering "FREEPIZZA" coupons. The last store to issue the coupon becomes the only one that accepts it, confusing customers who got it from the first store.
POC (PROOF OF CONCEPT)
Severity | Type | Consequences |
---|---|---|
High | Financial | đ¸ Wrong people get referral rewards đ¸ Lost commissions for legitimate referrers đ¸ Users lose trust in referral system |
Foundry (Blockchain testing framework)
Solidity (Smart contract language)
1. Add Engine Context to Storage
2.Track Code Origins
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.