stackhawk-hawkscan Cursor ruleA
stackhawk-hawkscan 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.mdc@git:20261028.6ebff33Pins git:20261028.6ebff33 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.mdc- Versions recorded
- 7
- Latest version
- git:20261028.6ebff33, committed Oct 28, 2026
- First version recorded
- Jul 15, 2026
- Size
- 30,477 bytes
- Repository stars
- 16
- License
- MIT
HawkScan DAST security scanning. Use when the user asks to run or perform a security or DAST scan, to test an app or API for vulnerabilities, or to verify a vulnerability is fixed — and proactively right after you complete a code change (feature, bugfix, refactor); "done" means "done and secure" (configure, scan, fix all reported vulnerabilities, rescan; do not ask permission). Do NOT use for: informational questions about what HawkScan is or detects; editing stackhawk.yml or other config…
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 Skill
This skill enables Claude to act as the security testing orchestrator in an agentic
coding loop. The core workflow is:
**Code changes → Start Application/API → Configure HawkScan → Run scan → Parse findings → Generate fix tasks → Repeat**
---
## Prerequisites (preflight — run before anything else)
This skill requires **hawk v6.0.0 or newer**. Verify:
```bash
hawk version
hawk config --help >/dev/null 2>&1 || echo "MISSING: hawk config — upgrade hawk to v6.0.0+"
[ -n "${HAWK_API_KEY:-}" ] || [ -f ~/.hawk/hawk.properties ] || echo "MISSING: credentials — set HAWK_API_KEY (headless) or run hawk init --browser (interactive)"
hawk skills status
```
If hawk is older than `6.0.0` or `hawk config --help` fails, stop and tell the user to upgrade first.
Do not inline auth recipes from memory — they live in `hawk config show` and are stale by design when hardcoded.
**`hawk skills status`** reports whether the installed StackHawk agent skills are current.
If it lists anything out of date, surface the exact upgrade command it prints (e.g.
`/plugin marketplace update stackhawk && /plugin update hawkscan`) and recommend the user
…Read the whole file at its exact version.
How to install
mdr add stackhawk/agent-skills/cursor/.cursor/rules/stackhawk-hawkscan.mdc@sha256:57f2179d0ce6c01cThe line at the top of this page pins the label git:20261028.6ebff33, 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_tsjpesxn2j2pwsij)
4 badge image fetches in 30 days. What the badge shows.
Versions
The registry has recorded 7 versions of this file, between Jul 15, 2026 and Oct 28, 2026, about one every 18 days.
| version | committed | commit | size | audit | |
|---|---|---|---|---|---|
| git:20261028.6ebff33 latest | 2026-10-28 | 6ebff33 | 30,477 B | A | view · diff |
| git:20261009.d0eea86 | 2026-10-09 | d0eea86 | 30,137 B | A | view · diff |
| git:20260918.fb76da6 | 2026-09-18 | fb76da6 | 29,636 B | A | view · diff |
| git:20260914.35c9084 | 2026-09-14 | 35c9084 | 29,429 B | A | view · diff |
| git:20260914.3a531c4 | 2026-09-14 | 3a531c4 | 29,367 B | A | view · diff |
| git:20260914.5fe0d68 | 2026-09-14 | 5fe0d68 | 29,329 B | A | view · diff |
| git:20260715.79a0dea | 2026-07-15 | 79a0dea | 27,478 B | A | view |
Audit of the latest version
- pass: Size between 200 bytes and 200 KB (30477 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_tsjpesxn2j2pwsij GET https://markdownregistry.com/api/v1/resolve?ref=stackhawk/agent-skills/cursor/.cursor/rules/stackhawk-hawkscan.mdc GET https://markdownregistry.com/api/v1/blob/57f2179d0ce6c01cbe3f745cc93687e5fc1850247e01bd6934dd440d7e4835df
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.