Internal view functions like _balanceOf and totalSupply_ are intended to return values to the calling Solidity code for further logic processing.
These functions use the Yul return(offset, size) opcode, which terminates the entire EVM execution frame immediately; this means any contract inheriting this token and calling these internal functions will have its execution halted abruptly, returning the value to the external caller instead of continuing execution.
Likelihood:
Developers inherit this contract and attempt to use standard internal hooks like _balanceOf(user) within conditional logic (e.g., if (_balanceOf(msg.sender) > 0) ...).
Impact:
Composition is completely broken; downstream logic in child contracts will never execute (silent failure/abort).
Contracts relying on these checks will behave unpredictably or fail to enforce logic.
the vulnerabilities related to incorrect opcode used
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.