Skip to content

Latest commit

 

History

History
23 lines (16 loc) · 887 Bytes

readonly_reentrancy.md

File metadata and controls

23 lines (16 loc) · 887 Bytes

Readonly Reentrancy

Configuration

  • Check: pess-readonly-reentrancy
  • Severity: High
  • Confidence: Low

Description

Highlights the use of getter functions that return a value that theoretically could be manipulated during the execution.

Vulnerable Scenario

test scenario

Recommendation

Ensure that getter function values aren't crucial and can't be maliciously used in other contract parts during external calls before being updated.

Also check out: