Skip to content
Security
Command

/report

Render the latest audit as a deliverable report in Markdown / HTML / PDF / JSON / PNG.

From plugin
rugproof
1145 skills23 agents45 commands4 hooks
> /plugin marketplace add omermaksutii/RugProof
> /plugin install rugproof@rugproof

Command definition

report.md
description: Render the latest audit as a deliverable report in Markdown / HTML / PDF / JSON / PNG.
argument-hint: "[--format markdown|html|pdf|json|png|all]  [--out <dir>]"
allowed-tools: Read, Write, Bash, Agent, Skill

/report — generate audit deliverable

Take the most recent `/audit` (or `/audit-deep`) result and render it as a deliverable. Default formats from `.rugproof.yml report.formats`.

Procedure

Step 1 — Locate findings

If a recent audit isn't in conversation context, ask the user to run `/audit` first, or point them at `rugproof-reports/findings.json` if it exists.

Step 2 — Build the report sections

1. **Executive summary** — 4-6 sentences. Lead with the dollar value at risk, the number of Critical findings, and the trust level. Suitable for executives. 2. **Severity overview** — counts table, grade. 3. **Trust report** (centralization findings) — from [[centralization-risk]] format. 4. **Findings** — one section per finding, sorted by severity descending:

  • Title, ID, severity, confidence
  • File path:line + code block of the offending lines
  • Description (what / how / why)
  • Impact + likelihood
  • Remediation patch (diff)
  • Historical context if any

5. **Methodology** — which skills ran, which specialist subagents dispatched, scope (lines audited). 6. **Out of scope / known limitations** — be honest about what wasn't checked. 7. **Appendix** — tool versions, MCP server versions, git commit, contract addresses.

Step 3 — Dispatch report-writer subagent

For long reports, dispatch the `report-writer` subagent with the raw findings — it will produce polished prose without consuming the main context.

Step 4 — Render formats

For each requested format, use the corresponding template in `templates/`:

  • **markdown** → `templates/report.md.hbs` → `rugproof-reports/audit-YYYY-MM-DD.md`
  • **html** → `templates/report.html.hbs` → styled, navigable, collapsible sections
  • **pdf** → render HTML through headless Chrome / wkhtmltopdf
  • **json** → structured findings + metadata for CI / dashboards
  • **png** → `templates/audit-card.svg.hbs` → run through `resvg` or `sharp` (use `/card` internally)

Step 5 — Output

Tell the user where the files are:

Report generated:
  rugproof-reports/audit-2026-05-12.md
  rugproof-reports/audit-2026-05-12.html
  rugproof-reports/audit-2026-05-12.json
  rugproof-reports/audit-card-2026-05-12.png

Notes

  • Findings appear in *severity-descending* order, not file order.
  • Each finding gets a stable ID — re-running on the same code should produce the same IDs for the same findings (use a hash of file:line:vuln-class).
  • The PNG card is always-on regardless of selected formats (it's the cheap viral hook).
  • If the user has `report.audit_card.public_gallery_submit: true`, also push the PNG + JSON to the public gallery API.
Read more
@omermaksutii
Ships withrugproof

Rugproof your code before someone else does. 🌐 Live site: omermaksutii.github.io/RugProof 📦 Latest: v1.0.0 — 45 commands · 23 agents · 45 skills · 13 MCP servers · tested, offline-first, with rule packs, a benchmark, non-EVM coverage, and post-deploy

1152 skills23 agents
Get the whole plugin

Stars on GitHub

Momentum

stars in total
11
Star history of omermaksutii/RugProof on GitHub, a chart by star-history.com

Other commands on rugproof.

audit-deep

audit-deep

Command

Deep audit — same as /audit but spawns more parallel subagents, runs multi-pass review, and chases exploit chains across files.

@omermaksutii@omermaksutiiInstall Command
audit-deps

audit-deps

Command

Audit third-party dependencies — resolve installed versions, cross-reference known-vulnerable releases, and flag vendored code…

@omermaksutii@omermaksutiiInstall Command
audit-diff

audit-diff

Command

Diff two Rugproof audit reports (before vs after) to track regressions — what's new, what's fixed, and whether the grade moved.

@omermaksutii@omermaksutiiInstall Command
audit-history

audit-history

Command

Pull past public audits (Code4rena, Sherlock, Spearbit, etc.) for a deployed contract or known protocol.

@omermaksutii@omermaksutiiInstall Command
audit-live

audit-live

Command

Audit a deployed contract on a live chain. Pulls verified source from the block explorer, optionally forks the chain for…

@omermaksutii@omermaksutiiInstall Command

More commands from other plugins.

deslop-reborn

deslop-reborn

Command

One iteration of the IronClaw Reborn de-slop loop — take ONE Reborn crate, fan out parallel review sub-agents (thermo-nuclear…

@nearai@nearaiInstall Command
audit

audit

Command

Audit a file, directory, or whole repo for insecure default configuration: fallback secrets, default credentials, fail-open…

@trailofbits@trailofbitsInstall Command
arsenal

arsenal

Command

Show which external bug-bounty tools are installed on this machine and print install hints for the missing ones. Curated from…

@awarexone@awarexoneInstall Command