Security Safety And PolicySafety Policy

Scanning folders for leaked secrets before sharing logs

April 5, 2026Simon Willison

Simon Willison releases a Python CLI to scan folders for secret strings like API keys, reflecting a practical response to accidental credential leakage when sharing artifacts with others or with LLMs.

I built a new Python CLI tool for scanning folders for secret strings, useful if you want to share a bunch of log files but first want to check they didn't accidentally leak API keys or similar.
uvx scan-for-secrets --help
Simon Willison
secretsclicliapi keys

See what authorities are saying right now

This finding is one of many signals tracked across Artificial Intelligence. The live feed updates every few hours with new authority voices, debates, and emerging ideas.

← Back to Artificial Intelligence