stackhawk-hawkscan-input-vectors Cursor ruleA
stackhawk-hawkscan-input-vectors 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-input-vectors.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-input-vectors.mdc- Versions recorded
- 4
- Latest version
- git:20260914.7edcfdc, committed Sep 14, 2026
- First version recorded
- Sep 14, 2026
- Size
- 5,649 bytes
- Repository stars
- 16
- License
- MIT
HawkScan input-vectors reference: active injection rules need a reachable sink; HAR seed (hawk.spider.har) for XML and other non-JSON request bodies because the OpenAPI request builder emits JSON for application/xml operations and blocks XXE; app.openApiConf.customVariables scoped per resource with path regex and the field-name collision caveat.
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
# Input Vectors Reference Active injection rules fire only on requests that carry an input **and** reach a live sink. A spec that renders the wrong request body, a path parameter with no real id behind it, or a GET-only crawl leaves whole rule families with nothing to test — and the scan reports nothing, which reads as "clean". This file gives the three recipes that fix that. Field syntax is canonical in `hawk config show <field-path> --text`; the YAML below shows shape only, with placeholders you must replace. ## Contents - [Rule: active injection needs a reachable sink](#rule-active-injection-needs-a-reachable-sink) - [HAR seed for XML and other non-JSON request bodies](#har-seed-for-xml-and-other-non-json-request-bodies) - [customVariables for per-resource values](#customvariables-for-per-resource-values) --- ## Rule: active injection needs a reachable sink An active rule (SQL injection, XSS, XXE, XPath, command injection) injects into a parameter and watches the response. That only works when: 1. the request **reaches the handler** — a real id or parent resource exists (`GET /p/<id>` with an id that is in the database, not a generated one), and …
Read the whole file at its exact version.
How to install
mdr add stackhawk/agent-skills/cursor/.cursor/rules/stackhawk-hawkscan-input-vectors.mdc@sha256:70b935ba459a7229The 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_wq7pabyn6vikhq2o)
3 badge image fetches in 30 days. What the badge shows.
Versions
The registry has recorded 4 versions of this file, all committed on Sep 14, 2026.
| version | committed | commit | size | audit | |
|---|---|---|---|---|---|
| git:20260914.7edcfdc latest | 2026-09-14 | 7edcfdc | 5,649 B | A | view · diff |
| git:20260914.1e1ce75 | 2026-09-14 | 1e1ce75 | 5,864 B | A | view · diff |
| git:20260914.35c9084 | 2026-09-14 | 35c9084 | 5,919 B | A | view · diff |
| git:20260914.5fe0d68 | 2026-09-14 | 5fe0d68 | 6,557 B | A | view |
Audit of the latest version
- pass: Size between 200 bytes and 200 KB (5649 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_wq7pabyn6vikhq2o GET https://markdownregistry.com/api/v1/resolve?ref=stackhawk/agent-skills/cursor/.cursor/rules/stackhawk-hawkscan-input-vectors.mdc GET https://markdownregistry.com/api/v1/blob/70b935ba459a72296d135f8ceb1c2ae33dbdb374a1668ca8212ae7288efa2a39
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.