example-fork-detection
TEMPLATE — replace with the description of your rule. Should activate on the specific code patterns your fork has. Activate on…
Always-on meta-skill — cache audit results per file by content hash so unchanged files aren't re-analyzed on subsequent runs. Activate on every /audit, /quick-scan, /audit-changes invocation.
Claude Code
$ npx -y skills add omermaksutii/RugProof --skill caching-and-incremental --agent claude-code
Codex
$ npx skills add omermaksutii/RugProof --skill caching-and-incremental -a codex -y
Cursor
$ npx skills add omermaksutii/RugProof --skill caching-and-incremental -a cursor -y
Gemini CLI
$ npx skills add omermaksutii/RugProof --skill caching-and-incremental -a gemini-cli -y
GitHub Copilot
$ npx skills add omermaksutii/RugProof --skill caching-and-incremental -a github-copilot -y
OpenCode
$ npx skills add omermaksutii/RugProof --skill caching-and-incremental -a opencode -y
Windsurf
$ npx skills add omermaksutii/RugProof --skill caching-and-incremental -a windsurf -y
name: caching-and-incremental description: Always-on meta-skill — cache audit results per file by content hash so unchanged files aren't re-analyzed on subsequent runs. Activate on every /audit, /quick-scan, /audit-changes invocation.
The first audit of a 50K-line codebase is slow. The second one shouldn't be. This skill governs cache reuse.
`~/.cache/rugproof/<repo-fingerprint>/`
findings/ <sha256(file-content)>.json # findings for that exact file content <sha256>.skill-versions # skill names + versions used to produce findings manifest.json # mapping file-path → current sha256
**Repo fingerprint** = sha256 of the absolute repo root path (so different checkouts don't collide).
`current_hash = sha256(read F)`
After audit completes:
Periodically (e.g. weekly): drop `findings/*.json` not referenced from any current manifest.
Re-audit even if hash matches when:
In the audit summary, show:
Cache: 27 files cached (78%) · 8 files re-analyzed Speedup: ~6.4× vs cold run
This builds trust that the cache is doing real work.
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
TEMPLATE — replace with the description of your rule. Should activate on the specific code patterns your fork has. Activate on…
Detect unsafe assumptions about Solady's gas-optimized ERC20/ERC2612 permit and DN404 metadata. Solady's ERC20 uses custom…
Detect front-runnable ownership initialization in Solady Ownable / OwnableRoles. Solady's `_initializeOwner` is a guarded…
Detect Solady SafeTransferLib calls that assume the token has code. SafeTransferLib.safeTransfer/safeTransferFrom/safeApprove…
Detect Uniswap V4 hooks that fail to settle currency deltas with the PoolManager. Every credit/debit a hook creates…
Detect Uniswap V4 hooks whose address-encoded permission flags don't match the callbacks the hook actually implements. In V4 the…
Use for authorized security assessment of REST, GraphQL, WebSocket, or SOAP APIs, including discovery, authentication,…
Extract and decrypt Windows DPAPI-protected secrets (Credential Manager, browser logins/cookies, Wi-Fi credentials, KeePass keys)…
Clean and finalize authorized natural-language text intended for readers by auditing suspicious invisible Unicode and rewriting…