AttackMap · Getting started
Install
AttackMap needs Python 3.11+. It’s on PyPI with all 15 official analyzer plugins, and in the Homebrew tap. The same release files are also on the M&L AI package index and GitHub.
The CLI and all 15 official analyzer plugins:
brew install mlaify/tap/attackmapThe CLI and all 15 official analyzer plugins, from PyPI:
uv tool install "attackmap[all]"From PyPI, with all 15 analyzer plugins (drop [all] for core only):
pipx install "attackmap[all]"From PyPI, into a virtualenv (drop [all] for core only):
pip install "attackmap[all]"Optional: LLM support#
The AI-review modes work through the claude / codex CLIs with no extra
install. To use the API backends instead, add the LLM extra (pulls in the
anthropic and openai SDKs):
pip install "attackmap[llm]"See AI review for how backends and credentials resolve.
Optional: everything#
The all extra adds all 15 official ecosystem analyzer plugins up front, each
pinned to its release on PyPI. Homebrew installs them too. Without
them, a plain attackmap analyze never installs plugins; use
attackmap suggest . --install or --module <name> (see
Analyzers):
uv tool install "attackmap[all]"A single plugin also installs on its own and pulls in AttackMap with it, for
example uv tool install attackmap --with attackmap-analyzer-go.
To install from the M&L AI package index instead (the
same files), point uv at it with --index-strategy first-index. Don’t mix it
in with pip --extra-index-url: pip takes the highest version from any index.
macOS app#
Prefer a GUI? The native macOS front end drives the same CLI. The cask installs the CLI too:
brew install --cask mlaify/tap/attackmap-appOr build it from source: mlaify/AttackMap-mac.
See macOS app.
Verify#
attackmap --help
attackmap modules # list installed analyzer modules