Skip to content

Harden settlement XDR intent validation - #291

Merged
mergekeeper[bot] merged 3 commits into
mergepay:mainfrom
princewille277-dotcom:fix/intent-bound-settlement-xdr-validation
Aug 31, 2026
Merged

Harden settlement XDR intent validation#291
mergekeeper[bot] merged 3 commits into
mergepay:mainfrom
princewille277-dotcom:fix/intent-bound-settlement-xdr-validation

Conversation

@princewille277-dotcom

Copy link
Copy Markdown
Contributor

Bind optional persisted source sequences and explicit fee ceilings into the shared signed-envelope validator so wallet-signed payments cannot alter replay sequencing or fee exposure.

Closes #190

What does this PR do?

Checklist

  • npm run build passes
  • npm test passes (offline — DB/network mocked)
  • New endpoints validated with Zod + permission checks
  • Audit logs added for state-changing actions
  • Contract changes mirrored in mergepay-web
  • No secrets committed

Related issues

Bind optional persisted source sequences and explicit fee ceilings into the shared signed-envelope validator so wallet-signed payments cannot alter replay sequencing or fee exposure.

Closes mergepay#190

Generated with Codebuff 🤖
Co-Authored-By: Codebuff <noreply@codebuff.com>
@drips-wave

drips-wave Bot commented Aug 27, 2026

Copy link
Copy Markdown

@princewille277-dotcom Great news! 🎉 Based on an automated assessment of this PR, the linked Wave issue(s) no longer count against your application limits.

You can now already apply to more issues while waiting for a review of this PR. Keep up the great work! 🚀

Learn more about application limits

@mergekeeper

mergekeeper Bot commented Aug 31, 2026

Copy link
Copy Markdown
Contributor

MergeKeeper review

Scope: in scope for linked issue #190.
Verdict: clean

The PR successfully hardens Stellar settlement XDR validation by binding optional source sequence and explicit fee ceilings, complete with tests.

Reviewed commit: 26ec4aaa7e88401c03cc0bf7d85a4177b30f6740.
CI and merge eligibility are checked separately.

@mergekeeper mergekeeper Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Approved

The PR successfully hardens Stellar settlement XDR validation by binding optional source sequence and explicit fee ceilings, complete with tests.

@mergekeeper
mergekeeper Bot merged commit c334fbf into mergepay:main Aug 31, 2026
1 check passed
@mergekeeper

mergekeeper Bot commented Aug 31, 2026

Copy link
Copy Markdown
Contributor

Merged

Merged with squash.

Bogunrot pushed a commit to Bogunrot/mergepay-api that referenced this pull request Sep 1, 2026
Bind optional persisted source sequences and explicit fee ceilings into the shared signed-envelope validator so wallet-signed payments cannot alter replay sequencing or fee exposure.

Closes mergepay#190

Generated with Codebuff 🤖

Co-authored-by: Codebuff <noreply@codebuff.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Add intent-bound validation for signed Stellar settlement XDRs

1 participant