audit-changes
CommandAudit only the git diff vs main (or specified base). Optimized for PR review.
Pull past public audits (Code4rena, Sherlock, Spearbit, etc.) for a deployed contract or known protocol.
> /plugin marketplace add omermaksutii/RugProof> /plugin install rugproof@rugproof
description: Pull past public audits (Code4rena, Sherlock, Spearbit, etc.) for a deployed contract or known protocol. argument-hint: "<address-or-protocol-name>" allowed-tools: Bash, Agent, mcp__c4-history__*, mcp__sherlock-history__*, mcp__block-explorer__*
For `$ARGUMENTS` (an address or protocol name), retrieve historical audit findings.
1. **Resolve target.** If `$ARGUMENTS` is an address, use `block-explorer` to get the contract name and protocol attribution. If it's a name, query both history MCPs directly. 2. **Query both history MCPs in parallel.**
mcp__c4-history__search(protocol=<name>) mcp__sherlock-history__search(protocol=<name>)
3. **Aggregate.** Deduplicate findings across sources. Group by:
4. **Cross-reference current code.** If we have current source (via `block-explorer` or local repo):
Historical findings for <protocol>:
Audited by: Code4rena (2024-06), Sherlock (2024-09), Spearbit (2024-12)
Total public findings: N (C: x, H: y, M: z, L: w, I: v)
Top critical:
[C4-2024-06 #042] Cross-function reentrancy in withdraw()
Pattern: reentrancy (cross-function)
Status: ✅ fixed in commit 0xabc...
[Sherlock-2024-09 #007] Read-only reentrancy on getReserves
Pattern: reentrancy (read-only)
Status: ⚠ similar pattern still present at Vault.sol:142
Carry-over risks (still applicable):
[...]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.
Audit a deployed contract on a live chain. Pulls verified source from the block explorer, optionally forks the chain for…
Diff the on-chain configuration of one contract deployed across multiple chains — owner, oracle, fees, timelock, pause state,…
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…