Sentry configuration: replay settings do nothing, no release tag, wallet addresses unscrubbed

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

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

Chưa có ai nhận issue này.

Đánh giá

Độ khó
3/5
Thời gian dự kiến
1-2 ngày
Mức phù hợp với người mới
45/100
Loại issue
Lỗi
Độ rõ ràng
Khá rõ ràng
Mức độ hoạt động
Sôi nổi
Công nghệ
nextjs, typescript
Lĩnh vực
observability, security

Hướng nghiên cứu

Start in web/sentry.client.config.ts and check the installed @sentry/nextjs version to see whether the replay options have any effect without a registered replay integration. Then set release from the build commit and add a beforeSend that scrubs Stellar addresses from URLs, breadcrumbs and request data, mirroring the three Sentry config files and web/next.config.mjs. Coordinate with PR #41, which also edits next.config.mjs. Done when the acceptance criteria pass and the build works without Sentry variables.

Do mô hình lập chỉ mục viết ra từ nội dung của issue.

Mô tả

difficulty: intermediate dx help wanted security web

Difficulty: Intermediate

Problem

sentry.client.config.ts sets replaysSessionSampleRate and replaysOnErrorSampleRate, but no replay integration is registered, so these values have no effect (to be verified for the installed SDK version). Events also carry no release, and wallet addresses or invoice ids can appear in URLs and breadcrumbs.

Why it matters

Misleading configuration, harder error triage, and avoidable personal-data exposure in a third-party service.

Scope of work

Verify the replay behaviour for @sentry/nextjs 8.x and either register the integration (with masking) or remove the dead options; set release from the build commit; add a beforeSend that scrubs Stellar addresses from URLs, breadcrumbs and request data. Document the result.

Expected outcome

Accurate monitoring configuration that does not leak wallet addresses.

Acceptance criteria

  • Replay is either working with masking or the options are removed.
  • release is set.
  • A test or documented manual check shows an address-bearing URL is scrubbed.
  • The build still passes without Sentry variables.

Relevant files

  • web/sentry.client.config.ts, web/sentry.server.config.ts, web/sentry.edge.config.ts, web/next.config.mjs

Dependencies

PR #41 also edits next.config.mjs.

Maintainer discussion needed?

No.

Ngôn ngữ chính
TypeScript
Star
0
Fork
4
Merge trung bình
54 phút
Pull request đã merge (30 ngày)
6

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 Yormee-103/PayLoop

Tất cả issue của Yormee-103/PayLoop

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.