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

Aperta
#150 0 commenti 0 reazioni 0 assegnatari Vedi su GitHub

I maintainer di solito rispondono entro 1 giorno

Nessuno ha ancora preso questa issue.

Valutazione

Difficoltà
3/5
Tempo stimato
1-2 giorni
Idoneità per principianti
45/100
Tipo di issue
Bug
Chiarezza
Abbastanza chiara
Stato di attività
Attiva
Stack tecnologico
nextjs, typescript

Direzione di ricerca

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.

Scritto dal modello di indicizzazione a partire dal testo della issue.

Descrizione

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.

Lingua principale
TypeScript
Stelle
0
Fork
4
Merge medio
54m
PR unite (30g)
6

Preparare l'ambiente

Come iniziare

  1. Leggi tutta la issue e poi la guida ai contributi del progetto.
  2. Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
  3. Fai un fork del repository e lavora su un branch.
  4. Apri una pull request che faccia riferimento al numero della issue.

Altre issue di Yormee-103/PayLoop

Tutte le issue di Yormee-103/PayLoop

Issue simili

Altre issue su TypeScript

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.