1. SDK-SEC-1: Critical RNG Vulnerability Allowed Deterministic Outcome Manipulation in BetManager
A critical security vulnerability in the `BetManager.getBlockHash()` function allowed for the potential manipulation of random number generation in a commit-reveal gambling protocol. The flaw was not a typical bug but a systemic failure in the core security assumption: the function silently caught all errors, including...