Skip to content

Protect against frontrunning and sandwich attacks on subscription charges #430

Description

@Smartdevs17

Description

Subscription charges are visible in mempool and vulnerable to MEV. Implement protection mechanisms.

Acceptance Criteria

  • Commit-reveal scheme for large charges
  • Slippage protection with max fee bounds
  • Private mempool integration option
  • MEV extraction monitoring
  • Gas price analysis for attack detection
  • Documentation of MEV threat model

Technical Scope

  • contracts/subscription/src/lib.rs
  • Edge: commit-reveal UX impact, private mempool censorship, gas bidding analysis

Activity

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

Metadata

Metadata

Assignees

Labels

200-points200 point issueStellar WaveIssues in the Stellar wave programdrips-waveIssues in the Drips Wave programhighHigh complexity issue

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions