stackhawk-hawkscan-model Cursor ruleA

stackhawk-hawkscan-model from stackhawk/agent-skills is a Cursor rule: instructions the Cursor agent follows in that repo.

Install it, pinned
mdr add stackhawk/agent-skills/cursor/.cursor/rules/stackhawk-hawkscan-model.mdc@git:20261028.6ebff33

Pins 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-model.mdc
Versions recorded
6
Latest version
git:20261028.6ebff33, committed Oct 28, 2026
First version recorded
Jun 23, 2026
Size
17,926 bytes
Repository stars
16
License
MIT

HawkScan StackHawk platform model: Org → App → Env → Scan hierarchy, what goes in stackhawk.yml vs what doesn't, finding triage state machine (New/Accepted/False Positive/Reopened) and agent behavior per state, tags for commit traceability (_STACKHAWK_GIT_COMMIT_SHA, _STACKHAWK_GIT_BRANCH), technology flags (platform UI only — no API yet), hawk rescan --scan-id for fast fix verification in the agentic loop, create vs reuse decision trees for Apps and Envs.

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

# StackHawk Platform Model

Deep reference for the object model behind every HawkScan run. Read this
when the primer in `SKILL.md` isn't enough, when you see an unexpected
`findings[].paths[].status` value, or when deciding whether to create a
new App / Env.

## Table of Contents

1. [The Four Objects in Detail](#the-four-objects-in-detail)
2. [What Goes in `stackhawk.yml` (and What Doesn't)](#what-goes-in-stackhawkyml-and-what-doesnt)
3. [The Finding Lifecycle (Triage States)](#the-finding-lifecycle-triage-states)
4. [Tags and Commit Traceability](#tags-and-commit-traceability)
5. [Technology Flags](#technology-flags)
6. [Rescan: Derived Scans for Fast Fix Verification](#rescan-derived-scans-for-fast-fix-verification)
7. [Create vs. Reuse Decision Tree](#create-vs-reuse-decision-tree)
8. [Cross-Reference to the api Skill](#cross-reference-to-the-api-skill)

---

## The Four Objects in Detail

### Organization (`orgId`)

The tenant. A UUID tied to your StackHawk account. Set implicitly by your
`HAWK_API_KEY` (each key is scoped to one org); you rarely reason about it
directly. `hawk op org get` shows the active org.
…

Read the whole file at its exact version.

How to install

The exact contents, by fingerprint
mdr add stackhawk/agent-skills/cursor/.cursor/rules/stackhawk-hawkscan-model.mdc@sha256:aacad483ef77e9a9

The 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.

Badge

mdr badge

[![mdr](https://markdownregistry.com/badge/art_jvvdijvogkrw2fwi.svg)](https://markdownregistry.com/a/art_jvvdijvogkrw2fwi)

3 badge image fetches in 30 days. What the badge shows.

Versions

The registry has recorded 6 versions of this file, between Jun 23, 2026 and Oct 28, 2026, about one every 25 days.

versioncommittedcommitsizeaudit
git:20261028.6ebff33 latest2026-10-28 6ebff33 17,926 BA view · diff
git:20260914.5fe0d682026-09-14 5fe0d68 17,932 BA view · diff
git:20260713.1c3038d2026-07-13 1c3038d 17,801 BA view · diff
git:20260630.b97573a2026-06-30 b97573a 17,795 BA view · diff
git:20260624.e97acce2026-06-24 e97acce 17,707 BA view · diff
git:20260623.eb8601c2026-06-23 eb8601c 17,692 BA view

Audit of the latest version

A  14 of 14 checks passed. Fixed automatic checks with no AI involved, so the same checks give the same answer every run.
  • pass: Size between 200 bytes and 200 KB (17926 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

GitHub

stackhawk/agent-skills · 16 stars · license MIT · pushed 2026-11-06 · branch main

API

GET https://markdownregistry.com/api/v1/artifacts/art_jvvdijvogkrw2fwi
GET https://markdownregistry.com/api/v1/resolve?ref=stackhawk/agent-skills/cursor/.cursor/rules/stackhawk-hawkscan-model.mdc
GET https://markdownregistry.com/api/v1/blob/aacad483ef77e9a9a40d0af7433368f75dd1684fa2e129a5f75ed2792232c75d

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.

More from stackhawk/agent-skills

skill-authoring SKILL.md skill
stackhawk/agent-skills · .claude/skills/skill-authoring/SKILL.md · Guides authoring and maintaining agent skills in this repository — enforcing Anthropic best practices, release-version…
v1.1.0 · audit A · 16 stars
AGENTS.md AGENTS.md file
stackhawk/agent-skills · AGENTS.md
git:20261028.d9c66cc · audit A · 16 stars
CLAUDE.md CLAUDE.md file
stackhawk/agent-skills · CLAUDE.md
git:20260926.400c868 · audit B · 16 stars
stackhawk-api-hawk-op Cursor rule
stackhawk/agent-skills · cursor/.cursor/rules/stackhawk-api-hawk-op.mdc · hawk op shortcuts for the StackHawk API: user intent → single hawk op command mapping for scan drill-down…
git:20260914.5fe0d68 · audit A · 16 stars
stackhawk-api-recipes Cursor rule
stackhawk/agent-skills · cursor/.cursor/rules/stackhawk-api-recipes.mdc · StackHawk API reporting recipes: org security posture summary, app deep dive (scan -> alerts -> findings), stale apps…
git:20260914.dee6251 · audit A · 16 stars
stackhawk-api Cursor rule
stackhawk/agent-skills · cursor/.cursor/rules/stackhawk-api.mdc · Use when querying the StackHawk platform for security reporting, findings analysis, or app management. Triggers include…
git:20260914.7edcfdc · audit A · 16 stars
stackhawk-data-seed Cursor rule
stackhawk/agent-skills · cursor/.cursor/rules/stackhawk-data-seed.mdc · Use when the user says "set up data for HawkScan", "my scan has no data to hit", "seed this repo for scanning", or as a…
git:20260708.5dcc3eb · audit A · 16 stars
stackhawk-hawkscan-ci-app-startup Cursor rule
stackhawk/agent-skills · cursor/.cursor/rules/stackhawk-hawkscan-ci-app-startup.mdc · HawkScan CI app-startup patterns reference: Docker Compose + wait-for-it, GitLab services keyword, GitHub Actions…
git:20260610.e0f728f · audit A · 16 stars
stackhawk-hawkscan-ci-execution-shapes Cursor rule
stackhawk/agent-skills · cursor/.cursor/rules/stackhawk-hawkscan-ci-execution-shapes.mdc · HawkScan CI execution shapes reference: native action (stackhawk/hawkscan-action) vs Docker image (stackhawk/hawkscan)…
git:20260630.b97573a · audit A · 16 stars
stackhawk-hawkscan-ci-failure Cursor rule
stackhawk/agent-skills · cursor/.cursor/rules/stackhawk-hawkscan-ci-failure.mdc · HawkScan CI failure semantics reference: exit codes 0/1/42, failureThreshold tuning, block-on-42 vs warn-only vs…
git:20260630.b97573a · audit A · 16 stars
stackhawk-hawkscan-ci Cursor rule
stackhawk/agent-skills · cursor/.cursor/rules/stackhawk-hawkscan-ci.mdc · Use when the user wants to WIRE HawkScan into a CI/CD pipeline config file — triggers on "set up hawkscan in CI", "add…
git:20260918.09d070f · audit A · 16 stars
stackhawk-hawkscan-cli Cursor rule
stackhawk/agent-skills · cursor/.cursor/rules/stackhawk-hawkscan-cli.mdc · hawk CLI reference: scan commands and flags (--json-output, --verbose, --debug, --trace), validate commands (config…
git:20260914.7edcfdc · audit A · 16 stars

Every file in stackhawk/agent-skills

Browse by kind, by grade A, or by owner.