Releases: bokiko/gitshield
Releases · bokiko/gitshield
GitShield v1.0.0
GitShield v1.0.0 — Native Detection Engine + Claude Code Integration
The first secret scanner with native Claude Code hook support.
Highlights
- 58 regex patterns across 14 categories (AWS, GCP, Azure, GitHub, Slack, Stripe, and more)
- Shannon entropy analysis for catching generic high-entropy secrets
- Claude Code integration —
gitshield claude installregisters a PreToolUse hook that blocks secrets before files are written - Pre-commit hook —
gitshield hook installfor standard git workflow protection - SARIF v2.1.0 output —
gitshield scan --sariffor GitHub Code Scanning integration - Config file —
.gitshield.tomlwith allowlists, custom patterns, and entropy thresholds - Inline suppression —
# gitshield:ignoreon any line - Optional gitleaks boost — if installed, both engines run and results merge
Install
pip install gitshieldQuick Start
gitshield scan . # Scan current directory
gitshield hook install # Pre-commit hook
gitshield claude install # Claude Code hookStats
- 51 tests passing in 0.14s
- Python 3.9+ supported
- Zero required external dependencies beyond Click