Local-first SAST CLI tool written in Go that scans codebases for vulnerabilities and automatically fixes them using Ollama LLMs.
cli go security
Shieldguard is a security tool designed for developers who need fast, reliable, and offline-capable tools. Built with Go for maximum performance and minimal resource usage.
- π Fast β Compiled Go binary, no runtime dependencies
- π Secure β CodeQL security analysis + Dependabot
- π Offline-first β Works without internet connection
- π¦ Lightweight β Single binary, minimal footprint
- π οΈ Developer-friendly β Clean CLI with helpful documentation
- Go 1.21 or higher
git clone https://github.com/AetherCodeHQ/shieldguard.git
cd shieldguard
go build -o shieldguard ../shieldguard --help# Basic usage
./shieldguard --path ./target
# With options
./shieldguard --path ./target --format json --output report.json
# Verbose mode
./shieldguard --path ./target --verbose- β High-performance Go implementation
- β Cross-platform support (Windows, Linux, macOS)
- β JSON export for CI/CD integration
- β Colored terminal output
- β Configurable via YAML/JSON
- β Comprehensive documentation
| Flag | Description | Default |
|---|---|---|
--path |
Target directory | . |
--format |
Output format (json, text, badge) | text |
--output |
Output filename | stdout |
--verbose |
Enable verbose output | false |
--config |
Config file path | - |
./shieldguard --path ./my-project./shieldguard --path ./my-project --format json --output report.json# .github/workflows/scan.yml
- name: Run Shieldguard
run: ./shieldguard --path . --format json --output report.json# Clone the repo
git clone https://github.com/AetherCodeHQ/shieldguard.git
cd shieldguard
# Build
go build -o shieldguard .
# Run tests
go test ./...
# Lint
golangci-lint runContributions are welcome! Please see CONTRIBUTING.md for guidelines.
If you discover a security vulnerability, please report it responsibly. See SECURITY.md for details.
This project is licensed under the MIT License β see the LICENSE file for details.
Built with β€οΈ by AetherCode β’ AetherCode-Core
- Professional documentation with badges
- CI/CD pipeline with GitHub Actions
- Security analysis with CodeQL
- Dependency management with Dependabot
- Code quality with GolangCI-Lint
- Issue and PR templates
- Contributing guidelines
| Category | Description |
|---|---|
| Other | This project is part of the AetherCode ecosystem |
Part of AetherCode Core ecosystem.