Knowledge VaultReading Workbench
Reading Detail

scan-for-secrets 0.3

Simon Willison's Blog · 2026-04-06
#projects
Open Original
archivedone

Snapshot Reader

Captured

Release: scan-for-secrets 0.3

  • New -r/--redact option which shows the list of matches, asks for confirmation and then replaces every match with REDACTED, taking escaping rules into account.
  • New Python function redact_file(file_path: str | Path, secrets: list[str], replacement: str = "REDACTED") -> int.

Tags: projects