stackhawk-hawkscan-ci Cursor ruleA
stackhawk-hawkscan-ci 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-ci.mdc@git:20260918.09d070fPins git:20260918.09d070f 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-ci.mdc- Versions recorded
- 5
- Latest version
- git:20260918.09d070f, committed Sep 18, 2026
- First version recorded
- May 27, 2026
- Size
- 17,554 bytes
- Repository stars
- 16
- License
- MIT
Use when the user wants to WIRE HawkScan into a CI/CD pipeline config file — triggers on "set up hawkscan in CI", "add stackhawk to my pipeline", "scan in CI", "configure github actions / gitlab / jenkins / circleci for hawkscan", "wire hawkscan into ci/cd". Provider-agnostic: detects the CI system, edits the pipeline file in place to add a HawkScan job, prompts for HAWK_API_KEY storage (CI-native secrets store or external secrets manager), wires commit-SHA + branch traceability. Defers all…
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 CI Skill
This skill graduates a working *local* HawkScan setup into a CI/CD
pipeline. It is a wrapper around the local-scan path the `hawkscan`
skill owns — it never generates `stackhawk.yml`, never picks auth
recipes, never parses findings. Its scope is the pipeline file alone.
**Hand-off rule:** if `stackhawk.yml` doesn't exist or doesn't validate,
the agent must invoke the `hawkscan` skill first. This skill does not
onboard apps from scratch.
---
## Step 0: Hand-off Check
Before doing anything CI-specific, confirm the local scan path is in
place. Run:
```bash
test -f stackhawk.yml || echo "MISSING_CONFIG"
timeout 30 hawk validate config stackhawk.yml 2>&1 | head -20
```
If `stackhawk.yml` is missing, validation fails, or `applicationId` is
still a placeholder (`${APP_ID}` with no real value, or literal
`your-app-id`):
> "I need a working local scan first. Run the hawkscan skill (or
> invoke it explicitly) to generate and validate `stackhawk.yml`, then
> come back here."
Stop. Do not proceed. That message is the entire output: do not preview
the pipeline (no action names, images, secrets, triggers, or workflow
…Read the whole file at its exact version.
How to install
mdr add stackhawk/agent-skills/cursor/.cursor/rules/stackhawk-hawkscan-ci.mdc@sha256:17acf1ad8b239ba4The line at the top of this page pins the label git:20260918.09d070f, 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_cwjrnmeoqusoixbs)
5 badge image fetches in 30 days. What the badge shows.
Versions
The registry has recorded 5 versions of this file, between May 27, 2026 and Sep 18, 2026, about one every 28 days.
| version | committed | commit | size | audit | |
|---|---|---|---|---|---|
| git:20260918.09d070f latest | 2026-09-18 | 09d070f | 17,554 B | A | view · diff |
| git:20260717.ed76c16 | 2026-07-17 | ed76c16 | 17,348 B | A | view · diff |
| git:20260630.b97573a | 2026-06-30 | b97573a | 17,051 B | A | view · diff |
| git:20260610.e0f728f | 2026-06-10 | e0f728f | 16,941 B | A | view · diff |
| git:20260527.f36433e | 2026-05-27 | f36433e | 14,565 B | A | view |
Audit of the latest version
- pass: Size between 200 bytes and 200 KB (17554 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_cwjrnmeoqusoixbs GET https://markdownregistry.com/api/v1/resolve?ref=stackhawk/agent-skills/cursor/.cursor/rules/stackhawk-hawkscan-ci.mdc GET https://markdownregistry.com/api/v1/blob/17acf1ad8b239ba417d38ab47d3f25cfe7f700ac440eeeb4166ca194bf3ea8da
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.