Settings

Theme

Show HN: Keychase – A zero-config, offline Python secret scanner

github.com

1 points by Iflal 2 months ago · 5 comments

Reader

chloeeekim 2 months ago

Scanning deep git history sounds useful. Have you run into performance issues on larger repos? That’s usually where these tools start to struggle.

  • IflalOP 2 months ago

    You hit the nail on the head; that is absolutely the biggest bottleneck.

    Right now, I am using Python's multiprocessing to parallelize the commit traversal, and the scanner actively ignores standard binary and media file extensions to keep memory overhead in check. On mid-sized repositories, it holds up nicely. However, on massive monorepos with years of heavy history, it will definitely lag behind compiled Go tools.

    To mitigate this for daily workflows, I added a --depth flag so developers can limit the scan to the last N commits (e.g., just checking their current feature branch history before pushing). Profiling and optimizing the traversal tree for massive repos is my next major architectural focus.

Keyboard Shortcuts

j
Next item
k
Previous item
o / Enter
Open selected item
?
Show this help
Esc
Close modal / clear selection