Skip to content
Security
Command

/demo

Run Rugproof against the bundled vulnerable example contracts — first-run "wow moment".

From plugin
rugproof
945 skills23 agents45 commands4 hooks
Install
> /plugin marketplace add omermaksutii/RugProof
> /plugin install rugproof@rugproof

How it fires

How this command gets triggered: by you, by Claude, or both.

  • Fires itselfClaude auto-loads it when your prompt matches the work.
  • You can call itInvoke it directly when you want it.
  • Slash command/demo

Context preview

What this command does when you run it.

Run Rugproof against the bundled vulnerable example contracts — first-run "wow moment".

Command definition

demo.md
description: Run Rugproof against the bundled vulnerable example contracts — first-run "wow moment".
argument-hint: "[reentrancy|oracle|flash-loan|inflation|replay|vyper|all]"
allowed-tools: Read, Bash, Agent, Skill

/demo — run on bundled vulnerable contracts

First-run experience. Lets a new user see Rugproof's output on a real (but safe) vulnerable contract — no need to bring their own code yet.

Bundled demos

Located in `examples/` (Solidity) and `examples-vyper/` (Vyper):

| Demo | Contract | Primary vuln class | |---|---|---| | `reentrancy` | `examples/VulnerableVault.sol` | reentrancy + access-control | | `oracle` | `examples/SpotOracleLending.sol` | oracle-manipulation + flash-loan | | `flash-loan` | `examples/FlashLoanGovernance.sol` | governance flash-loan | | `inflation` | `examples/Inflatable4626.sol` | ERC-4626 donation attack | | `replay` | `examples/ReplayableBridge.sol` | signature replay (cross-chain) | | `vyper` | `examples-vyper/VulnerableVyper.vy` | Vyper 0.2.15 `@nonreentrant` miscompile + access-control |

Procedure

1. Map `$ARGUMENTS` to one or more demo files. Default = `all`. 2. Run `/audit` on each. 3. Show full output (findings + grade + trust report). 4. For each finding, optionally also run `/exploit` to generate a working PoC. 5. End with a teaser:

That's what Rugproof finds on these demos.
Try it on your own code:
  /audit <your-file>
  /audit                        (scans your whole repo)

Got a deployed contract? Try:
  /audit-live <chain> <addr>

Notes

  • This is the marketing surface. Make the output look great — proper colors, no broken Markdown, satisfying summary.
  • The 5 bundled demos should be selected such that they exhibit the most "wow" findings (visible reentrancy, oracle manip, inflation attack).
  • For onboarding flows (`/rugproof-init` after-test-run), default to `/demo reentrancy` — quickest to read.
Read more
Ships withrugproof

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

Get the whole plugin

Other commands on rugproof.