I made this because the scanners I tried were good at finding a secret but left me to fix each one by hand, so I added the redaction step to make security convenient. Few things it does: No dependencies, just the Python 3.11+ standard library Interactive by default (y/n per finding), or --fix-all to batch fix all. It backs up a file before editing it, and only shows the first few characters of any secret in its output. If you already use Gitleaks or TruffleHog, you can feed it their report and it'll redact those findings too (I am working on adding more tools support) Repo: https://github.com/rxb06/credactor pip install credactor https://preview.redd.it/n047pxktdt9h1.png?width=1660&format=png&auto=webp&s=954d1aa5f48952f8da1813c196e7c8f441d2f67e   submitted by   /u/rx221b [link]   [comments]