Skip to content

Latest commit

 

History

History
20 lines (18 loc) · 838 Bytes

Incorrectly implemented modifiers.md

File metadata and controls

20 lines (18 loc) · 838 Bytes

Access control is typically enforced on functions using modifiers that check if specific addresses/roles are calling these functions.

A system can have multiple roles with different privileges.

Ensure that modifiers are implementing the expected checks on the correct roles/addresses with the right composition e.g. incorrect use of || instead of && is a common vulnerability while composing access checks.


Slide Screenshot

0151.jpg


Slide Text

  • Modifiers Incorrect Implementation
  • Roles & Privileges
  • Correct Checks & Roles & Composition
  • Ensure Correct Implementation

References


Tags