Skip to content

Log obfuscation / redaction utility #141

Description

@truthixify

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.

  • Every address / tx hash / contract ID in a canned log gets redacted
  • Pseudonyms stable across calls (same address → same alias)
  • Documented in src/chains/stellar/README.md

Files. src/chains/stellar/log/redact.ts (new), test/chains/stellar/log/redact.test.ts (new).

Metadata

Metadata

Assignees

Labels

Stellar WaveIssues in the Stellar wave programdripsFunded via Drips NetworkdxDeveloper experiencehelp wantedExtra attention is neededprivacyPrivacy-specific work

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions