stackhawk-hawkscan-scan-planning Cursor ruleA
stackhawk-hawkscan-scan-planning 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-scan-planning.mdc@git:20261009.d0eea86Pins git:20261009.d0eea86 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-scan-planning.mdc- Versions recorded
- 6
- Latest version
- git:20261009.d0eea86, committed Oct 9, 2026
- First version recorded
- Jul 13, 2026
- Size
- 15,464 bytes
- Repository stars
- 16
- License
- MIT
HawkScan scan-planning (discovery) reference: code-first discovery of an app's API surfaces before writing or editing stackhawk.yml — reading repo docs first, per-framework route inventory, recommending code changes for structural gaps, asking the user instead of guessing, and producing a per-surface stackhawk.yml config. Use for the first scan of a repo, a quality-gate structural gap, or a user-requested re-plan.
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
# Scan Planning Reference (Discovery) Discovery is how the hawkscan skill decides *what* to scan and *how* before it writes or edits a single `stackhawk.yml`. Run it in three situations: - **First scan of a repo.** No `stackhawk.yml` exists yet (SKILL.md Step 1a / Step 2a) — discovery produces the surface inventory that Step 2a's config generation consumes. - **The quality gate looped back with a structural gap.** A post-scan coverage check found routes the scan never reached, or a surface it didn't know existed. Re-run discovery against that specific gap rather than starting over. - **The user asks to re-plan the scan.** New API surface added, a monorepo grew a service, an old assumption no longer holds. Discovery is stateless: there is no plan file. `stackhawk.yml` is the only durable artifact, and anything the user tells you that isn't a config field belongs as a comment in `stackhawk.yml` or in the repo's `CLAUDE.md`/`AGENTS.md` — see "Ask, don't guess" below. Work code-first, interactively: explore before asking, ask the user before guessing, and never stall waiting for information you could get by reading three more files or asking one direct question. …
Read the whole file at its exact version.
How to install
mdr add stackhawk/agent-skills/cursor/.cursor/rules/stackhawk-hawkscan-scan-planning.mdc@sha256:1d749407dec08155The line at the top of this page pins the label git:20261009.d0eea86, 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_eskbl6d2lluyh2uq)
3 badge image fetches in 30 days. What the badge shows.
Versions
The registry has recorded 6 versions of this file, between Jul 13, 2026 and Oct 9, 2026, about one every 18 days.
| version | committed | commit | size | audit | |
|---|---|---|---|---|---|
| git:20261009.d0eea86 latest | 2026-10-09 | d0eea86 | 15,464 B | A | view · diff |
| git:20260914.5fe0d68 | 2026-09-14 | 5fe0d68 | 14,863 B | A | view · diff |
| git:20260713.4910358 | 2026-07-13 | 4910358 | 13,990 B | A | view · diff |
| git:20260713.7d8495c | 2026-07-13 | 7d8495c | 14,550 B | A | view · diff |
| git:20260713.9b9f56d | 2026-07-13 | 9b9f56d | 14,277 B | A | view · diff |
| git:20260713.f5afd26 | 2026-07-13 | f5afd26 | 13,628 B | A | view |
Audit of the latest version
- pass: Size between 200 bytes and 200 KB (15464 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_eskbl6d2lluyh2uq GET https://markdownregistry.com/api/v1/resolve?ref=stackhawk/agent-skills/cursor/.cursor/rules/stackhawk-hawkscan-scan-planning.mdc GET https://markdownregistry.com/api/v1/blob/1d749407dec0815591fd66e34fc63f450cc990e8911ab73e60ae92bfdf745aff
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.