Skip to content

Releases: bokiko/gitshield

GitShield v1.0.0

16 Feb 18:45

Choose a tag to compare

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 integrationgitshield claude install registers a PreToolUse hook that blocks secrets before files are written
  • Pre-commit hookgitshield hook install for standard git workflow protection
  • SARIF v2.1.0 outputgitshield scan --sarif for GitHub Code Scanning integration
  • Config file.gitshield.toml with allowlists, custom patterns, and entropy thresholds
  • Inline suppression# gitshield:ignore on any line
  • Optional gitleaks boost — if installed, both engines run and results merge

Install

pip install gitshield

Quick Start

gitshield scan .                # Scan current directory
gitshield hook install          # Pre-commit hook
gitshield claude install        # Claude Code hook

Stats

  • 51 tests passing in 0.14s
  • Python 3.9+ supported
  • Zero required external dependencies beyond Click