8000 GitHub - foomo/obacht: Security configuration scanner for developer environments · GitHub
[go: up one dir, main page]

Skip to content
foomoPublic

About

Security configuration scanner for developer environments

Topics

Resources

Code of conduct

Contributing

Security policy

Stars

4 stars

Watchers

0 watching

Forks

Repository files navigation

Go Report Card GoDoc Coverage GitHub Downloads Docker Pulls GitHub Stars

obacht

Obacht

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.

Demo

obacht demo

Features

  • 118 built-in rules across 13 categories: SSH, Git, Docker, Kubernetes, env, shell, tools, PATH, OS, credentials, privacy, Claude Code, bumblebee
  • OPA-powered with an embedded Rego engine — no external dependencies
  • Read-only collectors — never modifies system state
  • Extensible via --rules-dir for custom Rego policies
  • Pretty TUI or machine-readable JSON output for CI

Installation

Homebrew (macOS / Linux)
brew install foomo/tap/obacht

See the foomo/homebrew-tap repository.

Docker
docker run --rm foomo/obacht:latest scan

Multi-arch images (amd64, arm64) are published to Docker Hub.

mise
mise use github:foomo/obacht

or run directly:

mise x github:foomo/obacht -- scan

See mise.jdx.dev.

Binary release

Download the archive for your OS/arch from the releases page and extract obacht into your $PATH.

go install
go install github.com/foomo/obacht/cmd/obacht@latest

Requires Go 1.26+.

Usage

$ 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.

Resources

How to Contribute

Contributions are welcome! Please read the contributing guide.

Contributors

License

Distributed under MIT License, please see license file within the code for more details.

Made with ♥ foomo by bestbytes

About

Security configuration scanner for developer environments

Topics

Resources

Code of conduct

Contributing

Security policy

Stars

4 stars

Watchers

0 watching

Forks

Releases

Used by

Contributors

Languages

0