Before You Paste That Log: A Safer Debugging Habit
说明与用途
ShareClean 是一个本地 CLI,能够在保留调试上下文的同时,仅删除日志中的敏感数据,从而安全共享调试信息。
问题
Developers often share logs or command output that contain sensitive data, risking accidental exposure of credentials, tokens, or personal information.
结果
ShareClean removes sensitive values from logs while keeping useful context, enabling safe sharing of debugging information without exposing secrets.
工作流
- Install ShareClean via pipx
- Run shareclean on a log file or pipe output from a command
- Optionally use --output to write a cleaned copy
- Use --report to view a summary of redactions
- Use --check with --fail-on to enforce redaction policies in CI or pre-share workflows
证据
ShareClean is a local-first Python CLI for sanitizing developer output before sharing it.
The report is designed not to include matched values, source snippets, filenames, paths, hashes, or masked previews.
No pattern-based tool can guarantee that every secret format will be detected.
- 记录日期: 2026-09-05T14:18:14.860Z