Skip to content

Commit

Permalink
fix typo
Browse files Browse the repository at this point in the history
  • Loading branch information
harendra-shakya committed Dec 1, 2022
1 parent 0d7e490 commit 2d4a242
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions attack-vectors/Access_Control.md
Original file line number Diff line number Diff line change
Expand Up @@ -40,10 +40,10 @@ Due to missing or insufficient access controls, malicious parties can self-destr

It is important to have access control validations on critical functions that execute actions like modifying the owner, transfer of funds and tokens, pausing and unpausing the contracts, etc. Missing validations either in the modifier or inside require or conditional statements will most probably lead to compromise of the contract or loss of funds.

## Missed Modifier
## Incorrect Modifier Names

Due to the developer’s mistakes and spelling errors, it may happen that the name of the modifier or function is incorrect than intended. Malicious actors may also exploit it to call the critical function without the modifier, which may lead to loss of funds or change of ownership depending on the function’s logic.

## Missed Modifier
## Overpowered Roles

Allowing users to have overpowered roles may lead to vulnerabilities. The practice of least privilege must always be followed in assigning privileges.

0 comments on commit 2d4a242

Please sign in to comment.