audit-changes
Audit only the git diff vs main (or specified base). Optimized for PR review.
Generate an exploit against a *deployed* contract on a fork. Validates the exploit works on live state.
> /plugin marketplace add omermaksutii/RugProof > /plugin install rugproof@rugproof
How it fires
How this command gets triggered: by you, by Claude, or both.
/exploit-liveContext preview
What this command does when you run it.
Generate an exploit against a *deployed* contract on a fork. Validates the exploit works on live state.
description: Generate an exploit against a *deployed* contract on a fork. Validates the exploit works on live state. argument-hint: "<chain> <address> <finding-id>" allowed-tools: Read, Write, Bash, Agent, Skill, mcp__block-explorer__*, mcp__anvil__*, mcp__forge-runner__*
For when the user has a finding from `/audit-live` and wants to verify it works on the real deployment.
mcp__anvil__fork(chain=<chain>, block=latest)
Capture the RPC URL.
If we don't already have the source from `/audit-live`, pull it via `block-explorer`.
Same template as `/exploit` but using `vm.createFork` and `vm.activeFork` to target the live deployment:
function setUp() public {
forkId = vm.createFork(ANVIL_FORK_URL);
vm.selectFork(forkId);
target = Vault(payable(LIVE_ADDRESS));
}
function test_Exploit_Live() public {
// attempt against the *actual deployed state*
}Use `forge-runner` MCP with `--fork-url` pointed at the anvil instance.
If the test passes:
✗ EXPLOITABLE on live deployment Chain: berachain Block: 12345678 Contract: 0xabc... Finding: REENT-001 Value extractable: ~$420K (at current price) PoC: test/live-exploits/ExploitLive-REENT-001.t.sol
If the test fails (i.e. the exploit doesn't work in practice):
✓ Finding REENT-001 does NOT exploit the live deployment as written. Possible reasons: live state differs from setUp assumption, finding requires preconditions not met by current state, or finding is a false positive.
This is a valuable output — false positives caught.
If the exploit works against a contract not owned by the user, the output should include a **prominent disclosure reminder**:
⚠ RESPONSIBLE DISCLOSURE This exploit works against a live deployment that you may not own. DO NOT execute on mainnet. Coordinate disclosure via: - Immunefi: https://immunefi.com - Protocol's bounty: (check the protocol's docs) - SEAL 911: https://seal-911.com (emergency)
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
Repo: omermaksutii/RugProof
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 that has diverged from upstream.
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 live-state simulation.