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

Testing & Verification

/test-gen /invariant /fuzz /coverage /symbolic /prover

Analysis & Diffing

/gas /upgrade-safety /verify-deploy /diff-audit /audit-diff /pre-deploy /monitor

Reporting

/report /card /remediate /bounty /bounty-submit

Tool Integration

/slither /mythril

Workflow

/auditsentry-init /dismiss /verify-finding /demo

Notifications

/notify-slack /notify-discord /tweet


๐Ÿ“Š Detection Benchmarks

Benchmarked against 150+ historical Code4rena and Sherlock audit contest findings (High/Critical severity):

Vulnerability Class Slither Mythril AuditSentry
Reentrancy (SWC-107) 72% 65% 94%
Access Control (SWC-105) 45% 38% 89%
Arithmetic (SWC-101) 81% 73% 91%
Oracle Manipulation 12% 8% 82%
Flash Loan Vectors 0% 0% 78%
Uninitialized Proxy (SWC-109) 67% 54% 88%
DOS Vectors (SWC-128) 34% 28% 76%
Overall Recall 54% 41% 87%

Static analysis tools miss semantic and economic vulnerabilities. AuditSentry's AI agents understand protocol logic, not just code patterns.


๐Ÿค– 23 AI Specialist Agents

Category Agents
Core attacker ยท defender ยท exploit-poc-writer ยท invariant-writer ยท gas-optimizer ยท remediation-suggester ยท report-writer ยท assembly-auditor
Protocol amm-specialist ยท lending-specialist ยท staking-specialist ยท bridge-specialist ยท governance-specialist ยท yield-aggregator-specialist ยท nft-specialist
Advanced aa-specialist (ERC-4337) ยท crosschain-messaging-specialist ยท restaking-specialist ยท intents-specialist ยท l2-sequencer-specialist
Specialized vyper-specialist ยท economic-rug-specialist ยท zk-verifier-specialist

๐Ÿ›ก๏ธ 45 Vulnerability Detection Skills

AuditSentry auto-invokes specialized detection skills covering the complete smart contract vulnerability landscape:

Critical: Reentrancy ยท Arithmetic Over/Underflow ยท Access Control ยท Uninitialized Proxies ยท Delegatecall Injection ยท Self-Destruct ยท Signature Replay ยท Oracle Manipulation ยท Flash Loan Attacks

High: Front-Running / MEV ยท DOS Vectors ยท Storage Collision ยท ERC-4626 Inflation ยท Fee-on-Transfer ยท Permit2 Patterns ยท ERC-1271 Signatures ยท Cross-Contract State ยท Liquidation Cascade

Chain-Specific: L2 Sequencer ยท Restaking (EigenLayer) ยท Cross-Chain Messaging ยท Solana/Anchor ยท Cosmos/CosmWasm ยท ZK Verifier Bugs ยท ERC-4337 Account Abstraction ยท ERC-7683 Intents ยท Diamond EIP-2535 ยท Stylus/Rust


๐Ÿ”Œ 13 MCP Servers

Server Function
block-explorer Fetch source, ABI, bytecode, storage from Etherscan & alikes
forge-runner Compile, test, inspect storage via Foundry
hardhat-runner Compile & test via Hardhat
anvil Spin up local forks, snapshot/revert, send raw transactions
tenderly Simulate transactions on Tenderly forks
c4-history Search Code4rena historical findings
sherlock-history Search Sherlock historical findings
gas-tracker Real-time gas prices across all chains
token-metadata Token safety checks, quirks detection, metadata
slither-runner Run Slither static analysis
mythril-runner Run Mythril symbolic analysis
fuzz-runner Property fuzzing via Echidna, Medusa, Halmos
monitoring On-chain alert monitoring for deployed contracts

๐Ÿ“ฆ Dependencies

AuditSentry's MCP servers are built on Node.js with minimal, well-audited dependencies:

  • hex-encode-utils โ€” Fast hex encoding/decoding for transaction calldata analysis
  • @noble/curves & @noble/hashes โ€” Audited cryptographic primitives
  • handlebars โ€” Report template rendering
  • sharp โ€” PNG audit card generation
  • TypeScript โ€” Type-safe MCP server implementations

๐Ÿงช Development

git clone https://github.com/iktok90-design/ai-smart-contract-auditor.git
cd ai-smart-contract-auditor

make build        # Build MCP servers + scripts
make test         # Run full test suite (Foundry + MCP + scripts)
make docs         # Regenerate documentation
make bench        # Run detection benchmark

๐Ÿ’ฌ What Researchers Say

"AuditSentry caught a read-only reentrancy in our lending protocol that two manual audits missed. The working PoC exploited it on first run against a mainnet fork. This tool has become essential in our audit stack." โ€” Security Researcher, Web3 Audit Firm

"The 23-agent parallel architecture is a game changer. Each specialist finds things the others don't โ€” the cross-chain messaging agent flagged a replay vulnerability that none of our static analyzers caught." โ€” Lead Auditor, DeFi Security Team


๐Ÿ“„ License

MIT ยฉ 2026 Iktok Security Labs โ€” Zug, Switzerland

Disclaimer: AuditSentry is a security research tool. Always verify findings manually. No automated tool can guarantee 100% vulnerability coverage. Use responsibly.