Extra labels: privacy, dx
Tier: S (1-2 days) | Type: dx + privacy
Context. Scanner debug logs leak meta-addresses + tx hashes. When a user shares a bug report, they leak scan context. Ship a redaction helper that replaces addresses / hashes with stable pseudonyms.
Scope.
redact(text: string): string for common Stellar identifiers.
- Also expose as a Vitest reporter plugin so failures print redacted output by default.
- Off by default in production logs (dev signal), on by default in test logs.
Acceptance.
Files. src/chains/stellar/log/redact.ts (new), test/chains/stellar/log/redact.test.ts (new).
Extra labels:
privacy,dxTier: S (1-2 days) | Type: dx + privacy
Context. Scanner debug logs leak meta-addresses + tx hashes. When a user shares a bug report, they leak scan context. Ship a redaction helper that replaces addresses / hashes with stable pseudonyms.
Scope.
redact(text: string): stringfor common Stellar identifiers.Acceptance.
src/chains/stellar/README.mdFiles.
src/chains/stellar/log/redact.ts(new),test/chains/stellar/log/redact.test.ts(new).