Available in
Marketplaces, most starred first
Tags
Add to README
Shows its components, always-on context cost and install status, kept current. Add ?tokens=0 to hide the cost.
Marketplaces, most starred first
Shows its components, always-on context cost and install status, kept current. Add ?tokens=0 to hide the cost.
Marketplaces, most starred first
Shows its components, always-on context cost and install status, kept current. Add ?tokens=0 to hide the cost.
By bongkagev2.0.1CC-BY-SA-4.0In 1 marketplace
Comprehensive C/C++ security code review, with coverage verified against a parse of the source
Claude hands work to one, or you mention it with @.
1 marketplace, most starred first
c, cpp, code-review, static-analysis, vulnerabilities, linux, macos, posix ·
Shows its components, always-on context cost and install status, kept current. Add ?tokens=0 to hide the cost.
C/C++ security code review. Bug-class knowledge based on the Trail of Bits Testing Handbook.
Invoke with /c-review:c-review. Artifacts land in
$(pwd)/.c-review-results/<iso-timestamp>/.
uv must be on PATH — two phases run Python through it.
Most review tools split the work by bug type: one agent hunts buffer overflows, another hunts use-after-free, and so on. c-review splits it by place in the source instead.
A parser first cuts the codebase into units — one function, or a slice of a long function, capped at 150 lines. Every line of the tree lands in exactly one unit, and each unit belongs to exactly one agent. That is the coverage claim: not "the agents said they read it", but "a parser assigned it and we can check".
Then each agent works through its units by asking the same fixed set of ten questions of every one:
bounds at every write · integer width and signedness · allocation/free pairing ·
sizeofarithmetic · NUL termination · unchecked return values · what the unit assumes of its caller · banned APIs · macro contracts · initialisation
A question is only asked where the parser found something for it to be about — no writes in
the function, no bounds question. And crucially, the parser counts the relevant spots
(the twelve writes, the four malloc calls) and tells the agent the number but not the
line numbers. The agent has to read the code to find them.
For each question the agent writes down what it found — the lines it examined and what was
at them, whether or not it filed a bug. Those written answers are the coverage record
(called the ledger in the code and artifacts). At the end, check_ledger.py re-derives
the spots from the source and checks the agent's answers against them. An agent that
skipped a function, or claimed "no bugs here" over twelve writes while naming none, fails
that check and the run is reported as assembled but unverified.
Two things this buys, both of which a plain "review this code" prompt gives up:
The bug-type catalogue — 56 classes in 18 groups — still exists, in two roles. Review agents get the class names so they can label what they find. Then a sweep phase takes the classes that got no finding anywhere — minus the ones the platform gate, the threat model or Detect's candidate-site check already removed — and sends one agent to look for them across the whole tree, which catches the scattered single-site slips a reader working through a region in order tends to walk past.
/c-review:c-review
└── SKILL.md collect parameters, resolve paths, one Workflow call
└── workflows/c-review.js
├── 1. Detect 1 agent
├── 2. Review 4-14 agents
├── 3. Sweep 0-2 agents
├── 4. Dedup 0-1 agent
└── 5. Assemble 1 agent
| Phase | What it does |
|---|---|
| Detect | Runs the parser to build the unit list. Also works out which platform the code targets (from real API usage, not from a single #include), which structs hold shared state, and which bug classes have any candidate site at all |
| Review | The main pass. One agent per contiguous slice of the unit list; each returns findings with severity, plus one coverage-record row per (unit × question) |
| Sweep | The bug-type axis: one agent covering every class that got no finding anywhere and that Detect did not rule out. Plus the shared-state struct audit, only on request |
| Dedup | Only the near-duplicate findings the assembler cannot merge by rule. Usually skipped |
| Assemble | Runs the coverage check, merges duplicates, and writes every artifact |
About 8-10 agents on a mid-size target. Everything that can be deterministic is code rather than an agent: the coverage check and the duplicate merges both live in the assembler, so no agent ever retypes another agent's findings.
There is no false-positive judge. Severity is assigned by the reviewer that found the
bug and nothing rejects anything, so treat the output as unadjudicated — findings.json
records severity_source: "reviewer" and run.judge_ran: false. Expect some findings to
be wrong or out of scope.
Built from public signals: copy clicks on this site, GitHub stars and activity, the README and the manifest. Not a security audit or an endorsement.
npx claudepluginhub bongkage/trailofbits-skills --plugin c-reviewPlugins from other owners that cover similar ground