stackhawk-hawkscan-cli Cursor ruleA
stackhawk-hawkscan-cli from stackhawk/agent-skills is a Cursor rule: instructions the Cursor agent follows in that repo.
mdr add stackhawk/agent-skills/cursor/.cursor/rules/stackhawk-hawkscan-cli.mdc@git:20260914.7edcfdcPins git:20260914.7edcfdc in mdr.lock. Pin the fingerprint instead.
- Audit grade
- A, 14 of 14 checks passed
- Kind
- Cursor rule
- Repository
- stackhawk/agent-skills
- Path
cursor/.cursor/rules/stackhawk-hawkscan-cli.mdc- Versions recorded
- 5
- Latest version
- git:20260914.7edcfdc, committed Sep 14, 2026
- First version recorded
- Jun 23, 2026
- Size
- 12,905 bytes
- Repository stars
- 16
- License
- MIT
hawk CLI reference: scan commands and flags (--json-output, --verbose, --debug, --trace), validate commands (config, api, auth), perch daemon mode, diagnostic commands, exit codes, subcommand options for scan scope, scanner behavior, output artifacts, and git integration.
Collected from public GitHub. Every version is saved exactly as it was and never changes. Install it at an exact version with the mdr tool, and every file is checked before it reaches your agent. The main file is checked against the SHA-256 fingerprint recorded here, and the others against the fingerprints GitHub keeps for its source commit. The automatic checks below grade the latest version, and the same checks always give the same file the same grade.
What the file says
# HawkScan CLI Reference The `hawk` CLI is preferred for local/agentic use — lower overhead than Docker, faster iteration on config, and better localhost networking. **Option resolution order:** CLI flag → `API_KEY` environment variable → `~/.hawk/hawk.properties`. In any **non-interactive session** (CI, containers, headless agents), prefix every invocation with `API_KEY=$HAWK_API_KEY hawk ...` — `hawk init` needs a browser and a person. In an interactive session, `hawk init --browser` writes credentials to `~/.hawk/hawk.properties` once and no env var is needed. ## Contents - [Top-Level Options](#top-level-options) - [Setup](#setup) - [Core Scan Commands](#core-scan-commands) - [Scan Flags for Agentic Loops](#scan-flags-for-agentic-loops) - [Memory and Crash Detection](#memory-and-crash-detection) - [Validation Commands](#validation-commands) - [hawk config](#hawk-config) - [Diagnostic Commands](#diagnostic-commands) - [Perch (Daemon Mode)](#perch-daemon-mode) - [Subcommand Options](#subcommand-options) - [Exit Codes](#exit-codes) - [Config File Path Rules](#config-file-path-rules) --- ## Top-Level Options These go **before** the command (`hawk [options] <command>`): …
Read the whole file at its exact version.
How to install
mdr add stackhawk/agent-skills/cursor/.cursor/rules/stackhawk-hawkscan-cli.mdc@sha256:53510b129c2cca71The line at the top of this page pins the label git:20260914.7edcfdc, which is what most people want. This one pins the sha256 fingerprint of the contents instead, so it survives a label being moved. Either way the exact version is written to mdr.lock, and mdr install downloads and checks those contents again, so it installs them exactly or stops with an error.
[](https://markdownregistry.com/a/art_phq2tsyzio6h3mfg)
3 badge image fetches in 30 days. What the badge shows.
Versions
The registry has recorded 5 versions of this file, between Jun 23, 2026 and Sep 14, 2026, about one every 21 days.
| version | committed | commit | size | audit | |
|---|---|---|---|---|---|
| git:20260914.7edcfdc latest | 2026-09-14 | 7edcfdc | 12,905 B | A | view · diff |
| git:20260914.830087c | 2026-09-14 | 830087c | 13,018 B | A | view · diff |
| git:20260914.5fe0d68 | 2026-09-14 | 5fe0d68 | 12,860 B | A | view · diff |
| git:20260630.b97573a | 2026-06-30 | b97573a | 10,694 B | A | view · diff |
| git:20260623.eb8601c | 2026-06-23 | eb8601c | 10,664 B | A | view |
Audit of the latest version
- pass: Size between 200 bytes and 200 KB (12905 bytes)
- pass: No zero-width or bidi control characters
- pass: No instruction hidden inside an HTML comment
- pass: No link to an exfiltration or paste host
- pass: No credential-shaped string
- pass: No instruction to send local credentials anywhere
- pass: No text hidden with inline styles
- pass: No prompt-injection phrasing
- pass: No curl or wget piped into a shell
- pass: No recursive delete of root, home or parent
- pass: No instruction to read or print local credentials
- pass: No base64 blob over 200 characters
- pass: No link to a raw IP address
- pass: No script tag
Source
stackhawk/agent-skills · 16 stars · license MIT · pushed 2026-11-06 · branch main
API
GET https://markdownregistry.com/api/v1/artifacts/art_phq2tsyzio6h3mfg GET https://markdownregistry.com/api/v1/resolve?ref=stackhawk/agent-skills/cursor/.cursor/rules/stackhawk-hawkscan-cli.mdc GET https://markdownregistry.com/api/v1/blob/53510b129c2cca71a27214a029edde14921a8a2140e448b363d4748a777e2352
Your AI assistant does the legwork. You hear about the deals worth your word. Hand yours the standing instructions at modelranch.com and it joins the network that reads files like this one.
Guides: Cursor rules vs AGENTS.md · which agent file does what.