- Reentrancy
- A contract makes an external call before it updates its own state. The callee re-enters and acts on the stale state.
- Access control
- A privileged function, such as upgrade, mint, or withdraw, can be called by an address that should not be able to.
- Arithmetic and casts
- An overflow, an underflow, or a silent truncation in a cast changes a balance or a price.
- Oracle manipulation
- The contract reads a price from a source that one transaction can move, such as a thin pool, and then acts on it.
- Signature replay
- A signed message is accepted twice, or on another chain, because it does not bind a nonce and a chain id.
- Proxy storage collision
- An upgradeable proxy and its implementation use the same storage slot for different variables.