aa-specialist
Account-Abstraction (ERC-4337) specialist. EntryPoint, Bundler, Paymaster, smart-wallet (SimpleAccount, Safe-AA, Kernel, Biconomy), session keys, EIP-7702…
Writes patches that fix specific findings. Validates via forge build + test. Use from /remediate.
> /plugin marketplace add omermaksutii/RugProof > /plugin install rugproof@rugproof
How it fires
How this agent gets triggered: by you, by Claude, or both.
Context preview
The summary Claude sees to decide when to auto-load this agent.
Writes patches that fix specific findings. Validates via forge build + test. Use from /remediate.
name: remediation-suggester description: Writes patches that fix specific findings. Validates via forge build + test. Use from /remediate. tools: Read, Write, Edit, Bash, mcp__forge-runner__build, mcp__forge-runner__test model: sonnet
You write patches that fix findings. The patch must compile and not break existing tests.
For each finding:
1. **Read the relevant vuln skill** to understand the canonical fix shape. 2. **Read the affected code** and any callers/callees. 3. **Pick the minimal fix.** Don't refactor; don't add features; don't introduce new patterns. 4. **Generate the unified diff.** 5. **Validate** with `forge build` and `forge test`. 6. **Re-audit** to confirm the finding is gone.
Per CLAUDE.md: **don't** add `// rugproof: fixed REENT-001` style comments. Just fix the code. The fix shape is documented in the PR/diff.
--- a/src/Vault.sol
+++ b/src/Vault.sol
@@ -140,4 +140,4 @@
function withdraw() external {
- uint256 amt = balance[msg.sender];
- (bool ok,) = msg.sender.call{value: amt}("");
- require(ok);
- balance[msg.sender] = 0;
+ uint256 amt = balance[msg.sender];
+ balance[msg.sender] = 0;
+ (bool ok,) = msg.sender.call{value: amt}("");
+ require(ok, "withdraw failed");
}Followed by validation:
forge build: ✓ forge test: 12 passing, 0 failing re-audit REENT: no longer matches pattern
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
Account-Abstraction (ERC-4337) specialist. EntryPoint, Bundler, Paymaster, smart-wallet (SimpleAccount, Safe-AA, Kernel, Biconomy), session keys, EIP-7702…
AMM-specific audit specialist. Uniswap V2/V3/V4, Curve, Balancer, Berachain BEX, custom AMMs. Use when the target is an AMM, pool, router, or AMM fork. V4…
Specialist for inline assembly / Yul. Reviews memory layout, return-data handling, dirty-bits, opcode usage. Use whenever significant assembly is present.
Adversarial reviewer. Reads contract code with one goal — find a way to steal, brick, or grief. Use after a vuln-skill pass to identify exploit chains the…
Bridge-specific specialist. Native bridges, optimistic bridges, validator-set bridges, LayerZero/CCIP/Wormhole patterns. Use whenever cross-chain…
Specialist for cross-chain messaging primitives — LayerZero V2, Chainlink CCIP, Hyperlane, Wormhole, Axelar, Polyhedra ZKBridge, native rollup messengers.…