1. Starknet/Cairo Staking Math Vulnerability: Division Before Multiplication Bug Zeroes User Rewards
A critical integer arithmetic vulnerability has been identified and proven in a Cairo-based staking contract, exposing a design flaw that can completely erase user rewards. The bug, designated as Bug #5, is a classic "Division before Multiplication" error in the core reward calculation formula. The vulnerable code, `le...