stackhawk-hawkscan-high-iteration Cursor ruleA
stackhawk-hawkscan-high-iteration 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-high-iteration.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-high-iteration.mdc- Versions recorded
- 5
- Latest version
- git:20261028.6ebff33, committed Oct 28, 2026
- First version recorded
- May 18, 2026
- Size
- 6,390 bytes
- Repository stars
- 16
- License
- MIT
HawkScan high-iteration findings guide: per-finding fix guidance for CSP, CORS, Auth (unprotected endpoint), and Missing Security Headers. Covers why each finding fires, minimal done fix, curl verification command, rescan expectation, and escalation threshold (2 rescans for CSP/CORS/Auth, 1 for Missing Headers). Use when an agent is iterating on a security finding and needs to know what done looks like or when to stop.
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
# High-Iteration Findings Reference Findings that commonly cause agents to loop. For each, "done" is defined — use the verify command before rescanning, and escalate at the threshold instead of continuing. ## Contents - [Content Security Policy (CSP)](#content-security-policy-csp) - [CORS (Cross-Origin Resource Sharing)](#cors-cross-origin-resource-sharing) - [Authentication / Broken Auth (Unprotected Endpoint)](#authentication--broken-auth-unprotected-endpoint) - [Missing Security Headers](#missing-security-headers-hsts-x-frame-options-x-content-type-options-referrer-policy) --- **Escalation thresholds:** - **2 rescans** for complex policy/config findings: CSP, CORS, Auth - **1 rescan** for simple additive fixes: Missing Security Headers **Iteration-limit note:** Guard Rails sets a fix-verify cap of one fix pass per task — that applies to the loop as a whole. The escalation thresholds below apply within a single fix attempt for a specific finding and never extend the fix-verify cap: a finding still open after the pass's verifying scan is reported unfixed, and further rescans happen only in a pass the user requests. --- ## Content Security Policy (CSP) …
Read the whole file at its exact version.
How to install
mdr add stackhawk/agent-skills/cursor/.cursor/rules/stackhawk-hawkscan-high-iteration.mdc@sha256:466a48315bf74cb9The 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_ad7ljioeel5izjy4)
2 badge image fetches in 30 days. What the badge shows.
Versions
The registry has recorded 5 versions of this file, between May 18, 2026 and Oct 28, 2026, about one every 41 days.
| version | committed | commit | size | audit | |
|---|---|---|---|---|---|
| git:20261028.6ebff33 latest | 2026-10-28 | 6ebff33 | 6,390 B | A | view · diff |
| git:20260630.b97573a | 2026-06-30 | b97573a | 6,299 B | A | view · diff |
| git:20260623.eb8601c | 2026-06-23 | eb8601c | 6,298 B | A | view · diff |
| git:20260623.1447f30 | 2026-06-23 | 1447f30 | 5,915 B | A | view · diff |
| git:20260518.08bcc4c | 2026-05-18 | 08bcc4c | 5,917 B | A | view |
Audit of the latest version
- pass: Size between 200 bytes and 200 KB (6390 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_ad7ljioeel5izjy4 GET https://markdownregistry.com/api/v1/resolve?ref=stackhawk/agent-skills/cursor/.cursor/rules/stackhawk-hawkscan-high-iteration.mdc GET https://markdownregistry.com/api/v1/blob/466a48315bf74cb9c40166ad8be381a4eec335c849183306e2992f257e85bcdf
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.