Skip to content

Latest commit

 

History

History
29 lines (24 loc) · 1.24 KB

`setSignatureValidatorApproval` race condition may be exploitable.md

File metadata and controls

29 lines (24 loc) · 1.24 KB

If a validator is compromised, a race condition in the signature validator approval logic becomes exploitable.

The setSignatureValidatorApproval function (Figure 4.1) allows users to delegate the signature validation to a contract.

However, if the validator is compromised, a race condition in this function could allow an attacker to validate any amount of malicious transactions.

Recommendation:

Short term, document this behavior to make sure users are aware of the inherent risks of using validators in case of a compromise. Long term, consider monitoring the blockchain using the SignatureValidatorApproval events to catch front-running attacks.


Slide Screenshot

063.png


Slide Text

  • ToB Audit Ox Protocol Finding 4
  • Timing
  • Medium Severity
  • Compromised Validator
  • Sig Validation Race
  • Document
  • Monitor for Front-running

References


Tags