stackhawk-hawkscan-multi-profile Cursor ruleA
stackhawk-hawkscan-multi-profile 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-multi-profile.mdc@git:20261009.d0eea86Pins git:20261009.d0eea86 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-multi-profile.mdc- Versions recorded
- 1
- Latest version
- git:20261009.d0eea86, committed Oct 9, 2026
- Size
- 13,154 bytes
- Repository stars
- 16
- License
- MIT
HawkScan multi-profile authorization scanning (BOLA/BFLA): autonomous trigger from code authorization signals, find/make/ask credential ladder with HAWK_PROFILE_<NAME>_* env vars, app.authentication.profiles templates (globalParameters map, required top-level credential slot), --profile-scan-mode=primary-full with --full-scan-profile on the privileged profile, destructive-admin confirmation, pre-flight auth failure handling, and BOLA/BFLA fixes.
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
# Multi-Profile Authorization Scanning (BOLA/BFLA) Scan as several users at once so HawkScan can test whether one user can read another user's objects (BOLA — broken object-level authorization) or call functions their role should not reach (BFLA — broken function-level authorization). Configure 2+ users in `app.authentication.profiles` and run with `--profile-scan-mode=primary-full`: one profile gets the full scan policy, the rest run the cross-profile BOLA/BFLA checks. Entered from Phase 1c in SKILL.md, after the single-user auth recipe is chosen. ## Contents - [When to go multi-profile](#when-to-go-multi-profile) - [Get the accounts: find → make → ask](#get-the-accounts-find--make--ask) - [Profile set](#profile-set) - [stackhawk.yml templates](#stackhawkyml-templates) - [Run command and full-scan profile](#run-command-and-full-scan-profile) - [Quality gate and failures](#quality-gate-and-failures) - [Fixing BOLA/BFLA findings](#fixing-bolabfla-findings) --- ## When to go multi-profile Go multi-profile **autonomously, without asking**, when all three hold: 1. **Authorization signals in code.** Discovery found at least one of: | Signal | Looks like (e.g.) | …
Read the whole file at its exact version.
How to install
mdr add stackhawk/agent-skills/cursor/.cursor/rules/stackhawk-hawkscan-multi-profile.mdc@sha256:34d2081e3070ce48The line at the top of this page pins the label git:20261009.d0eea86, 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_cuasvpaw7opfqdqx)
3 badge image fetches in 30 days. What the badge shows.
Versions
The registry has recorded 1 version of this file, committed on Oct 9, 2026.
Audit of the latest version
- pass: Size between 200 bytes and 200 KB (13154 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_cuasvpaw7opfqdqx GET https://markdownregistry.com/api/v1/resolve?ref=stackhawk/agent-skills/cursor/.cursor/rules/stackhawk-hawkscan-multi-profile.mdc GET https://markdownregistry.com/api/v1/blob/34d2081e3070ce48a042166eea8a6740ac70d324d0be1d016f8fa8303b430125
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.