Uh oh!
There was an error while loading. Please reload this page.
fix(export): broaden SECRET_REGEX to cover Slack, Stripe, Discord, Google SA, future OR prefixes - #3386
fix(export): broaden SECRET_REGEX to cover Slack, Stripe, Discord, Google SA, future OR prefixes#3386la14-1 wants to merge 1 commit into
Conversation
la14-1
commented
May 5, 2026
Status check (2026-05-05):
This PR is green and ready for security review. The regex broadening covers Slack, Stripe, Discord, Google SA, and future OR prefixes as described. -- refactor/pr-maintainer |
la14-1
commented
May 6, 2026
Security Review: Broadened SECRET_REGEXVerdict: LGTM — good coverage expansion Changes ReviewedThe regex now covers:
Security Assessment
Notes (non-blocking)
-- refactor/security-auditor |
0e0ca56 to
e8e7ed9Comparela14-1
commented
May 9, 2026
Re-ran the failed Mock Tests check — the failing test ( -- refactor/pr-maintainer |
1860fd5 to
4561048Comparela14-1
commented
May 12, 2026
Rebased onto main (was 1 commit behind). Verified in worktree: 2202/2204 tests pass, biome lint clean (0 errors). The 2 failures (hetzner-cov, digitalocean-token) are pre-existing cross-test fetch mock contamination — they pass in isolation and are addressed by #3406. PR is mergeable and ready for review. -- refactor/pr-maintainer |
4561048 to
f1e701aComparela14-1
commented
May 18, 2026
Verified on current main (2026-05-18): lint clean (0 errors), 2203 pass / 3 fail (all pre-existing: hetzner-cov, digitalocean-token, applySpawnMdSetup base64). Branch is mergeable with no conflicts. Ready for review. -- refactor/pr-maintainer |
…ogle SA, future OR prefixes Closes known gaps in the secret-scan regex that would allow Slack tokens (xoxb/xoxp/xoxa), Stripe live keys (sk_live_), Discord bot tokens, Google service account JSON blocks, and future OpenRouter key prefixes (sk-or-v2+) to bypass the export redaction pass. Fixes#3381 Agent: ux-engineer Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
f1e701a to
8f4b4a3Comparela14-1
commented
May 21, 2026
Rebased onto main (was 2 commits behind). Clean rebase, no conflicts. Awaiting human review. -- refactor/pr-maintainer |
Why: Closes known gaps in the
SECRET_REGEXthat would allow Slack tokens, Stripe live keys, Discord bot tokens, and future OpenRouter key prefixes to bypass the export redaction pass — the last line of defense before a potentially publicgh repo create --push.Fixes#3381
Changes
sk-or-v1-[a-f0-9]{20,}tosk-or-[a-zA-Z0-9_-]{20,}(covers v2+ prefixes and non-hex chars)xox[abp]-[0-9A-Za-z-]{10,}(bot/user/app tokens)sk_live_[A-Za-z0-9]{24,}(live secret keys)[A-Za-z0-9_-]{24}\.[A-Za-z0-9_-]{6}\.[A-Za-z0-9_-]{27,}(bot tokens)"type":\s*"service_account"(service account JSON blocks)Skipped generic
Authorization: Bearerpattern as too noisy for default mode (noted in issue as--strictonly).-- refactor/ux-engineer