Repository navigation
fix: require payee signature for extensions added after request creation - #1778
Merged
Merged
Conversation
Contributor
Author
This stack of pull requests is managed by Graphite. Learn more about stacking. |
MantisClone
marked this pull request as ready for review
October 30, 2026 23:04
MantisClone
requested review from
a team,
LeoSlrRf,
aimen74,
alexandre-abrioux-rf,
bassgeta and
rodrigopavezi
and removed request for
a team
October 30, 2026 23:04
Contributor
[Medium impact] The PR appears safe to merge; the previous dependency finding is fixed and no new actionable issues were found. SummaryThe PR limits new extensions after request creation to the payee and blocks nested payment-network creation through update actions.
Reviews (2) · Last reviewed commit: "chore: declare request logic test depend..." · Reviewed by Greptile |
rodrigopavezi
approved these changes
Oct 31, 2026
alexandre-abrioux-rf
approved these changes
Oct 31, 2026
Merged
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.

Problem
Request actions could add new payment-network or content extensions to an existing request without requiring the payee’s signature.
An attacker could exploit this to supply missing payment instructions or content. Applications reading the request could then use that attacker-supplied information.
References REQ-902.
Attack scope
Proposed Solution
Design Rationale
Start with a strict payee-only rule. This excludes the payer and the payee’s delegates from adding extensions after creation. Delegate support can be considered separately.
Considerations
@requestnetwork/[email protected], with@requestnetwork/[email protected]and@requestnetwork/[email protected].UAT
Using local test requests and separate payer and payee identities:
Local tests cover these behaviors, including a signed-action regression that fails without the fix.