Context
/campaigns/:id/referrals tracks referrals but there is no fraud scoring. Referral programs attract
sybil/self-referral abuse that drains rewards.
Scope
- Heuristic risk score per referral (velocity, shared device/IP fingerprint, circular graphs, new-account bursts).
- Throttle/hold high-risk referrals for review; feed confirmed fraud into the contract clawback path.
- Configurable thresholds + admin review queue.
Acceptance criteria
- Obvious sybil patterns (rings, self-referral, IP bursts) are flagged and held, not auto-rewarded.
Verification
- Tests with crafted referral graphs assert correct scoring and hold/release behaviour.
Context
/campaigns/:id/referralstracks referrals but there is no fraud scoring. Referral programs attractsybil/self-referral abuse that drains rewards.
Scope
Acceptance criteria
Verification