Skip to content

Excluding signers from the txID calculation enables a griefing attack #58

Description

@mattsu6666

The recent change #57 excludes signers from the txID preimage. This avoids making the txID depend on signature bytes, but it also removes signer identity from the txID calculation.

As a result, the same cross transaction can produce the same txID regardless of who is listed in signers, or even if signers is empty. This enables a front-running griefing attack.

Proposal

Instead of excluding the entire signers field from the txID preimage, we should keep signer identity in the txID calculation and exclude only the mutable signature value.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions