flowfi icon indicating copy to clipboard operation
flowfi copied to clipboard

[Audit] No client-side Stellar address validation on `/streams/create`

Open K1NGD4VID opened this issue 3 months ago • 11 comments

Filed from the second-wave repository audit (issue 3/100). See the audit summary for full category context.

  • Location: frontend/src/app/streams/create/create-stream-content.tsx:151-194
  • Problem: Unlike dashboard-view.tsx:904 and StreamCreationWizard.tsx:278, this page never calls isValidStellarPublicKey before submitting, so a malformed recipient reaches createStream and surfaces an opaque RPC/simulation error.
  • Evidence: handleSubmit has no isValidStellarPublicKey call anywhere in the function body.
  • Suggested implementation: Add the same client-side validation used by the wizard before calling createStream, showing an inline field error.
  • Acceptance criteria: Submitting an invalid address shows an inline validation message and never calls createStream.
  • Difficulty: S
  • Expected impact: Removes a confusing, opaque error path on one of three stream-creation entry points.

K1NGD4VID avatar Aug 29 '26 18:08 K1NGD4VID

I can handle this. I will reuse the existing isValidStellarPublicKey validation in frontend/src/app/streams/create/create-stream-content.tsx, surface a clear inline recipient error, and ensure createStream is never called for an invalid address. I will add a focused regression test and run the relevant frontend checks before opening the PR.

ZacLou avatar Sep 08 '26 06:09 ZacLou

@Seeyerh has applied to work on this issue as part of the Stellar Wave Program's 9th wave.

Hello Maintainer, I understand the issue and can handle it effectively; kindly assign it to me.

ℹ️ Repo Maintainers: To accept this application, review their application or assign @Seeyerh to this issue.

Seeyerh avatar Sep 28 '26 05:09 Seeyerh

@EmannuellaO has applied to work on this issue as part of the Stellar Wave Program's 9th wave.

please assign me to this issue

ℹ️ Repo Maintainers: To accept this application, review their application or assign @EmannuellaO to this issue.

EmannuellaO avatar Sep 29 '26 13:09 EmannuellaO

@aabolari has applied to work on this issue as part of the Stellar Wave Program's 9th wave.

I understand the expectations and I would like to work on this issue

ℹ️ Repo Maintainers: To accept this application, review their application or assign @aabolari to this issue.

aabolari avatar Sep 29 '26 18:09 aabolari

@nazteeemba has applied to work on this issue as part of the Stellar Wave Program's 9th wave.

Please assign me to this issue

ℹ️ Repo Maintainers: To accept this application, review their application or assign @nazteeemba to this issue.

nazteeemba avatar Sep 30 '26 06:09 nazteeemba

@lawalajose has applied to work on this issue as part of the Stellar Wave Program's 9th wave.

kindly assign boss

ℹ️ Repo Maintainers: To accept this application, review their application or assign @lawalajose to this issue.

lawalajose avatar Sep 30 '26 10:09 lawalajose

Congratulations, @lawalajose! 🎉 Your application was accepted by the repo's maintainers, and the issue is due on September 30, 2026.

🧑‍💻 @lawalajose: Please resolve the issue such that the repo's maintainers have enough time to review your contribution before the due date. You'll earn Points for completing the issue on-time, which will make you eligible for a share of the Stellar Wave Program's reward pool.

[!WARNING] When opening a PR, please link it to this issue to ensure it gets tracked accurately. Points are awarded when this issue is marked as completed by the maintainer.

🤠 Repo maintainers: Please keep an eye on the contributor's progress and review their work before the due date. You can manage this issue, including adjusting its complexity and points, here.

🌊 Happy Wave 🌊

drips-wave[bot] avatar Sep 30 '26 10:09 drips-wave[bot]

@juliet-unoyiza has applied to work on this issue as part of the Stellar Wave Program's 10th wave.

I've reviewed the issue thoroughly and can start working on it right away. Looking forward to contributing

ℹ️ Repo Maintainers: To accept this application, review their application or assign @juliet-unoyiza to this issue.

juliet-unoyiza avatar Oct 15 '26 15:10 juliet-unoyiza

@p4uld4vid016-code has applied to work on this issue as part of the Stellar Wave Program's 10th wave.

Hello maintainer, i would like to work on this issue

ℹ️ Repo Maintainers: To accept this application, review their application or assign @p4uld4vid016-code to this issue.

p4uld4vid016-code avatar Oct 16 '26 22:10 p4uld4vid016-code

Congratulations, @p4uld4vid016-code! 🎉 Your application was accepted by the repo's maintainers, and the issue is due on October 22, 2026.

🧑‍💻 @p4uld4vid016-code: Please resolve the issue such that the repo's maintainers have enough time to review your contribution before the due date. You'll earn Points for completing the issue on-time, which will make you eligible for a share of the Stellar Wave Program's reward pool.

[!WARNING] When opening a PR, please link it to this issue to ensure it gets tracked accurately. Points are awarded when this issue is marked as completed by the maintainer.

🤠 Repo maintainers: Please keep an eye on the contributor's progress and review their work before the due date. You can manage this issue, including adjusting its complexity and points, here.

🌊 Happy Wave 🌊

drips-wave[bot] avatar Oct 16 '26 22:10 drips-wave[bot]

This issue has been completed by @p4uld4vid016-code as part of the Stellar Wave Program's 10th Wave 🥳

😎 @p4uld4vid016-code: You earned 200 Points for completing this issue! Once the Wave's rewards are finalized, you'll be eligible for a percentage of the Wave's reward pool based on the percentage of total points you've earned. Learn more here. You can also Leave a review to share your experience working on this issue.

🧑‍💻 Repo maintainers: How'd the contributor do? Leave a review to share your experience working with them.

drips-wave[bot] avatar Oct 18 '26 02:10 drips-wave[bot]