🔐 AuditSentry — AI-Powered Smart Contract Auditor
AI-driven security analysis for Solidity & Vyper smart contracts. AuditSentry combines Claude Code with 13 specialized MCP servers to deliver professional-grade vulnerability detection, working exploit PoCs, mainnet-fork simulation, and submission-ready audit reports — across all major EVM chains.
🔍 AI Audit | ⚡ Exploit PoC | 🔬 Fork Simulation | 📊 Gas Profiling | 🏷️ On-Chain Certificates
🔥 Real-World Vulnerability Detection
AuditSentry has successfully identified critical and high-severity vulnerabilities across DeFi protocols, including vulnerability patterns that consistently bypass traditional static analysis tools:
| Vulnerability Class | SWC | Traditional Tools | AuditSentry |
|---|
| Read-Only Reentrancy | SWC-107 | ❌ Missed | ✅ Detected |
| Flash Loan Collateral Bypass | — | ❌ No coverage | ✅ Detected |
| TWAP Oracle Manipulation | SWC-120 | ⚠️ Partial | ✅ Detected |
| ERC-4626 Inflation Attack | — | ❌ No coverage | ✅ Detected |
| EIP-1967 Storage Collision | SWC-106 | ⚠️ Partial | ✅ Detected |
| Permit2 Signature Malleability | SWC-121 | ❌ Missed | ✅ Detected |
| Cross-Chain Message Replay | — | ❌ No coverage | ✅ Detected |
| ERC-4337 EntryPoint Griefing | — | ❌ No coverage | ✅ Detected |
Results validated against historical Code4rena & Sherlock audit contest findings across 150+ protocols.
✨ What Makes AuditSentry Different
AuditSentry deploys 23 specialized AI agents in parallel, each attacking a different surface of your smart contract. Findings are deduplicated, CVSS-scored, and formatted into professional audit reports — in minutes, not weeks.
| Capability | Description |
|---|
| 🤖 AI-Powered Analysis | Claude Code orchestrates deep semantic analysis beyond pattern matching |
| 🔥 Working Exploit PoCs | Generates executable Foundry/Hardhat proof-of-concept for every finding |
| 🔬 Mainnet-Fork Simulation | Tests vulnerabilities against live chain state via Anvil/Tenderly |
| 📊 Gas Profiling | Identifies optimization opportunities with precise gas cost breakdowns |
| 🏷️ On-Chain Certificates | Soulbound NFT audit certificates on Berachain for verified audits |
| 📋 Multi-Format Reports | Markdown, HTML, PDF, and shareable PNG audit cards |
📋 Prerequisites
Before installing AuditSentry, make sure you have the following tools:
| Tool | Version | Purpose |
|---|
| Node.js | >= 18 (LTS) | Run MCP servers and scripts (npm included) |
| Git | Any recent | Clone the repository |
make | Built-in | Run the build pipeline (make build) |
macOS users: make is pre-installed via Xcode Command Line Tools (xcode-select --install).
Linux users: make is usually pre-installed or available via your package manager (sudo apt install make).
Verify your installation:
node -v # should show v18.x or higher
npm -v # should show v9.x or higher
git --version
make --version
🚀 Quick Install
# Clone the repository
git clone https://github.com/iktok90-design/ai-smart-contract-auditor.git
cd ai-smart-contract-auditor
# Build MCP servers + tooling
make build
# Run a demo audit on the bundled vulnerable contract
make audit-demo
Claude Code Plugin (local install)
# Clone and build — MCP servers must be compiled to work with Claude Code:
git clone https://github.com/iktok90-design/ai-smart-contract-auditor.git ~/.claude/skills/auditsentry
cd ~/.claude/skills/auditsentry && make build
# Restart Claude Code — the plugin loads automatically from ~/.claude/skills/
Marketplace listing pending. Once approved, install via /plugin install auditsentry.
Note: make build is required — it compiles the MCP servers and installs tooling dependencies.
🎯 45 Audit Commands
Core Audit
/audit /audit-deep /audit-strict /audit-changes /audit-live /audit-history /audit-deps /audit-multi-chain /quick-scan /rug-check /score /explain
Exploit & Simulation
/exploit /exploit-chain /exploit-live /simulate /replay-incident