audit-changes
Audit only the git diff vs main (or specified base). Optimized for PR review.
Check storage compatibility, initializer changes, and admin-function deltas between two implementations of an upgradeable contract.
> /plugin marketplace add omermaksutii/RugProof > /plugin install rugproof@rugproof
How it fires
How this command gets triggered: by you, by Claude, or both.
/upgrade-safetyContext preview
What this command does when you run it.
Check storage compatibility, initializer changes, and admin-function deltas between two implementations of an upgradeable contract.
description: Check storage compatibility, initializer changes, and admin-function deltas between two implementations of an upgradeable contract. argument-hint: "<old-impl-path-or-address> <new-impl-path-or-address>" allowed-tools: Read, Bash, Agent, Skill, mcp__block-explorer__*, mcp__forge-runner__*
For UUPS / Transparent / Beacon / Diamond upgrades. Catches the bugs that brick proxies.
Inputs can be:
mcp__forge-runner__inspect_storage(path=<old>) mcp__forge-runner__inspect_storage(path=<new>)
Diff the storage layouts. The rules ([[storage-layout]]):
If OZ upgrades plugin available, also run its built-in `validateUpgrade()`.
Upgrade safety: src/VaultV1.sol → src/VaultV2.sol Storage layout: ✓ safe (append-only) New slots: +1 (uint256 emergencyFeeBps at slot 12) Initializer: ⚠ requires reinitializer(2) — NOT YET MARKED Admin surface: ⚠ `setEmergencyFee` added — no onlyOwner modifier __gap consumption: 0 / 50 Verdict: UNSAFE — fix the two warnings before upgrading. Recommended diff: ...
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.