All projects

Guardian

Guardian is a system that uses AI + Chainlink Runtime Environment (CRE) to detect critical vulnerabilities in smart contracts and trigger on-chain emergency protection.

CRE & AI

What it is

Guardian introduces AI-assisted autonomous protection.

  1. Anyone can request an AI audit for a deployed contract
  2. The system analyzes the contract source code using an AI security model
  3. If a critical vulnerability is detected the contract automatically executes an emergency protection action
    Guardian is model-agnostic and can work with any AI model capable of analyzing smart contracts.
    Guardian also includes a bug bounty feature.
    Anyone can create a bounty for a contract using GuardianHub.
    If a user discovers a critical vulnerability they can:
  4. Submit a proof of vulnerability
  5. The proof is sent to the CRE workflow using an HTTP trigger
  6. The AI model analyzes the proof
  7. If the vulnerability is confirmed:
    • the bounty is paid automatically
    • the contract protection can be triggered
      This enables vulnerabilities to be validated programmatically without manual reviewers.

How it Works

The Chainlink CRE workflow performs two main tasks.
AI audit

  1. listens for AuditRequested events
  2. fetches verified source code from Etherscan
  3. sends the code to an AI model
  4. receives vulnerability analysis
  5. submits the signed result on-chain

Bounty Validation

  1. receives a proof submission via HTTP trigger
  2. analyzes the vulnerability proof using the AI model
  3. confirms whether the vulnerability is real
  4. if confirmed, submits a report to GuardianHub
  5. GuardianHub pays the bounty and can trigger protection

Links

Created by

  • andrea zuccarini