Skip to content

BUG-10: mask API keys however they are spelled - #35

Merged
Gabriel-Lewis merged 1 commit into
devfrom
fix/bug-10-sensitive-key-mask
Oct 20, 2026
Merged

Gabriel-Lewis merged 1 commit into
devfrom
fix/bug-10-sensitive-key-mask

Conversation

@Gabriel-Lewis

Copy link
Copy Markdown
Owner

Meaning-based mask regex (api[-_]?key, tokens, secrets, credentials, passwords). Verified: Node probe over 15 sensitive + 5 plain spellings ALL OK; no JS test runner in repo.

SENSITIVE_KEY_RE only matched api_key with an underscore, so keys
like ADMIN_SYSTEM_APIKEY were rendered in plain text on the raw
config screen.

Classify by meaning with separator-optional forms: api[-_]?key,
access/auth/private key variants, token, secret, credential and
password/passwd spellings all mask now, while ordinary settings
stay visible. Verified with a Node probe over 15 sensitive and 5
plain key spellings (no JS test runner exists in the repo).
@Gabriel-Lewis
Gabriel-Lewis merged commit 0f76801 into dev Oct 20, 2026
4 checks passed
@Gabriel-Lewis
Gabriel-Lewis deleted the fix/bug-10-sensitive-key-mask branch October 29, 2026 01:32
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.

1 participant