Quick Start¶
Get up and running with SecScan in under 5 minutes!
Installation¶
The fastest way to install SecScan:
Verify Installation¶
Expected output:
Your First Scan¶
Scan Current Directory¶
This will:
- Scan all files in the current directory
- Include git history if in a git repository
- Respect
.gitignorepatterns - Display findings with color-coded severity
Scan a Specific Project¶
Quick Scan (Skip Git History)¶
For faster scans:
Understanding Results¶
SecScan categorizes findings by confidence level:
- 🔴 HIGH (90-100%) - Very likely a real secret
- 🟡 MEDIUM (70-89%) - Potentially sensitive
- 🟢 LOW (<70%) - May be a false positive
Example output:
[HIGH] File: config/database.go:42 (Pattern: PostgreSQL Connection String)
db_url = "postgresql://admin:p4ssw0rd@localhost/prod"
[MEDIUM] File: utils/crypto.go:15 (Pattern: High Entropy String)
secret_key = "a8f5f167f44f4964e6c998dee827110c"
Next Steps¶
- 📖 Learn more about Installation Options
- 🎯 Run your First Detailed Scan
- 🔧 Explore Configuration Options
- 💡 See more Examples
Common Issues¶
Permission Denied
If you get "permission denied" when running make install:
bash
# Use local installation instead
make install-local
Command Not Found
If secscan is not found after installation:
bash
# Add to PATH (add to ~/.bashrc or ~/.zshrc)
export PATH="$HOME/.local/bin:$PATH"
source ~/.bashrc