Code4rena
Canto
Every publicly disclosed report for Canto and what kind of bugs they were.
- disclosed reports
- 66
- most reported class
- Business logic
- bug classes found
- 6
- first disclosure
- 2022
Disclosed reports
Newest first. Only what Canto chose to make public.
-
Calculated token0TVL may be zero under certain scenarios
Crypto Medium Audit finding
-
Hardcoded USD pegs can be broken
Leaked secrets High Audit finding
-
There is no re-register or re-assign function
Business logic Medium Audit finding
-
PostTxProcessing can revert user transactions not interacting with Turnstile
DoS Medium Audit finding +1 collaborator
-
evm_hooks ignores some important errors
Business logic Medium Audit finding
-
A registered contract won’t earn fees if _recipient is a fresh address
Business logic High Audit finding +1 collaborator
-
Stealing Wrapped Manifest in WETH.sol
Access control High Audit finding
-
Anyone can create Proposal Unigov Proposal-Store.sol
Access control High Audit finding
-
Accountant can’t be initialized
Business logic High Audit finding
-
lending-market/NoteInterest.sol Wrong implementation of getBorrowRate()
Business logic High Audit finding
-
Comptroller uses the wrong address for the WETH contract
Smart contracts High Audit finding
-
In ERC20 , TotalSupply is broken
Smart contracts High Audit finding
-
It’s not possible to execute governance proposals through the GovernorBravoDelegate contract
Business logic High Audit finding
-
Overprivileged admin can grant unlimited WETH
Access control Medium Audit finding
-
CNote updates the accounts after sending the funds, allowing for reentrancy
Smart contracts Medium Audit finding
-
Note: When _initialSupply ! = 0 , the _mint_to_Accountant function will fail
Smart contracts Medium Audit finding
-
accountant address can be set to zero by anyone leading to loss of funds/tokens
Access control Medium Audit finding
-
Anyone can set the baseRatePerYear after the updateFrequency has passed
Access control High Audit finding
-
Only the state() of the latest proposal can be checked
Business logic Medium Audit finding
-
Oracle may be attacked if an attacker can pump the tokens for the entire block
Medium Audit finding
-
Incorrect amount taken
Business logic Medium Audit finding
-
Unable to check state() if proposalId == 0
Business logic Medium Audit finding
-
Incorrect condition always bound to fail
Business logic Medium Audit finding
-
WETH.allowance() returns wrong result
Smart contracts High Audit finding
-
WETH.sol computes the wrong totalSupply()
Business logic High Audit finding
-
In Cnote.sol , anyone can initially become both accountant and admin
Access control Medium Audit finding
-
AccountantDelegate : sweepInterest function will destroy the cnote in the contract.
Smart contracts High Audit finding