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
> /plugin marketplace add omermaksutii/RugProof> /plugin install rugproof@rugproof
Repo: omermaksutii/RugProof
What's inside
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 monitoring
A Claude Code plugin that turns your editor into a full-stack smart contract security auditor: vulnerability detection, working exploit PoCs, mainnet-fork simulation, invariant generation, gas profiling, soulbound on-chain audit certificates, and shareable audit cards โ Solidity + Vyper across every major EVM chain.
# In Claude Code:
/plugin marketplace add omermaksutii/RugProof
/plugin install rugproof@omermaksutii-RugProof
/rugproof-init # 60-second setup
/audit examples/VulnerableVault.sol # try it on the bundled vulnerable demo
Pending review. Once listed at claude.com/plugins:
/plugin install rugproof
Submit your own plugin at claude.ai/settings/plugins/submit or platform.claude.com/plugins/submit.
git clone https://github.com/omermaksutii/RugProof
cd RugProof
make build # MCP servers + scripts
make test # forge tests + NFT tests + MCP smoke test
make audit-demo # runs the bundled reentrancy exploit (passes)
# In any Solidity project:
/audit # full audit on the repo
/audit src/Vault.sol # audit one file
/quick-scan # fast pre-commit-style scan
/audit-live 0xabc... --chain ethereum # audit a deployed contract by fork
/exploit <finding-id> # write a working Foundry PoC
/report # render Markdown / HTML / PDF / PNG card
Audit: /audit /audit-deep /audit-strict /audit-changes /audit-live /audit-history /audit-deps /audit-multi-chain /quick-scan /rug-check /score /explain
Output: /report /card /remediate
Exploit: /exploit /exploit-chain /exploit-live
Simulation: /simulate /replay-incident
Tests / proofs: /test-gen /invariant /fuzz /coverage /symbolic /prover
Analysis: /gas /upgrade-safety /verify-deploy /diff-audit /audit-diff /pre-deploy /monitor
Tooling integration: /slither /mythril
Workflow: /rugproof-init /dismiss /verify-finding /bounty /bounty-submit /demo
Notifications: /notify-slack /notify-discord /tweet
On-chain: /mint-cert (Berachain soulbound audit certificate)
Functional: attacker ยท defender ยท exploit-poc-writer ยท invariant-writer ยท gas-optimizer ยท remediation-suggester ยท report-writer ยท assembly-auditor
Protocol-specific: amm-specialist ยท lending-specialist ยท staking-specialist ยท bridge-specialist ยท governance-specialist ยท yield-aggregator-specialist ยท nft-specialist
Hot-topic specialists (2025): aa-specialist (ERC-4337) ยท crosschain-messaging-specialist (LayerZero V2 / CCIP / Hyperlane / Wormhole / Axelar) ยท restaking-specialist (EigenLayer / Symbiotic / Karak) ยท intents-specialist (ERC-7683 / UniswapX / CoW)
Language / chain / economics: vyper-specialist (Vyper compiler-class bugs) ยท l2-sequencer-specialist (rollup finality, sequencer uptime, L1โL2) ยท economic-rug-specialist (owner powers + 0โ100 rugability score) ยท zk-verifier-specialist (proof-verifier correctness)
A detection-skill library that auto-activates when Claude sees matching code patterns. Covers the full CWE/SWC catalog plus modern DeFi-specific issues:
Classic (19): reentrancy (incl. read-only and cross-contract) ยท access control ยท oracle manipulation ยท flash-loan attacks ยท MEV/front-running ยท signature replay ยท storage layout ยท initialization ยท unchecked calls ยท DoS vectors ยท integer issues ยท delegatecall risks ยท tx-context misuse ยท token compatibility ยท approval issues ยท EIP-6780 self-destruct ยท inline assembly ยท pragma & address hygiene ยท centralization risk.
Hot-topic 2025 (8): ERC-4337 account abstraction ยท cross-chain messaging ยท Permit2 / EIP-2612 ยท ERC-1271 contract signatures ยท Diamond / EIP-2535 ยท restaking & EigenLayer AVS ยท ERC-7683 intents ยท ERC-4626 inflation/donation.
v0.2 additions (8): ve-lock governance ยท fee-on-transfer accounting ยท signature malleability ยท MEV / PBS ยท liquidation cascades ยท oracle redundancy failure ยท cross-contract state inconsistency ยท ZK verifier bugs.
AI-quality meta-skills (4): confidence scoring ยท multi-pass self-critique (/audit-strict) ยท known-good reference comparison ยท false-positive feedback loop (/dismiss + .rugproof.yml ignore: + inline // rugproof-ignore markers).
DX meta-skills (2): caching-and-incremental (skip unchanged files) ยท progress-and-streaming (live status during long audits).
Chain I/O, test runners, history databases, static-analyzer + fuzz runners โ block-explorer (Etherscan v2 multichain, EIP-1967/1822 proxy resolution) ยท forge-runner ยท hardhat-runner ยท anvil ยท tenderly ยท c4-history ยท sherlock-history ยท gas-tracker ยท token-metadata (+ GoPlus safety) ยท slither-runner ยท mythril-runner ยท fuzz-runner (Echidna/Medusa/Halmos). Every server degrades gracefully to labeled mock data offline, so the plugin works with zero configuration.
Pre-commit quick-scan ยท pre-push full audit ยท pre-deploy build-artifact check ยท post-test coverage analyzer. (Pre-commit and pre-push live as git hook scripts; pre-deploy and post-test wire into Claude Code's Bash hook events via plugin.json.)
examples/ ships a "wow on first install" set: classic reentrancy vault, spot-oracle lending market, flash-loan governance, ERC-4626 inflation attack, replay-able bridge. Run /demo after install to see Rugproof in action without bringing your own code.
Create a .rugproof.yml at the repo root. See .rugproof.yml.example.
severity_threshold: high # block CI on this severity or worse
chains: [ethereum, berachain, arbitrum, base]
include: ["src/**/*.sol"]
exclude: ["test/**", "script/**"]
ignore:
- id: REENT-001
reason: "Single-trusted-caller, reviewed 2025-Q4"
Inline suppression in code:
// rugproof-ignore: REENT-001 โ single trusted caller, reviewed 2025-Q4
function trustedOp() external onlyOwner { ... }
Chains: Ethereum ยท Berachain ยท Arbitrum ยท Base ยท Optimism ยท Polygon ยท BSC ยท Linea ยท zkSync ยท Scroll
Languages: Solidity (full) ยท Vyper (specialist + skill) ยท Stylus/Rust ยท CosmWasm ยท Solana-Anchor (dedicated skills for top vuln classes) ยท Yul / inline assembly (specialist)
/report produces Markdown, HTML, PDF, JSON, and a shareable PNG audit card. /card produces just the PNG โ built for social sharing.
๐ Docs + sample reports + gallery: omermaksutii.github.io/RugProof
The site is built from the docs/ folder via the GitHub Pages workflow at .github/workflows/pages.yml โ every push to main that touches docs/ redeploys.
RugProof/
โโโ .claude-plugin/plugin.json # marketplace manifest + MCP/hook wiring
โโโ .github/ # workflows (pages, pr-audit, release) + action + templates
โโโ commands/ # 45 slash commands (real prompts)
โโโ agents/ # 23 subagents
โโโ skills/ # 45 auto-invoked detection skills
โโโ mcp/ # 13 MCP servers (TypeScript)
โโโ scripts/ # render-card ยท render-report ยท md-to-html ยท telemetry ยท โฆ
โโโ hooks/ # 4 hooks
โโโ templates/ # report.md.hbs ยท report.html.hbs ยท audit-card.svg.hbs
โโโ examples/ # 5 vulnerable demo contracts
โโโ nft/ # AuditCertificate.sol (soulbound) + tests
โโโ samples/ # rendered sample reports + cards
โโโ docs/ # GitHub Pages site (auto-deployed)
โโโ rules/ # community rule pack template
โโโ test/ # Foundry exploit tests
โโโ lib/ # forge-std, openzeppelin-contracts (gitmodules)
โโโ foundry.toml ยท remappings.txt
โโโ Makefile ยท LICENSE ยท SECURITY.md ยท CONTRIBUTING.md ยท CODE_OF_CONDUCT.md ยท CHANGELOG.md
โโโ .rugproof.yml.example ยท .rugproofignore.example
โโโ README.md
One-liner via Makefile:
make build # builds all 13 MCP servers + scripts
make test # forge tests + NFT tests + MCP smoke test
make audit-demo # runs the bundled reentrancy exploit PoC (passes)
make sample-cards # rerender PNG audit cards from samples/
make sample-html # rerender HTML pages from samples/
Or manually:
cd mcp && npm install && npm run build
cd ../scripts && npm install && npm run build
forge install # if you want to refresh git submodules
forge test -vv # exploit PoC against VulnerableVault passes
node scripts/dist/test-mcp.js # MCP smoke test (13/13 servers should pass)
The plugin.json points to mcp/<name>-mcp/dist/index.js for each server. Most return mock data when API keys / external tools are absent so the plugin works out-of-the-box even without a fully configured environment.
v0.1 shipped the full skeleton; the 0.2 โ 1.0 arc hardened it into a tested, real-integration, launch-ready tool.
| Version | Scope | Status |
|---|---|---|
| 0.1.0 | Full skeleton: every command ยท agent ยท skill ยท MCP ยท hook ยท template ยท demo ยท NFT cert ยท Action ยท Pages site | โ |
| 0.2.0 | Bug-fixes + real test suites + CI gates + Etherscan v2 / GoPlus / Slither / Mythril MCPs + 4 specialists / 8 skills / 5 commands + source-generated docs | โ |
| 0.3.0 | EIP-1967/1822 proxy resolver ยท live-analyzer CI ยท dependency maintenance | โ |
| 0.4.0 | Rule-pack validator + 2 real packs ยท accuracy benchmark harness | โ |
| 0.5.0 | fuzz-runner MCP (Echidna/Medusa/Halmos) ยท non-EVM skills (Stylus/CosmWasm/Solana) | โ |
| 0.6.0 | Monitoring MCP + /monitor ยท Immunefi bounty formatter | โ |
| 0.7.0 | On-chain certificate deploy-readiness (Berachain runbook + targets) | โ |
| 0.8.0 | Source-driven public audit gallery | โ |
| 0.9.0 | Incremental cache ยท MCP-boundary input safety ยท _shared tests | โ |
| 1.0.0 | Launch: frozen findings schema + semver commitment + owner-gated handoff (LAUNCH.md) | โ |
Shipping to users is the only remaining work, and it's external (marketplace
submission, mainnet cert deploy, API keys, hosting) โ see LAUNCH.md.
MIT
FAQ
rugproof is a Claude Code plugin with 52 hand-picked skills for security work, indexed on Flowy. Install it with the command on its page. It includes example-fork-detection, solady-erc20-permit2-assumptions, solady-ownable-init-frontrun. Its skills do not fire on their own yet. Request auto-invocation to have Flowy route them as you prompt. Free and open source.
Is this plugin yours?
Claim it with GitHubSubmit a pluginPromote it