Skip to content

TRC-004 BalanceManipulation

Description

Changes can be made to the user's balance without the user's allowance to achieve a reduction in the percentage of the user's position.

Risk Pattern

function setBalance(address user, uint256 value) public onlyOwner returns (bool) {
  _balances[user] = value
  return true;
}

Risk Samples