[Audit] Pause/resume respond "success" without actually changing any state
Filed from the second-wave repository audit (issue 18/100). See the audit summary for full category context.
- Location:
backend/src/controllers/stream.controller.ts:807-841, 890-919 - Problem:
pauseStream/resumeStreamcall simulation-only Soroban functions (see Architecture #B7) and respond{ success: true, stream }, echoing the unmodified, pre-callstreamobject — no on-chain transaction is submitted and no DB field (isPaused/pausedAt) is updated. - Evidence: Response object is the same
streamread before the call; noprisma.stream.updatein either handler. - Suggested implementation: Either implement real signed on-chain calls (see Architecture #B7) or, until that lands, return
501 Not Implemented/an explicit "not yet supported" error instead of a falsesuccess: true. - Acceptance criteria: Calling pause/resume either performs a real state change verifiable in the DB and on-chain, or returns a non-200 response indicating it did not.
- Difficulty: L
- Expected impact: Stops the API from lying to clients about whether a stream was actually paused/resumed.
Hello and good day. I'm experienced and would love to resolve your issues in no time. Thank you
@d1a-m3n has applied to work on this issue as part of the Stellar Wave Program's 8th wave.
pls assign me to this task, i can work on it
ℹ️ Repo Maintainers: To accept this application, review their application or assign @d1a-m3n to this issue.
@rajiabdulrahmon2020-ui has applied to work on this issue as part of the Stellar Wave Program's 8th wave.
I’ve reviewed the issue and have a solid understanding of what needs to be addressed. I’d like to take responsibility for the implementation and ensure the resulting changes are reliable, well-tested, and easy to maintain.
ℹ️ Repo Maintainers: To accept this application, review their application or assign @rajiabdulrahmon2020-ui to this issue.
@michealross has applied to work on this issue as part of the Stellar Wave Program's 8th wave.
Let me work on this.
ℹ️ Repo Maintainers: To accept this application, review their application or assign @michealross to this issue.
Congratulations, @d1a-m3n! 🎉 Your application was accepted by the repo's maintainers, and the issue is due on August 31, 2026.
🧑💻 @d1a-m3n: 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 🌊
This issue has been removed from the Stellar Wave Program by the repository maintainers.
@d1a-m3n, you have been unassigned from this issue. If you have any questions, please reach out to the repo maintainers.
@e-simileoluwa has applied to work on this issue as part of the Stellar Wave Program's 11th wave.
Hi maintainer, I can get this issue fixed quickly. Please assign it to me
ℹ️ Repo Maintainers: To accept this application, review their application or assign @e-simileoluwa to this issue.
Congratulations, @e-simileoluwa! 🎉 Your application was accepted by the repo's maintainers, and the issue is due on November 25, 2026.
🧑💻 @e-simileoluwa: 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 🌊
This issue has been completed by @e-simileoluwa as part of the Stellar Wave Program's 11th Wave 🥳
😎 @e-simileoluwa: 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.