audit-changes
Audit only the git diff vs main (or specified base). Optimized for PR review.
Mint a soulbound Audit Certificate NFT on Berachain (or other supported chain) for a completed audit.
> /plugin marketplace add omermaksutii/RugProof > /plugin install rugproof@rugproof
How it fires
How this command gets triggered: by you, by Claude, or both.
/mint-certContext preview
What this command does when you run it.
Mint a soulbound Audit Certificate NFT on Berachain (or other supported chain) for a completed audit.
description: Mint a soulbound Audit Certificate NFT on Berachain (or other supported chain) for a completed audit. argument-hint: "[--chain berachain] [--ipfs-pin]" allowed-tools: Read, Bash, mcp__block-explorer__*
Mints a soulbound NFT recording the completed audit. The token's metadata bundle (audit JSON + Markdown report + PNG card) is pinned to IPFS.
Default chain: **Berachain** (the launch ecosystem).
Berachain runbook. Record its address in `.rugproof.yml`:
certificate:
chain_id: 80094 # Berachain mainnet (Bepolia testnet: 80069)
address: "0xDeployedCertAddress"needed) — `node scripts/dist/sign-cert.js --chain-id <id> --cert-address <addr> --subject <user> --report-hash <0x…> --ipfs-cid <Qm…> --target-name <name> --grade <0-6> --signer-key $RUGPROOF_ISSUER_KEY`. Its `signerAddress` must match the contract's configured issuer.
1. **Bundle the audit.** Collect:
Hash all three together → `reportHash` (sha256).
2. **Pin to IPFS.** If `--ipfs-pin`, upload the bundle. Capture CID. Otherwise expect `RUGPROOF_BUNDLE_CID` env var.
3. **Request issuer signature.** POST the bundle metadata + reportHash to Rugproof's signer:
curl -X POST https://api.omermaksutii.github.io/RugProof/v1/issue-cert \
-H "content-type: application/json" \
-d '{ "subject": "0x...", "reportHash": "0x...", "ipfsCid": "Qm...", "targetName": "MyVault", "grade": 5, "chainId": 80094 }'Returns `{ "issuerSig": "0x..." }`.
4. **Submit the mint tx.** Call `AuditCertificate.issue(subject, reportHash, ipfsCid, targetName, grade, issuerSig)` on the deployment for the target chain.
5. **Output the cert.**
✓ minted Rugproof Audit Certificate
chain: berachain
contract: 0xCERT...
tokenId: 42
subject: 0xUSER...
ipfs: ipfs://QmExample...
opensea: https://opensea.io/... (or beratrail equivalent)
image: https://gateway.ipfs.io/ipfs/QmExample.../card.pngThe cert is bound to the audited contract owner / repo maintainer. Transferring it would amount to selling a security claim, which would be fraud. Soulbound prevents secondary-market drift.
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.