Skip to content

Latest commit

 

History

History
15 lines (11 loc) · 443 Bytes

unprotected_initialize.md

File metadata and controls

15 lines (11 loc) · 443 Bytes

Unprotected Initialize

Configuration

  • Check: pess-unprotected-initialize
  • Severity: High
  • Confidence: Low

Description

The detector sees if a contract contains an initialize function without modifier protection or access control inside the function.

Vulnerable Scenario

test scenario

Recommendation

Add access control and make sure that initialize functions are protected.