Skip to content

feat(redact): add Slack, Stripe, and npm token patterns#360

Open
fagemx wants to merge 2 commits intomainfrom
feat/redact-slack-stripe-npm-357
Open

feat(redact): add Slack, Stripe, and npm token patterns#360
fagemx wants to merge 2 commits intomainfrom
feat/redact-slack-stripe-npm-357

Conversation

@fagemx
Copy link
Copy Markdown
Owner

@fagemx fagemx commented Mar 27, 2026

Summary

Closes #357

  • Add redaction patterns for Slack tokens (xoxb-, xoxp-, xoxs-)
  • Add redaction patterns for Stripe keys (sk_live_, pk_live_, rk_live_)
  • Add redaction pattern for npm tokens (npm_)
  • Add 7 test cases covering all new patterns

Test plan

  • cargo test -p edda-bridge-claude -- redact — 17/17 pass (10 existing + 7 new)
  • cargo clippy -p edda-bridge-claude -- -D warnings — clean
  • Existing tests unchanged and passing

🤖 Generated with Claude Code

fagemx and others added 2 commits March 27, 2026 08:20
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
Add secret redaction for:
- Slack tokens (xoxb-, xoxp-, xoxs-)
- Stripe keys (sk_live_, pk_live_, rk_live_)
- npm tokens (npm_)

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[chore] Add secret redaction patterns for Slack, Stripe, npm

1 participant