scan-for-secrets 0.3
Simon Willison
Archived Apr 06, 2026
✓ Full text saved
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
✦ Summarize
☆ Save
Full text archived locally
Simon Willison’s Weblog
Subscribe
Sponsored by: WorkOS — Production-ready APIs for auth and access control, so you can ship faster.
RELEASE
scan-for-secrets 0.3
— Scan for secrets in files you plan to share
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.
Posted 6th April 2026 at 2:59 am
Recent articles
The Axios supply chain attack used individually targeted social engineering - 3rd April 2026
Highlights from my conversation about agentic engineering on Lenny's Podcast - 2nd April 2026
Mr. Chatterbox is a (weak) Victorian-era ethically trained model you can run on your own computer - 30th March 2026
This is a beat by Simon Willison, posted on 6th April 2026.
projects 524
Monthly briefing
Sponsor me for $10/month and get a curated email digest of the month's most important LLM developments.
Pay me to send you less!
Sponsor & subscribe
Disclosures Colophon © 2002 2003 2004 2005 2006 2007 2008 2009 2010 2011 2012 2013 2014 2015 2016 2017 2018 2019 2020 2021 2022 2023 2024 2025 2026