stackhawk-hawkscan-config Cursor ruleA
stackhawk-hawkscan-config 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-config.mdc@git:20260926.36b2a3fPins git:20260926.36b2a3f 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-config.mdc- Versions recorded
- 6
- Latest version
- git:20260926.36b2a3f, committed Sep 26, 2026
- First version recorded
- May 22, 2026
- Size
- 4,841 bytes
- Repository stars
- 16
- License
- MIT
stackhawk.yml cross-cutting config patterns: env var interpolation (${VAR:default}, whole-value rule), multi-environment config (host interpolation vs file layering), common config-time gotchas. For per-field syntax, use `hawk config show <field-path> --text`. For authentication, follow Phase 1c in SKILL.md.
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 Config Patterns Reference
> **Looking for per-field syntax?** Use `hawk config show <field-path> --text` for the canonical reference (e.g. `hawk config show hawk.spider --text`). This file documents *patterns* — env var interpolation, multi-env composition, common config-time gotchas — not individual field reference.
For authentication, follow Phase 1c in `SKILL.md` (uses `hawk config show <section> --text`).
## Table of Contents
1. [Env Var Interpolation](#env-var-interpolation)
2. [Multi-Environment Config](#multi-environment-config)
3. [Common Config-Time Gotchas](#common-config-time-gotchas)
---
## Env Var Interpolation
**Always use env var interpolation** (`${VAR:default}`) for sensitive values and anything that varies across environments.
**Syntax:** HawkScan uses `${VAR:default}` — single colon, no dash. The bash form `${VAR:-default}` is NOT supported.
**Whole-value rule:** The entire YAML value must be the variable. Mid-string interpolation does NOT work:
```yaml
# WRONG — will NOT interpolate
host: "https://${HOST}/api"
# RIGHT — interpolate the entire value
host: ${FULL_HOST_URL}
```
…Read the whole file at its exact version.
How to install
mdr add stackhawk/agent-skills/cursor/.cursor/rules/stackhawk-hawkscan-config.mdc@sha256:7f3651961ce8b4d2The line at the top of this page pins the label git:20260926.36b2a3f, 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_mmridjyvvq3szvbi)
3 badge image fetches in 30 days. What the badge shows.
Versions
The registry has recorded 6 versions of this file, between May 22, 2026 and Sep 26, 2026, about one every 25 days.
| version | committed | commit | size | audit | |
|---|---|---|---|---|---|
| git:20260926.36b2a3f latest | 2026-09-26 | 36b2a3f | 4,841 B | A | view · diff |
| git:20260624.5ddd3e9 | 2026-06-24 | 5ddd3e9 | 4,793 B | A | view · diff |
| git:20260624.e97acce | 2026-06-24 | e97acce | 4,808 B | A | view · diff |
| git:20260522.5b36d8b | 2026-05-22 | 5b36d8b | 4,778 B | A | view · diff |
| git:20260522.9a082f3 | 2026-05-22 | 9a082f3 | 4,800 B | A | view · diff |
| git:20260522.29d3b43 | 2026-05-22 | 29d3b43 | 4,475 B | A | view |
Audit of the latest version
- pass: Size between 200 bytes and 200 KB (4841 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_mmridjyvvq3szvbi GET https://markdownregistry.com/api/v1/resolve?ref=stackhawk/agent-skills/cursor/.cursor/rules/stackhawk-hawkscan-config.mdc GET https://markdownregistry.com/api/v1/blob/7f3651961ce8b4d22e46877cb5385aa6f27fe28f237101cc18cace8caabb0b3d
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.