A critical arithmetic underflow vulnerability exists in finalizeValidation()
of the LLMOracleCoordinator
contract when calculating score validation bounds. This underflow allows malicious validators to bypass score validation checks and manipulate the oracle system.
In LLMOracleCoordinator.sol
, finalizeValidation()
calculates a lower bound for valid scores using mean and standard deviation:
The root cause is in _mean - _stddev
. Since both values are uint256
, if _stddev
is greater than _mean
, this will cause an underflow.
The transaction will revert.
Manual code review
Handle case where std dev exceeds mean.
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.