fozagtx/audity

GitHub: fozagtx/audity

多Agent协作的智能合约安全审计系统,自动检测Solidity漏洞并生成Foundry PoC验证。

Stars: 0 | Forks: 0

# Audity — 无信任智能合约安全 ## 已部署合约 (Somnia Testnet) | 合约 | 地址 | 浏览器 | |----------|---------|----------| | SecurityRegistry | `0x542A1352b7a62f1D2EF320DC1353f6ECbB1Be4dB` | [查看](https://shannon-explorer.somnia.network/address/0x542A1352b7a62f1D2EF320DC1353f6ECbB1Be4dB) | | WatchlistHandler | `0x32A69a587488EB9664A7F7E6f6a6a2B33657446A` | [查看](https://shannon-explorer.somnia.network/address/0x32A69a587488EB9664A7F7E6f6a6a2B33657446A) | ## 架构 ``` User → POST /api/agent/query ↓ Manager Agent (LLM: Groq llama-3.3-70b) ↓ x402 STT payment Scanner → Validator → Exploit Sim ↓ on-chain (Somnia Reactivity) SecurityRegistry.sol + WatchlistHandler.sol ``` ## Monorepo ``` backend/ — Express.js API (port 4002) frontend/ — Next.js dashboard (port 3000) contracts/ src/ SecurityRegistry.sol — findings lifecycle, hire counts, reputation WatchlistHandler.sol — Somnia Reactivity cron handler ``` ## Agents | Agent | 价格 | 描述 | |-------|-------|-------------| | Scanner Agent | 0.010 STT | 检测前 10 大 Solidity 漏洞 | | Validator Agent | 0.005 STT | 确认或驳回扫描结果 | | Exploit Sim Agent | 0.020 STT | 生成 Foundry PoC 漏洞利用测试 | ## 设置 ``` bun run install:all # 创建 backend/.env 并填入: # AGENT_PRIVATE_KEY= # GROQ_API_KEY= bun run dev ``` ## Somnia Testnet | | | |---|---| | Chain ID | 50312 | | RPC | https://api.infra.testnet.somnia.network | | WSS | wss://api.infra.testnet.somnia.network | | Explorer | https://shannon-explorer.somnia.network | | Token | STT |
标签:AI代理, DeFi安全, Express.js, Foundry, PoC生成, PyRIT, Solidity, Somnia测试网, Web3安全, 云安全监控, 加密货币安全, 区块链安全, 去中心化应用, 合约验证, 多智能体系统, 大型语言模型, 对称加密, 智能合约审计, 漏洞利用模拟, 自动化审计, 自动化攻击, 链上安全, 静态分析