scan-for-secrets 0.2

AI-generated summary of reporting by Simon Willison’s Weblog. Read the original for the full story.

Why it matters

Developers who share code or directories can now scan large file sets faster and scan multiple folders or single files in one run.

Read this as

Simon Willison updated his command-line tool called scan-for-secrets to version 0.2. The tool checks files for secrets, like passwords or API keys, before you share them. The new version shows results immediately as it finds them instead of waiting until the whole scan finishes, which helps when scanning big folders. It can also scan several directories at once.

Version 0.2 of Willison's scan-for-secrets reduces the risk of accidentally publishing credentials like API keys. Streaming results and multi-directory scanning make it practical for large codebases, lowering the cost of adding a secrets check before sharing files. It is a free, open tool with no pricing involved; competitors include other secret-scanning utilities, and this release is a minor update rather than a new product.

scan-for-secrets 0.2 streams results via scan_directory_iter(), scan_file() and scan_file_iter() Python APIs instead of aggregating at completion. A -d/--directory flag is now repeatable for multiple directories, a new -f/--file flag targets individual files, and -v/--verbose prints each directory scanned. Streaming suits large directory trees where waiting for full completion was slow.

Read the original

This summary exists to save you time, not to replace the source.

Key terms

scan-for-secrets Simon Willison Datasette WorkOS Pyodide

Was this summary useful?

One click, anonymous. It tells us which summaries to re-run.

Related reading