Hacktoberfest 2026: những issue maintainer đã đánh dấu cho tháng Mười, đang mở và phù hợp người mới. Xem issue Hacktoberfest

[Audit] Pause/resume respond "success" without actually changing any state

Đang mở
#1,220 5 bình luận 0 reaction 1 người được giao Xem trên GitHub

Maintainer thường phản hồi trong vòng 7 ngày

@d1a-m3n đang làm issue này rồi.

Từ ngày 29/8/2026.

  • #1 của @d1a-m3n — đang mở
  • #1342 của @d1a-m3n — đang mở

Đánh giá

Issue này chưa được đánh giá.

Mô tả

backend bug second-wave-audit Stellar Wave

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/resumeStream call simulation-only Soroban functions (see Architecture #B7) and respond { success: true, stream }, echoing the unmodified, pre-call stream object — no on-chain transaction is submitted and no DB field (isPaused/pausedAt) is updated.
  • Evidence: Response object is the same stream read before the call; no prisma.stream.update in 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 false success: 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.
Ngôn ngữ chính
TypeScript
Star
18
Fork
250
Merge trung bình
5 ngày 6 giờ
Pull request đã merge (30 ngày)
82

Chuẩn bị môi trường

Bắt đầu từ đâu

  1. Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
  2. Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
  3. Fork repository và làm thay đổi trên một nhánh.
  4. Mở pull request có tham chiếu số hiệu của issue.

Issue khác của LabsCrypt/flowfi

Tất cả issue của LabsCrypt/flowfi

Issue tương tự

Thêm issue về TypeScript

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.