A Claude Code plugin that turns your editor into a full-stack smart contract security auditor — vulnerability detection, working exploit PoCs, mainnet-fork simulation, shareable audit cards, on-chain certificates.
/exploit <finding> writes a Foundry test that proves the bug — and re-runs forge test until it passes. Every Critical comes with a smoking gun.
Pulls verified source from Etherscan family, optionally forks the chain via Anvil, and demonstrates the exploit against actual mainnet state. Catches false positives that theoretical audits miss.
Pull any tx hash, fork just before it, replay it, and walk through what the attacker did. Curve, Beanstalk, Nomad, Wormhole — pick your lesson.
Generates Foundry invariant tests with realistic handlers. Solvency, K-monotonicity, vote-weight snapshots — proven across 5,000+ random call sequences.
1200×1200 PNGs with grade, severity counts, and top finding. Built for tweets and PR comments. The viral hook every audit produces.
Run Slither or Mythril, then let Rugproof separate true positives from false positives and turn symbolic counter-examples into Foundry tests that compile.
Optional: mint your audit grade as a soulbound NFT on Berachain. Permanent on-chain proof, signed by an EIP-712 issuer key. nft/AuditCertificate.sol — 3 passing tests.
Drop uses: omermaksutii/RugProof-action@v1 into a workflow. Audits the diff, posts findings as a sticky PR comment, blocks merge on Critical.
Pack your team's protocol-specific bug patterns as a Rugproof rule pack. Distribute via the Claude Code marketplace. rules/community-pack-example/ shows the shape.
33 auto-invoked patterns. Reentrancy, oracle, flash-loan, MEV, signature-replay, ERC-4337 AA, cross-chain msg, ERC-7683 intents, EigenLayer restaking, ERC-4626 inflation, plus 23 more.
19 sub-agents. Functional: attacker, defender, exploit-poc-writer. Protocol-specific: AMM, lending, staking, bridge, governance, vault, NFT. Hot-topic: AA, restaking, intents.
9 servers in TypeScript. Block-explorer (Etherscan family), forge-runner, hardhat-runner, anvil, tenderly, c4-history, sherlock-history, gas-tracker, token-metadata.
Pre-commit quick-scan. Pre-push full audit. Pre-deploy build-artifact check. Post-test coverage analyzer. GitHub Action for PR comments. All wired in plugin.json.
Markdown · HTML · PDF · JSON · 1200×1200 PNG card. All rendered via templates in templates/ — Handlebars + sharp + wkhtmltopdf. No browser binary needed.
Soulbound ERC-721 (AuditCertificate.sol). EIP-712 issuer signature, S-malleability guard, no-transfer modifier. Designed for Berachain. Local signer CLI included.
# add the marketplace
/plugin marketplace add omermaksutii/RugProof
# install the plugin
/plugin install rugproof@omermaksutii-RugProof
# 60-second onboarding
/rugproof-init
# once listed at claude.com/plugins:
/plugin install rugproof
# try it on the bundled demo
/audit examples/VulnerableVault.sol
# get a working PoC for the worst finding
/exploit REENT-001
# .github/workflows/audit.yml
on: pull_request
jobs:
audit:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: omermaksutii/RugProof-action@v1
with:
anthropic-api-key: ${{ secrets.ANTHROPIC_API_KEY }}
threshold: high
git clone https://github.com/omermaksutii/RugProof
cd RugProof
make build # MCP servers + scripts
make test # forge + nft + MCP smoke
make audit-demo # run the bundled exploit