Skip to content

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.

Back to the lesson 1 to 6 of 6 (of 36 in all)

Clear the search

2022

6 points

Kept working6

  1. 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
  2. They called initialisers with a configurable parameter set to zero and then again with different values to see whether the configuration could be overwritten.

    Seen in 1 report
  3. They verified that an upgradeable vault actually inherits the upgradeable proxy implementation and exposes an upgrade authorisation function.

    Seen in 1 report
  4. 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
  5. 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
  6. 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