flowfi icon indicating copy to clipboard operation
flowfi copied to clipboard

[Audit] SSE payload parse failures vanish silently

Open K1NGD4VID opened this issue 3 months ago • 4 comments

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

  • Location: frontend/src/hooks/useStreamEvents.ts:96-106
  • Problem: handleEvent swallows any JSON.parse failure with an empty catch, with no logging.
  • Evidence: catch { /* ignore */ }.
  • Suggested implementation: Log the parse failure (with logger.error, consistent with the rest of the codebase) including the raw payload for debugging.
  • Acceptance criteria: A malformed SSE frame produces a logged error in a test, instead of disappearing silently.
  • Difficulty: S
  • Expected impact: Restores observability into a currently invisible failure mode.

K1NGD4VID avatar Aug 29 '26 18:08 K1NGD4VID

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

Please assign

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

omoh5 avatar Aug 29 '26 19:08 omoh5

@iyanukid2008-pixel has applied to work on this issue as part of the Stellar Wave Program's 8th wave.

After a thorough review, this issue is one that I can solve to your expectations, I plead that I'm assigned to the issue

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

iyanukid2008-pixel avatar Aug 29 '26 20:08 iyanukid2008-pixel

Congratulations, @omoh5! 🎉 Your application was accepted by the repo's maintainers, and the issue is due on August 31, 2026.

🧑‍💻 @omoh5: 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 Aug 29 '26 20:08 drips-wave[bot]

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

😎 @omoh5: 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 25 '26 09:10 drips-wave[bot]