Inspiration

Since smart contracts are now the foundation of decentralized finance, even a minor glitch could have disastrous consequences, ranging from millions of dollars in stolen money to irreversible harm to trust. When I realized that smart contract auditing is too costly, labor-intensive, and expertise-driven for the majority of developers, I was motivated to create Audit Wolf. I saw an opportunity with the emergence of AI and platforms like OpenRouter: what if someone could instantly audit a smart contract with the same level of intelligence as elite auditors? That idea gave rise to Audit Wolf, which aims to make security automation developer-friendly, scalable, and reasonably priced. It's the start of a more intelligent Web3, not just a tool.

What it does

Audit Wolf conducts an AI-driven security audit using a Solidity smart contract as input. Powered by contemporary AI and backend architecture, it produces the following outputs:

  • A list of vulnerabilities (ranked by severity);
  • suggestions for gas optimization;
  • an optional PDF report;
  • an optional email delivery or on-chain verification;
  • and a clean user interface (UI) for developers to review, save, and share their findings.

How we built it

  • Frontend: Built in Bolt.new with GitHub integration, focused on a clean developer experience.

  • AI Auditing: Integrated OpenRouter LLMs dynamically, selecting models based on contract complexity.

  • Backend: Serverless Edge Functions via Supabase, handling async audit processing, result storage, and PDF generation.

  • Storage: Results and audit metadata are stored in Supabase DB; optional IPFS and blockchain integration available.

  • Notification: Implemented custom SMTP email delivery for audit reports using a Render-hosted Node.js service, allowing reliable outbound emails independent of frontend limits.

Challenges we ran into

  • Bolt’s limitations for advanced backend handling pushed us to externalize logic via Supabase Edge Functions.

  • Prompt engineering was non-trivial — ensuring the AI responded with JSON-only required iteration and sanitization.

  • Handling large Solidity files and model timeouts across multiple AI endpoints introduced asynchronous processing complexity.

  • Adapting the design to fit within Bolt's layout system while still being intuitive and visually clean was a learning curve.

Accomplishments that we're proud of

  • Created a fully functional AI audit system that actually catches real issues in Solidity contracts

  • Seamlessly integrated Supabase + OpenRouter + Bolt in a scalable, modular way

  • Achieved clean UI/UX despite multiple moving parts — from upload to AI to result download

  • Implemented email + blockchain-based verification within a Bolt-based app

  • Finished and tested everything within the tight hackathon window

What we learned

  • How to build robust serverless pipelines using Supabase Edge Functions

  • The nuance of AI prompt design when security is involved

  • That even limited platforms like Bolt can support powerful, production-grade apps when paired with creative architecture

  • The value of thoughtful design — both in UX and backend data flow

  • That every second of user experience matters when trust is at stake (especially in security tooling)

What's next for Audit Wolf - Smart Contract Security Auditor Powered by AI

  • Add support for additional languages (e.g. Vyper, Huff)

  • Enable batch audit mode for enterprise use

  • Expand AI model routing with usage cost optimization

  • Open-source core auditing framework for community validation

  • Offer real-time IDE plugins (e.g., VSCode extension)

  • Launch as a product: AuditWolf.ai, aiming to secure millions in Web3 funds with free and paid tiers

Built With

Share this project:

Updates