Getting it into your agent
One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.
git clone --depth 1 https://github.com/stackhawk/agent-skillsWrote this? Show the measurements
A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.
[](https://agentmods.dev/rules/stackhawk/agent-skills/stackhawk-hawkscan-multi-profile)<a href="https://agentmods.dev/rules/stackhawk/agent-skills/stackhawk-hawkscan-multi-profile"><img src="https://agentmods.dev/badge/rules/stackhawk/agent-skills/stackhawk-hawkscan-multi-profile/github.svg" alt="Measured on agentmods" height="20"></a>Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.
<a href="https://agentmods.dev/rules/stackhawk/agent-skills/stackhawk-hawkscan-multi-profile"><img src="https://agentmods.dev/badge/rules/stackhawk/agent-skills/stackhawk-hawkscan-multi-profile.svg" alt="Reviewed on agentmods" width="80" height="20"></a>What it costs to keep this loaded
Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5.1 | $0.00000 | $0.03210 |
| Opus 5.5 | $0.00000 | $0.01284 |
| Sonnet 5.5 | $0.00000 | $0.00642 |
| Haiku 4.5 | $0.00000 | $0.00321 |
Grade B, and why
stackhawk-hawkscan-multi-profile scanned grade B with 2 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 8d ago.
A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.
Sends data to an external URLmediumData exfiltration
A POST to an outside endpoint may be telemetry or may be exfiltration; either way the mod talks to somewhere, and you should know where.
`curl -s -X POST "<host><signup-path>" -H 'Content-Type: application/json' -d '<signup-body>'`. Makes network callslowCapability
Not a fault in itself. Listed so you know the mod talks to something, and to what.
`curl -s -X POST "<host><signup-path>" -H 'Content-Type: application/json' -d '<signup-body>'`. How it starts
The opening of the file, as written. The whole thing — 272 lines — stays where its author put it; the contents beside it link to each section on GitHub.
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
- Get the accounts: find → make → ask
- Profile set
- stackhawk.yml templates
- Run command and full-scan profile
- Quality gate and failures
- Fixing BOLA/BFLA findings
When to go multi-profile
Go multi-profile autonomously, without asking, when all three hold:
-
Authorization signals in code. Discovery found at least one of:
Signal Looks like (e.g.) Object-ID routes /<resource>/{id},/<resource>/:id,@GetMapping("/{id}")Ownership checks a query filtered by the current user ( where owner_id = <current-user>)Role / function guards @PreAuthorize,@RolesAllowed, arequireRole(...)middleware, anisAdmincheck, an admin-only routerTenant scoping org_id/tenant_idcolumns or tenant middlewareThese are illustrative starting points — search the repo's real source root for its own equivalents.
-
Capability.
hawk scan --help | grep -q -- --profile-scan-modesucceeds. If it fails, scan as one user and say in the summary that BOLA/BFLA needs a newer hawk (brew upgrade stackhawk/cli/hawk). -
2+ usable accounts after the ladder below.
No signals → scan as one user. Extra test accounts on their own are not a reason to write
profiles.
What this file has done since we first saw it
Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.
- 8d ago First seen · 272 lines · 0 tokens per session scan B 34d2081e3070
stackhawk-hawkscan-multi-profile is a cursor rule published in the GitHub repository stackhawk/agent-skills (16 stars, last pushed 9d ago), licensed MIT. It costs nothing until one of its globs matches a file; then it loads 3,210 tokens. A static security scan graded it B with 2 findings (sends data to an external url, makes network calls). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-10-10.
Other cursor rules, from other repositories
ponytail
Ponytail, lazy senior dev mode. Always pick the simplest solution that works.
angular-20
This rule provides comprehensive best practices and coding standards for Angular development, focusing on modern TypeScript, standalone components, signals, and performance optimizations.
dev-standard
Apache Superset development standards and guidelines for Cursor IDE.
prefer-assertions-over-defensive-checks
Prefer assertions over defensive checks when data is guaranteed to be valid.
prefer-direct-imports-over-module-mocks
Prefer extracting a testable core over vi.mock / vi.resetModules when unit tests need to reach production logic entangled with config, env, or singletons.
config-validation-and-normalization
Config validation and normalization responsibilities (defineConfig normalizes, the orm section schema validates and resolves paths, the loader reports per-section diagnostics).