stackhawk-hawkscan-ci-app-startup Cursor ruleA
stackhawk-hawkscan-ci-app-startup 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-app-startup.mdc@git:20260610.e0f728fPins git:20260610.e0f728f 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-app-startup.mdc- Versions recorded
- 2
- Latest version
- git:20260610.e0f728f, committed Jun 10, 2026
- First version recorded
- May 27, 2026
- Size
- 12,270 bytes
- Repository stars
- 16
- License
- MIT
HawkScan CI app-startup patterns reference: Docker Compose + wait-for-it, GitLab services keyword, GitHub Actions services map, build-then-run (Node, JVM), run-a-built-image, scan-existing-host (ephemeral env / preview deployment), networking gotchas (--network host vs host.docker.internal), health-check endpoint conventions.
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
# App Startup Patterns Reference The scan target needs to be reachable from the CI runner before `hawk scan` runs. This reference catalogs the common patterns and their tradeoffs. ## Pattern Selection | Repo signals | Pattern | |---|---| | `docker-compose.yml` / `compose.yml` at root | Docker Compose + wait-for-it | | `package.json` with `start` / `dev` script | Build-then-run (Node) | | `pom.xml` or `build.gradle*` with Spring Boot | Build-then-run (JVM) | | `Dockerfile` only (no compose) | Run image as background container | | App already deployed to ephemeral env | Scan-existing-host (no startup step) | | None of the above | Ask the user for the start command | ## Pattern 1 — Docker Compose Most common; works on every provider that has Docker. Assume the compose file exposes the app on a known port (e.g., `8080`). ```bash docker compose up -d # wait for app to be ready before scanning timeout 60 bash -c 'until curl -fsS http://localhost:8080/health; do sleep 2; done' ``` …
Read the whole file at its exact version.
How to install
mdr add stackhawk/agent-skills/cursor/.cursor/rules/stackhawk-hawkscan-ci-app-startup.mdc@sha256:f3a3b016d37d18f5The line at the top of this page pins the label git:20260610.e0f728f, 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_hiycb55pcrlmxkto)
4 badge image fetches in 30 days. What the badge shows.
Versions
The registry has recorded 2 versions of this file, between May 27, 2026 and Jun 10, 2026, about one every 14 days.
| version | committed | commit | size | audit | |
|---|---|---|---|---|---|
| git:20260610.e0f728f latest | 2026-06-10 | e0f728f | 12,270 B | A | view · diff |
| git:20260527.f36433e | 2026-05-27 | f36433e | 7,219 B | A | view |
Audit of the latest version
- pass: Size between 200 bytes and 200 KB (12270 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_hiycb55pcrlmxkto GET https://markdownregistry.com/api/v1/resolve?ref=stackhawk/agent-skills/cursor/.cursor/rules/stackhawk-hawkscan-ci-app-startup.mdc GET https://markdownregistry.com/api/v1/blob/f3a3b016d37d18f5f73caab9c8f76a538342c77821f7e464ae99850cfa5f4b62
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.