StackHawk Documentation StackHawk Logo HawkDocs

No results found

Try different keywords or check your spelling

Search documentation

Find guides, API references, and more

esc

Antigravity

agy plugin install https://github.com/stackhawk/agent-skills

The hawk CLI is a single self-contained binary — hawkop is now bundled in as hawk op, and no separate Java install is required.

brew tap stackhawk/cli && brew trust stackhawk/cli && brew install hawk

Download the self-contained hawk binary from the downloads page.

Download and run the hawk.exe MSI installer from the downloads page — self-contained, no Java required.

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

Then authenticate:

hawk init --browser

hawk init --browser opens your browser to approve access, then provisions and saves your API key automatically — no copy/paste. (On Windows, run hawk.exe init --browser.) Prefer to manage keys yourself? Create one at app.stackhawk.comSettings → API Keys.

After installation, ask agy: “What StackHawk skills do you have?” It should list the StackHawk skills — HawkScan scanning, API reporting, and more.

Ask agy to scan your application:

Scan my app running on localhost:8080 for security vulnerabilities

agy will generate a stackhawk.yml config if one doesn’t exist, validate it, run the scan, and present findings.

  • 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 agy 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.