Skip to content

security: redact complete delimiter-bearing secret values - #227

Merged
codeforester merged 2 commits into
mainfrom
security/220-20260826-security-redact-complete-delimiter-bearing-secret-values
Aug 26, 2026
Merged

codeforester merged 2 commits into
mainfrom
security/220-20260826-security-redact-complete-delimiter-bearing-secret-values

Conversation

@codeforester

Copy link
Copy Markdown
Contributor

Closes #220

Summary

  • treat commas, semicolons, and ampersands as part of secret values unless they begin a new assignment
  • apply the shared boundary behavior to argv, history, and JSON text redaction
  • add adversarial regressions for delimiter-bearing and adjacent assignments

Validation

  • UV_CACHE_DIR=/private/tmp/base-cli-uv-cache uv run --extra dev --extra typer pytest -q
  • UV_CACHE_DIR=/private/tmp/base-cli-uv-cache uv run --extra quality ruff check
  • UV_CACHE_DIR=/private/tmp/base-cli-uv-cache uv run --extra quality ruff format --check
  • UV_CACHE_DIR=/private/tmp/base-cli-uv-cache uv run --extra quality mypy --no-incremental --strict lib/python/base_cli

@codeforester
codeforester merged commit ad7fdde into main Aug 26, 2026
110 of 111 checks passed
@codeforester
codeforester deleted the security/220-20260826-security-redact-complete-delimiter-bearing-secret-values branch August 26, 2026 05:36
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.

security: redact complete delimiter-bearing secret values

1 participant