Closed code423n4 closed 1 year ago
https://github.com/code-423n4/2023-01-biconomy/blob/53c8c3823175aeb26dee5529eeefa81240a406ba/scw-contracts/contracts/smart-contract-wallet/SmartAccount.sol#L247-L269
Payment can be small/zero due to rounding down if tokenGasPriceFactor is sufficiently large and function won't revert on zero transfer. Validate tokenGasPriceFactor.
tokenGasPriceFactor
gzeon-c4 marked the issue as unsatisfactory: Insufficient quality
livingrockrises marked the issue as sponsor disputed
Lines of code
https://github.com/code-423n4/2023-01-biconomy/blob/53c8c3823175aeb26dee5529eeefa81240a406ba/scw-contracts/contracts/smart-contract-wallet/SmartAccount.sol#L247-L269
Vulnerability details
Payment can be small/zero due to rounding down if
tokenGasPriceFactor
is sufficiently large and function won't revert on zero transfer. Validate tokenGasPriceFactor.