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
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.
> /plugin marketplace add omermaksutii/RugProof> /plugin install rugproof@rugproof
Repo: omermaksutii/RugProof
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
.claude-plugin/
marketplace.json
plugin.json
.github/
actions/
rugproof-action/
action.yml
README.md
dependabot.yml
FUNDING.yml
ISSUE_TEMPLATE/
bug.yml
feature.yml
vuln-rule.yml
PULL_REQUEST_TEMPLATE.md
workflows/
ci.yml
pages.yml
release.yml
rugproof-pr.yml
.gitignore
.gitmodules
.rugproof.yml.example
.rugproofignore.example
agents/
aa-specialist.md
amm-specialist.md
assembly-auditor.md
attacker.md
bridge-specialist.md
crosschain-messaging-specialist.md
defender.md
economic-rug-specialist.md
exploit-poc-writer.md
gas-optimizer.md
governance-specialist.md
intents-specialist.md
invariant-writer.md
l2-sequencer-specialist.md
lending-specialist.md
nft-specialist.md
remediation-suggester.md
report-writer.md
restaking-specialist.md
staking-specialist.md
vyper-specialist.md
yield-aggregator-specialist.md
zk-verifier-specialist.md
bench/
expected.json
README.md
CHANGELOG.md
CODE_OF_CONDUCT.md
commands/
audit-changes.md
audit-deep.md
audit-deps.md
audit-diff.md
audit-history.md
audit-live.md
audit-multi-chain.md
audit-strict.md
audit.md
bounty-submit.md
bounty.md
card.md
coverage.md
demo.md
diff-audit.md
dismiss.md
explain.md
exploit-chain.md
exploit-live.md
exploit.md
fuzz.md
gas.md
invariant.md
mint-cert.md
monitor.md
mythril.md
notify-discord.md
notify-slack.md
pre-deploy.md
prover.md
quick-scan.md
remediate.md
replay-incident.md
report.md
rug-check.md
rugproof-init.md
score.md
simulate.md
slither.md
symbolic.md
test-gen.md
tweet.md
upgrade-safety.md
verify-deploy.md
verify-finding.md
CONTRIBUTING.md
docs/
assets/
animations.js
apple-touch-icon.png
card-flash-loan-gov.png
card-inflatable.png
card-replayable-bridge.png
card-spot-oracle.png
docs.css
favicon-64.png
favicon.svg
gallery.css
og.png
og.svg
sample-card.png
style.css
docs/
agents.html
commands.html
configuration.html
index.html
mcp-reference.html
sample-flash-loan-governance.html
sample-inflatable-4626.html
sample-replayable-bridge.html
sample-spot-oracle-lending.html
sample-vulnerable-vault.html
skills.html
stability.html
telemetry.html
troubleshooting.html
gallery/
index.html
manifest.json
index.html
superpowers/
specs/
2026-06-16-rugproof-v0.2.0-design.md
examples/
examples-vyper/
VulnerableVyper.vy
FlashLoanGovernance.sol
Inflatable4626.sol
README.md
ReplayableBridge.sol
SpotOracleLending.sol
VulnerableVault.sol
foundry.toml
hooks/
post-test-coverage.sh
pre-commit-quickscan.sh
pre-deploy-check.sh
pre-push-audit.sh
LAUNCH.md
LICENSE
Makefile
mcp/
_shared/
package.json
src/
index.ts
tsconfig.json
anvil-mcp/
package.json
src/
index.js
index.js.map
index.ts
tsconfig.json
block-explorer-mcp/
package.json
src/
index.js
index.js.map
index.ts
tsconfig.json
c4-history-mcp/
package.json
src/
index.js
index.js.map
index.ts
tsconfig.json
forge-runner-mcp/
package.json
src/
index.js
index.js.map
index.ts
tsconfig.json
fuzz-runner-mcp/
package.json
src/
index.ts
tsconfig.json
gas-tracker-mcp/
package.json
src/
index.js
index.js.map
index.ts
tsconfig.json
hardhat-runner-mcp/
package.json
src/
index.js
index.js.map
index.ts
tsconfig.json
monitoring-mcp/
package.json
src/
index.ts
tsconfig.json
mythril-runner-mcp/
package.json
src/
index.ts
tsconfig.json
package-lock.json
package.json
sherlock-history-mcp/
package.json
src/
index.js
index.js.map
index.ts
tsconfig.json
slither-runner-mcp/
package.json
src/
index.ts
tsconfig.json
tenderly-mcp/
package.json
src/
index.js
index.js.map
index.ts
tsconfig.json
test/
_rpc.mjs
servers.test.mjs
shared.test.mjs
token-metadata-mcp/
package.json
src/
index.js
index.js.map
index.ts
tsconfig.json
tsconfig.base.json
nft/
DEPLOY.md
script/
Deploy.s.sol
src/
AuditCertificate.sol
test/
AuditCertificate.t.sol
out-nft/
AuditCertificate.sol/
AuditCertificate.json
AuditCertificate.t.sol/
AuditCertificateTest.json
Base.sol/
CommonBase.json
ScriptBase.json
TestBase.json
build-info/
cb948956ad19d11d.json
Bytes.sol/
Bytes.json
console.sol/
console.json
Context.sol/
Context.json
draft-IERC6093.sol/
IERC1155Errors.json
IERC20Errors.json
IERC721Errors.json
ERC165.sol/
ERC165.json
ERC721.sol/
ERC721.json
ERC721Utils.sol/
ERC721Utils.json
IERC165.sol/
IERC165.json
IERC721.sol/
IERC721.json
IERC721Metadata.sol/
IERC721Metadata.json
IERC721Receiver.sol/
IERC721Receiver.json
IMulticall3.sol/
IMulticall3.json
Math.sol/
Math.json
Ownable.sol/
Ownable.json
Ownable2Step.sol/
Ownable2Step.json
Panic.sol/
Panic.json
SafeCast.sol/
SafeCast.json
safeconsole.sol/
safeconsole.json
SignedMath.sol/
SignedMath.json
StdAssertions.sol/
StdAssertions.json
StdChains.sol/
StdChains.json
StdCheats.sol/
StdCheats.json
StdCheatsSafe.json
StdConstants.sol/
StdConstants.json
StdError.sol/
stdError.json
StdInvariant.sol/
StdInvariant.json
StdJson.sol/
stdJson.json
StdMath.sol/
stdMath.json
StdStorage.sol/
stdStorage.json
stdStorageSafe.json
StdStyle.sol/
StdStyle.json
StdToml.sol/
stdToml.json
StdUtils.sol/
StdUtils.json
Strings.sol/
Strings.json
Test.sol/
Test.json
Vm.sol/
Vm.json
VmSafe.json
README.md
remappings.txt
rules/
community-pack-example/
pack.yml
skills/
example-fork-detection/
SKILL.md
README.md
solady-gotchas/
pack.yml
skills/
solady-erc20-permit2-assumptions/
SKILL.md
solady-ownable-init-frontrun/
SKILL.md
solady-safetransferlib-no-contract-check/
SKILL.md
uniswap-v4-hooks/
pack.yml
skills/
v4-hook-delta-accounting/
SKILL.md
v4-hook-permission-flags-mismatch/
SKILL.md
v4-hook-reentrancy-via-unlock/
SKILL.md
samples/
audit-flash-loan-governance.md
audit-inflatable-4626.md
audit-replayable-bridge.md
audit-spot-oracle-lending.md
audit-vulnerable-vault.html
audit-vulnerable-vault.json
audit-vulnerable-vault.md
card-flash-loan-gov.png
card-inflatable.png
card-replayable-bridge.png
card-spot-oracle.png
findings-flash-loan-gov.json
findings-inflatable.json
findings-replayable-bridge.json
findings-spot-oracle.json
sample-card.png
sample-findings.json
schemas/
finding.schema.json
scripts/
check-versions.mjs
ci-fetch-deps.sh
generate-docs.mjs
generate-gallery.mjs
package-lock.json
package.json
src/
benchmark.ts
... 126 more© 2026 Flowy · Free and open source
Built for Claude Code · Not affiliated with Anthropic