All projects

Riskeon

AI + CRE risk execution layer that turns signals into policy-gated onchain safeguards.

Risk & Compliance CRE & AI DeFi & Tokenization

What it is

Riskeon is an AI + Chainlink CRE risk execution layer for stablecoins and tokenized vaults. It solves the “signals without execution” problem: protocols may have dashboards and alerts, but when risk rises, response is often manual, slow, and hard to audit.

Riskeon runs scheduled (or on-demand) CRE workflows that:

  1. Read onchain vault state (e.g., guarded/paused flags),
  2. Fetch offchain risk signals (e.g., price deviation, reserve freshness, issuer/compliance flags),
  3. Produce a structured AI risk assessment (risk score, severity, reasons),
  4. Enforce governance through an onchain Policy contract that maps risk to an allowed action set (action mask),
  5. Execute verifiable onchain safeguards via a CRE receiver (e.g., pause deposits/withdrawals, switch to guarded mode), and
  6. Log incidents onchain for an immutable audit trail (tx hash + incident ID/events).

AI proposes risk; onchain policy gates what can be done; CRE orchestrates execution; and the blockchain provides proof. This enables faster, explainable, policy-driven protection for risk-sensitive onchain finance.

How it Works

Smart contracts (Solidity, Base testnet):

  • GuardedVault: holds/controls the vault state (guardedMode, depositsPaused, withdrawalsPaused) and applies safeguards via executeSafeguard(req).
  • PolicyContract: stores onchain thresholds and maps risk → allowed actions (action mask / target flags).
  • IncidentRegistry: writes immutable incident records onchain (risk score, severity, action mask, timestamp).

Chainlink CRE (TypeScript workflow):

  • Runs on a schedule (cron) or on-demand.
  • Reads vault state onchain, fetches offchain signals from the backend, calls an LLM for a structured JSON risk assessment, resolves actions via the onchain Policy contract, then submits a writeReport to a Receiver/Proxy which calls the vault’s executeSafeguard.

Backend (Node/TypeScript + Postgres/Supabase + Prisma):

  • Provides a Signals API (/signals/latest) and stores signal snapshots and workflow traces for the UI.
  • Keeps the demo reproducible and provides historical signal data for charts.

Frontend (React + Tailwind + shadcn/ui + viem/wagmi):

  • Setup flow (connect wallet, register asset by contract address, configure policy and publish onchain),
  • Dashboards for risk status, workflow trace, incidents, and policy view.

Links

Created by

  • Dmitrii Mingalev