Skip to content

Latest commit

 

History

History
24 lines (17 loc) · 939 Bytes

readonly_reentrancy.md

File metadata and controls

24 lines (17 loc) · 939 Bytes

Readonly Reentrancy

Configuration

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

Description

The detector is obsolete since Slitherin 0.7.1. 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: