A blazing-fast security scanner written in Go to detect hardcoded secrets and unencrypted environment files.
- Concurrency: Optimized use of Go Goroutines for high-throughput file system scanning.
- Go Ecosystem: Demonstrates mastery of Cobra CLI, cross-platform compilation, and Git-hook integration.
- Zero Dependencies: Compiled static binary with no external runtime requirements.
- Language: Go 1.22+
- CLI Framework: Cobra
- Git Integration: Go-Git
- Rules Engine: Custom YAML-based patterns
- Build:
go build -o envguard
- Scan Directory:
./envguard scan . - Scan Git History:
./envguard scan-git
- Pre-commit Hook: Automatically blocks commits if secrets are detected.
- Recursive Scanning: Deep inspection of subdirectories and hidden files.
- Low Memory Footprint: Efficiently handles large repositories without bloat.
Part of the 10-Project OSS Portfolio.