NovaGuard
NovaGuard ⚡️ AI audit engine for smart contracts
Created on 29th June 2025
•
NovaGuard
NovaGuard ⚡️ AI audit engine for smart contracts
The problem NovaGuard solves
In the decentralized world of Web3, smart contracts power billions of dollars in assets — but even a single vulnerability can lead to catastrophic losses.
Yet:
🔍 Manual audits are expensive and slow, often costing $30,000+ and taking weeks
⚠️ Many developers deploy without audits, due to time, cost, or access barriers
🧪 Existing tools (like Remix or Slither) lack contextual AI reasoning or automation
🔁 Smart contracts evolve — but traditional audits are one-time, not continuous
🌐 Cross-chain protocols, DeFi platforms, and DAOs face complex, protocol-specific risks (like MEV, flashloan exploits, or tokenomics flaws) that static tools miss
😨 Developers have no real-time way to detect or respond to these issues at scale
Challenges we ran into
-
🧠 Integrating Multi-Agent AI with Solidity Analysis
Building a robust pipeline to handle Solidity, bytecode, and ABI structures for AI analysis was complex. Translating smart contract data into structured prompts that worked well with LLMs (like gemma-3n-e4b-it) required deep prompt engineering and consistent formatting. -
🔗 Backend and Frontend API Synchronization
Creating a seamless full-stack experience using Supabase edge functions, Clerk authentication, and syncing state between backend events and frontend API calls introduced challenges in maintaining a clean, serverless architecture. -
🛡️ Real-Time Security Scoring Logic
Designing a scoring system that quantifies risk (0–100) while factoring in severity, vulnerability type, and potential exploitability was more difficult than expected — especially when dealing with DeFi-specific logic like reentrancy or MEV threats. -
🌉 Cross-Chain Contract Compatibility
Supporting contracts deployed across multiple chains (Ethereum, Arbitrum, zkSync, etc.) meant handling varied explorer APIs, different bytecode verification formats, and network-specific nuances — all in a unified analysis pipeline. -
🧪 Testing with Real Vulnerable Contracts
Finding reliable sources of intentionally vulnerable smart contracts to test against — and validate whether the AI agent responded correctly — was a challenge. It required pulling from exploit archives and open security datasets. -
⚙️ Clerk + Supabase Auth Integration
Clerk’s JWT token structure and Supabase’s RLS enforcement required precise role-based policies. Ensuring secure access to contract results without exposing data across users involved advanced Supabase policy configurations. -
🧾 Structured Output from LLMs
Getting large language models to consistently return strict JSON structures (with nested vulnerability info, scores, and optimizations) while preserving reasoning and context required iterative fine-tuning and retries.
Tracks Applied (1)
Ethereum Track
ETHIndia
