Blockchain Transaction Lifecycle Security Standard Audit Framework

previous: Require Multiple Signers | Contents | next: Warn about Timing Attacks

Verify Correct Ordering

Statement of Requirement

Signature Managers MUST ensure correctness of ordering in transactions if more than one is being handled.

See it in the specification

Applicability

Purpose

Prevent submitting an ordered set of transactions that will not successfully complete according to the intent, which would therefore waste the effort and gas/fees consumed.

Audit Procedure

Verify that the Signature Manager verifies that sequenced transactions are tested:

Provide a sequence that is out of order, so a transaction is made to depend on the successful completion of one that is ordered later, and verify that the Signature Manager detects that this is incorrect.

Success Criteria

The Signature Manager detects that the ordering is incorrect

Best Practice

The Signature Manager tests that a transaction is contingent on completion of a preceding transaction wherever relevant, and provides a warning and explanation of what the problem is and how to mitigate it, when incorrectly ordered sets of transactions are submitted for signature.

Failure Criteria

There is no mechanism to verify that transactions are correctly sequenced

Key Evidence

previous: Require Multiple Signers | Contents | next: Warn about Timing Attacks