Skip to content

[SCF high][easy] Reject zero-value and reused HTLC secrets #242

Description

@karagozemin

Goal

Prevent invalid or previously observed HTLC secrets from entering a new swap flow.

Acceptance criteria

  • Reject all-zero secrets and hashlocks.
  • Detect reuse within the coordinator order history.
  • Add zero-value, reused, and valid-secret tests.

Complexity

High - small implementation, high cross-chain safety value.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

SCF 7.0Issues that strengthen the SCF 7.0 resubmission packageStellar WaveIssues in the Stellar wave programpriority: highHigh-impact work for SCF, investor readiness, or launch confidencesecuritySecurity, audit, and responsible disclosure work

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions