Skip to content
Back to skills

Bravos Threat Hunt

ASecurity

Find every threat in the codebase with everything Bravos has, and record them: the code graph's attack surface and entry points first, then SAST, then each finding written into the GuardLink threat model as a claim (annotate), the dashboard rebuilt, and a report drawn from what was recorded, never from reading alone. Use when asked to identify, find, list or enumerate the threats or vulnerabilities, to do a security review or audit, to threat-model the codebase, to scan for security issues, o...

  • 2 stars
  • 0 votes
  • 0 copies
  • 1 view
  • Added November 28, 2026
securitygosecurity

Works with

  • cli

Security analysis

A100/100

Scanned December 2, 2026

npx -y skills add Bugb-Technologies/bravos-plugins --skill bravos-threat-hunt --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Bravos Threat Hunt?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Bravos Threat Hunt
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/bugb-technologies-bravos-threat-hunt-bravos-plugins/badge)](https://www.skillsdirectory.com/skills/bugb-technologies-bravos-threat-hunt-bravos-plugins)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: bravos-threat-hunt
description: "Find every threat in the codebase with everything Bravos has, and record them: the code graph's attack surface and entry points first, then SAST, then each finding written into the GuardLink threat model as a claim (annotate), the dashboard rebuilt, and a report drawn from what was recorded, never from reading alone. Use when asked to identify, find, list or enumerate the threats or vulnerabilities, to do a security review or audit, to threat-model the codebase, to scan for security issues, or what an attacker could do here."
---
<!-- bravos:generated -->

> Paths that start with `SKILL_DIR/` are files in this skill's own folder, the folder that holds this SKILL.md.
# Bravos threat hunt: map, scan, record, report

## When

- The person asks to identify, find, list or enumerate the threats, vulnerabilities, security issues, risks or weaknesses in the codebase (or a part of it).
- The person asks for a security review, a security audit, or to threat-model the codebase, or what an attacker could do here.
- The coach line says "this is a threat hunt".

A question about what is already recorded ("what is open?", "what are the issues?") is not a hunt: answer it from the briefing and the dashboard, as the bravos skill says.

## Do

1. Say in one line what you are about to do: map the attack surface, run the scanner, record each finding in the threat model, then report from it. Read the briefing's `Plan:`, `Code graph:`, `SAST:` and `Intent:` lines (without a briefing, `bravos hook session-start --briefing`). With no SDR-0 and no `.guardlink/intent.md`, offer the person SDR-0, the application's own record, in one line (`bravos records new --app`, `SKILL_DIR/../bravos-records/SKILL.md` step 6) and carry on: until it is approved, severities are judged from the code. With an intent.md, judge against it.
2. Map the attack surface. On the Team plan with the code graph current: ask `codegraph_attack_surface`, `codegraph_entry_points`, `codegraph_auth_boundary` and `codegraph_routes` (or `bravos graph <question> --json`; bravos-codegraph says how). With no graph built, build it first (`bravos graph build . --scip no-exec`, no tokens, a few minutes). On the Free plan, or when the graph is unavailable, read the route table, the IPC or command handlers and the auth code instead, and say "code graph unavailable; surface read from the code". Keep the list of entry points and the routes that answer unauthenticated callers: they are the leads for step 4.
3. Scan. On the Team plan with bravos-cli present (`bravos doctor`): run `bravos sast run`, read its exit code as bravos-sast says (3 or 4 means incomplete, never clean), then `bravos sast candidates --json`. Keep the reachable findings, especially those not in the threat model yet. When SAST is unavailable (no licence, no bravos-cli, or no SAST report), say so in one line and carry on: the hunt does not wait for it.
4. Record. Run bravos-annotate in deep mode with the `exploitable` playbook, taking as leads the entry points from step 2, the SAST findings from step 3, and the code that handles input from those entry points. Every finding that meets the evidence bar becomes a claim where the repository keeps annotations: `@exposes` with a severity and its reason, paired with `@mitigates` where a control exists or `@audit` where none does, the `@flows` the data takes, and a `@comment`. A doubt is an `@audit`, not a finding. Before each claim, ask `bravos records intended <file>:<line> --threat <id>`: a match is by design per an adopted decision record, recorded as bravos-annotate says (an `@audit` citing the item, the guard as the control, the attacker's questions as the claims), and listed in the report as by design, never as a vulnerability. Scope: the whole repository when `guardlink unannotated --json` lists 200 source files or fewer, split into batches of about 25 files run in parallel subagents (as bravos-campaign does, each told to follow bravos-annotate on its own files only); a larger repository gets the top of the attack surface (about 100 files, entry points and the code they reach first) in this session, then an offer of bravos-campaign for the rest.
5. Gate it: `guardlink lint . --since <start> --json` until `summary.errors` is 0, then `guardlink validate .`. A violation on a line this session did not write is reported, not fixed.
6. Rebuild the dashboard in the background (`bravos dashboard`, opened in the browser the first time this session, else `--no-open` with the path).
7. Report from the threat model, not from memory: read `guardlink ci -f json` (or `guardlink parse .`) after recording, and give one table of the claims this hunt wrote, most severe first, with severity, the claim (asset and threat), `file:line`, where it came from (code graph, SAST or reading) and its state, which is untested until a test says otherwise. Then the coverage line (`<annotated> of <source> files annotated`, before → after) and `N recorded as claims`. List anything below the evidence bar separately, as the `@audit` questions it was recorded as.
8. For committing Bravos's own files, follow the briefing's `Commits:` line; with no such line, ask once (commit now, or leave them for the person to review).
9. End with one recommended next step: confirm the top three untested exposures now (bravos-prove on the recorded target, or bravos-env first to set one up, where the person types their own authorization), or the next files with bravos-campaign when the repository was larger than one hunt.

## Never

- Report a threat that is not in the threat model after this hunt: every finding in the report is a claim this session recorded, or an `@audit` question it recorded.
- Answer a hunt from reading alone when the code graph or SAST is available, or call the code clean: the lint gate judges annotations, and an empty scan with exit 3 or 4 is incomplete.
- Write `@accepts`, `@entitles` or `@confirmed`: accepting a risk is a named person's decision, and confirming one needs a real test.
- Send any test traffic: a hunt reads and records; proving is bravos-prove, with the person's authorization.
- Commit or push without the person's go-ahead, or stash at all (another session can pop it).

## Done when

- The code graph and SAST were used where available, and the report says plainly which were unavailable.
- Every finding in the report is a claim in the threat model (or an `@audit` question), `guardlink lint . --since <start>` reports 0 errors and `guardlink validate .` exits 0.
- The report table, the coverage line and the count of recorded claims were given, drawn from the model after recording.
- You rebuilt the dashboard from the code (`bravos dashboard`, run in the background): opened in their browser if it has not been opened this session, else with `--no-open` and its path given.
- You ended with one recommended next step.

## What it leaves for the next skill

- The recorded claims, all untested, for bravos-templatize and bravos-prove; the files left over, for bravos-campaign.

## Go deeper

- `SKILL_DIR/../bravos-annotate/SKILL.md` — the evidence bar, placement and the lint gate.
- `SKILL_DIR/../bravos-codegraph/SKILL.md` — asking the graph one bounded question at a time.
- `SKILL_DIR/../bravos-sast/SKILL.md` — reading the scanner's exit code and candidates.

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

View all in security →

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.