ShareClean redacts secrets from logs before you share them
ShareClean is a small Python that removes sensitive information from logs, error traces, config snippets, and terminal output before they are shared. It is meant for moments when someone is about to paste text into a GitHub issue, support ticket, Slack message, support thread, or another public place. The text is handled locally, with no .
It has no telemetry and no . It can redact passwords, API keys, , JWT-like values, emails, local user paths, and optionally private . For example, an email can be replaced with [EMAIL REDACTED], and a password inside a database connection string can be replaced with [REDACTED].
A --check mode lets it run in scripts, hooks, and CI. It is not meant to replace full repository secret scanners like gitleaks or trufflehog; it is for the everyday step right before sharing logs somewhere.
Key points
- ShareClean cleans logs, error traces, config snippets, and terminal output before sharing.
- It and does not send the text over the network.
- It can redact emails, passwords, API keys, , JWT-like values, local paths, and private .
- The --check mode can be used in scripts, hooks, and CI.
- It is a quick sharing safety step, not a replacement for full repository secret scanners.