Skip to content

Latest commit

 

History

History
19 lines (13 loc) · 700 Bytes

tx_gasprice_warning.md

File metadata and controls

19 lines (13 loc) · 700 Bytes

Tx Gasprice Warning

Configuration

  • Check: pess-tx-gasprice
  • Severity: High
  • Confidence: Low

Description

tx.gasprice variable is set by contract users not developers. The detector sees if a contract uses tx.gasprice variable.

Vulnerable Scenario

test scenario

Related Attack

Ethereum-alarm-clock Exploit & 2nd source

Recommendation

Make sure that exploits with tx.gasprice variable set by users are not possible.