Security configuration scanner for developer environments
2.2K
Security scanner for developer environments
obacht inspects your local development setup for security misconfigurations — insecure file permissions, exposed credentials, weak SSH/Git settings, risky Docker access — using an embedded OPA engine and Rego policies. It is lightweight, read-only, and requires no agent or endpoint management platform.
--rules-dir for custom Rego policiesdocker run --rm foomo/obacht:latest scan
Multi-arch images (amd64, arm64) are published to Docker Hub.
mise use github:foomo/obacht
or run directly:
mise x github:foomo/obacht -- scan
See mise.jdx.dev.
Download the archive for your OS/arch from the releases page and extract obacht into your $PATH.
go install github.com/foomo/obacht/cmd/obacht@latest
Requires Go 1.26+.
$ obacht --help
Security configuration scanner for developer environments
Usage:
obacht [flags]
obacht [command]
Available Commands:
completion Generate the autocompletion script for the specified shell
doctor Check obacht dependencies and configuration
explain Show detailed information about a rule
help Help about any command
scan Scan the local development environment for security issues
Flags:
--format string output format (pretty, json) (default "pretty")
-h, --help help for obacht
--rules-dir string use rules from this directory instead of embedded rules
--verbose enable verbose output
-v, --version version for obacht
Use "obacht [command] --help" for more information about a command.
Contributions are welcome! Please read the contributing guide.
Distributed under MIT License, please see license file within the code for more details.
Made with ♥ foomo by bestbytes
Content type
Image
Digest
sha256:ca727d570…
Size
12.1 MB
Last updated
3 months ago
docker pull foomo/obacht