StackHawk Documentation StackHawk Logo HawkDocs

No results found

Try different keywords or check your spelling

Search documentation

Find guides, API references, and more

esc

Codex

codex plugin marketplace add stackhawk/agent-skills
codex plugin add hawkscan@stackhawk
codex plugin add stackhawk-api@stackhawk
brew tap stackhawk/cli && brew install hawk hawkop

Download and run the installers from docs.stackhawk.com/downloads:

  • hawk — Windows MSI (includes bundled Java)
  • hawkop — Windows MSI

CMD users: use PowerShell (built into Windows 10+) or WSL.

Then authenticate both CLIs:

hawk init
hawkop init

hawk init prompts for your API key (hawk.xxxxxxxxxx.xxxxxxxxxx) — get one at app.stackhawk.comSettings → API Keys. hawkop init picks up the key automatically and prompts for your default organization.

After installation, ask Codex: “What StackHawk skills do you have?”

Ask Codex to scan your application:

Scan my app running on localhost:8080 for security vulnerabilities

Codex will configure HawkScan, run the scan, parse findings, and help you fix them.

  • The agent checks if your app is running and will prompt you to start it if needed
  • For authenticated endpoints, describe your auth pattern and Codex will configure the scan
  • Use hawk validate config stackhawk.yml to debug config issues

Your privacy settings

We use first and third party cookies to ensure that we give you the best experience on our website and in our products.