Documentation Index
Fetch the complete documentation index at: https://mintlify.com/Armur-Ai/Pentest-Swarm-AI/llms.txt
Use this file to discover all available pages before exploring further.
pentestswarm report provides commands for working with generated report drafts after the swarm has finished a campaign. The primary subcommand is polish, which re-runs the AI quality-gate rubric on a draft you have hand-edited. This gives you an objective readiness score — backed by the same grading model that triage engineers use — before you paste the report into a platform’s submission form.
Synopsis
Subcommands
report polish <path-to-draft.md>
Re-grade a draft submission on three axes using an LLM quality-gate rubric. The draft file is never modified — polish is a read-only readiness check.
Quality-gate rubric
The grader scores the draft on three independent axes, each from 0 to 10:| Dimension | What it measures |
|---|---|
| Clarity | Could a stranger reproduce and understand this on their first read? Is the vulnerability type clear? Are the prerequisites spelled out? |
| Impact | Does the “Impact” section explain real-world consequences rather than just “attacker can do X”? Is the business risk quantified? |
| Reproducibility | Are the steps specific enough that triage doesn’t have to guess? Are payloads, parameters, and expected outputs included? |
6.0 / 10
Reports below the threshold exit with a non-zero code so CI pipelines and pre-submit scripts can gate on the check.
Example output
Passing draft:Quality-gate internals
The grader uses Claude’s tool-use capability (grade_submission tool) with a structured JSON schema that enforces score ranges and requires at least two concrete suggestions. The system prompt instructs the model to act as a senior bug-bounty triage engineer who is “tough but fair.” The model must set blocking_issue if it would refuse to file the report itself.
The gate requires a tool-use-capable provider (Claude). Running report polish against a local Ollama model that does not support tool use will return an error:
API key requirement
report polish uses the same API key as scan. Resolve the key by running pentestswarm init or exporting ANTHROPIC_API_KEY.
Examples
scan
Generate report drafts by running the AI swarm with
--format mdcampaign
View the findings that were generated by a completed campaign
scope
Import program scope before scanning to keep findings in-scope
doctor
Verify API key and LLM provider configuration