In-depth lesson · Missing access control in contracts
Year by year: 2022
What the disclosed Missing access control in contracts reports of each year show, newest first: what first appeared, what kept working and what turned up less.
2022
6 pointsKept working6
Hunters checked whether order validation rejects zero taker and sender addresses and whether a privileged role can set them to restrict who fills orders.
Seen in 1 report
They called initialisers with a configurable parameter set to zero and then again with different values to see whether the configuration could be overwritten.
They verified that an upgradeable vault actually inherits the upgradeable proxy implementation and exposes an upgrade authorisation function.
Seen in 1 report
For each lend function they confirmed that the corresponding principal token is minted back to the lender after funds move to the external protocol.
Seen in 1 report
They registered plugins with invalid, foreign or duplicate addresses and checked whether deposit and withdraw accounting broke or double-counted balances.
Seen in 1 report
They delegated votes to the zero address and then tried to transfer or burn a token to see whether the vote subtraction underflowed and reverted.
Seen in 1 report