audit-changes
CommandAudit only the git diff vs main (or specified base). Optimized for PR review.
Submit a finding to a bug-bounty platform (Immunefi, Cantina) automatically.
> /plugin marketplace add omermaksutii/RugProof> /plugin install rugproof@rugproof
description: Submit a finding to a bug-bounty platform (Immunefi, Cantina) automatically. argument-hint: "<finding-id> [--platform immunefi|cantina|protocol]" allowed-tools: Read, Bash
Automates the submission of a confirmed finding to Immunefi (or another bounty platform). Strict prerequisites:
If the finding lacks a passing live PoC, refuse and tell the user to run `/exploit-live` first.
# .rugproof.yml
bounty:
immunefi:
api_key: ${IMMUNEFI_API_KEY}
cantina:
api_key: ${CANTINA_API_KEY}
default_platform: immunefi
programs:
- protocol: AcmeFi
address: "0xabc..."
platform: immunefi
program_slug: acme-fi
severity_map:
Critical: critical
High: high
Medium: mediumIf the chain+address has no entry, look up via the bounty platform's public directory.
Format it deterministically with the helper (maps severity to the program's scale, embeds the PoC, derives the program slug):
node "${CLAUDE_PLUGIN_ROOT}/scripts/dist/format-bounty.js" \
--finding finding.json --program program.json \
--poc test/live-exploits/Exploit.t.sol --out submission.jsonIt emits the Immunefi-style payload (`submission.json`) and, with no `--out`, the Markdown report on stdout. Sections it produces: 1. **Title** — `[Critical] Reentrancy in Vault.withdraw drains funds` 2. **Severity** — translated per program's scale 3. **Affected asset** — chain + address (proxy + impl if applicable) 4. **Bug description** — clear, technical, no marketing 5. **Proof of concept** — embed the passing Foundry test 6. **Reproduction steps** — numbered 7. **Recommended mitigation** — diff from `/remediate` 8. **Disclosure timeline** — today as initial disclosure
**Immunefi:**
curl -X POST https://api.immunefi.com/v1/bug-reports \ -H "Authorization: Bearer $IMMUNEFI_API_KEY" \ -H "content-type: application/json" \ -d @submission.json
(Note: Immunefi's public API may not support automated submission for all programs. In that case, the command writes the submission Markdown to a file and tells the user to paste it into the web form.)
**Cantina:** similar with `https://api.cantina.xyz/v1/...`.
**Protocol-direct:** for protocols with a `security@` email, drafts an email and offers to open a `mailto:` link.
✓ Bug report submitted platform: Immunefi program: Acme Finance report id: IMMU-2026-05-13-abc123 severity: Critical estimated payout (per program): $50K – $250K status URL: https://immunefi.com/dashboard/... ⚠ Do NOT share the PoC publicly until Acme Finance acknowledges.
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
Audit only the git diff vs main (or specified base). Optimized for PR review.
Deep audit — same as /audit but spawns more parallel subagents, runs multi-pass review, and chases exploit chains across files.
Audit third-party dependencies — resolve installed versions, cross-reference known-vulnerable releases, and flag vendored code…
Diff two Rugproof audit reports (before vs after) to track regressions — what's new, what's fixed, and whether the grade moved.
Pull past public audits (Code4rena, Sherlock, Spearbit, etc.) for a deployed contract or known protocol.
Audit a deployed contract on a live chain. Pulls verified source from the block explorer, optionally forks the chain for…
Audit a file, directory, or whole repo for insecure default configuration: fallback secrets, default credentials, fail-open…
Check text against AGT prompt-injection, context-poisoning, and MCP threat detectors.
Show which external bug-bounty tools are installed on this machine and print install hints for the missing ones. Curated from…