-
Notifications
You must be signed in to change notification settings - Fork 6
Getting Started
HoraDomu edited this page Jun 19, 2026
·
2 revisions
From source (requires Go 1.23+)
go install github.com/HoraDomu/Atheon@latestPre-built binaries
Download from the Releases page for Linux, macOS, and Windows.
# Scan the current directory
atheon .
# Scan a specific directory
atheon /path/to/repo
# Scan a single file
atheon scan secrets.env| Command | Description |
|---|---|
atheon . |
Scan current directory |
atheon scan <file> |
Scan a single file |
atheon env |
Scan environment variables |
atheon list categories |
List available pattern categories |
atheon list patterns |
List all patterns |
atheon list patterns --enabled |
List only enabled patterns |
atheon list patterns --disabled |
List only disabled patterns |
# Default (human-readable)
atheon .
# JSON (pipe-friendly)
atheon . --format json
# Redact matched values
atheon . --redactCreate a .atheonignore file in your repo root — same syntax as .gitignore:
# ignore test fixtures
testdata/
*.golden
# ignore a specific file
internal/testkeys.go
Atheon also respects .gitignore automatically.
To block commits containing findings:
# .git/hooks/pre-commit
#!/bin/sh
atheon . && exit 0