the implementation can be killed bricking all the smart wallets that use it as an implementation #14
Labels
3 (High Risk)
Assets can be stolen/lost/compromised directly
bug
Something isn't working
duplicate-496
satisfactory
satisfies C4 submission criteria; eligible for awards
sponsor confirmed
Sponsor agrees this is a problem and intends to fix it (OK to use w/ "disagree with severity")
Lines of code
https://github.com/code-423n4/2023-01-biconomy/blob/main/scw-contracts/contracts/smart-contract-wallet/SmartAccount.sol#L347
https://github.com/code-423n4/2023-01-biconomy/blob/main/scw-contracts/contracts/smart-contract-wallet/SmartAccount.sol#L350
Vulnerability details
Description
ecrecover
returns zero address.Impact
High
Proof of Concept
forge test --fork-url https://polygon-mainnet.infura.io/v3/INFURA_ID -vvvv
to see it.Tools Used
Manual Review
Recommended Mitigation Steps
The text was updated successfully, but these errors were encountered: