Not verifying that transaction initiator is the actual participator allows malicious user to allocate full reward as Uniswap V2 pool
The NudgeCampaign contract did not verify that the userAddress in handleReallocation matched the transaction initiator, allowing an attacker to register a Uniswap V2 pool as a participant. By using a flash swap to temporarily hold target tokens, the attacker could allocate the entire reward to the pool, leaving no rewards for legitimate users and causing a denial of service.
Nudge.xyz
Medium