Ketchup

DeFi Risk Oracle that evaluates stables and vaults using off-chain data and CRE-powered risk models

Repo
Ketchup banner

About

DeFi Risk Oracle is a system that evaluates the safety of external stablecoins or vaults by combining off-chain data, audit information, market conditions, and an AI-powered risk model executed through Chainlink CRE.

The workflow retrieves data from external APIs (TVL movements, liquidity changes, audit reports, depeg signals, market volatility), processes it in an isolated CRE execution environment, and outputs a verifiable riskScore (0–100).

The on-chain contract receives this score and updates the asset’s status to safe / warning / unsafe, enabling protocols to react automatically (pause deposits, limit borrow caps, or alert users).

The project aims to reduce incidents similar to the Morpho / XUSD case by providing transparent, reproducible, and tamper-proof risk analytics directly available on-chain.

How it's made

The project integrates several components working together. The core logic is a Chainlink CRE workflow, which orchestrates the full risk-assessment process: fetching off-chain data, cleaning it, executing the risk model, and returning deterministic results to a smart contract.

The backend uses Node.js + TypeScript to expose helper endpoints and transform raw API responses. The CRE task calls these endpoints securely. The CRE workflow is developed using the CRE CLI, tested with local simulations, and prepared for deployment on the CRE test network.

On-chain, the project includes a RiskOracle.sol contract deployed on a testnet (Sepolia), which stores the riskScore and emits events when asset status changes. For the frontend, a small dashboard (Next.js) displays the latest score, execution history, and risk flags.

Everything is designed to be simple, transparent, and easy to demo during the hackathon while showcasing a real CRE orchestration layer.

From the public ETHGlobal showcase page. Votes, swipes and the judge score are hackfeed's own.

AI judge

Not judged yet. A free model reads this page, compares it with similar projects and this event's winners, then scores it and says what would make it win.

Still being built?

Not checked yet.

Swipe stats

0upvotes
0skips
0saves

Discussion 0

No comments yet. Ask the team something, or say what you'd use it for.

Posting as a guest. Plain text, 1,000 characters max.

Already built nearby

Closest projects by meaning and shared words. Similar isn't the same as copied: read them.

Yieldex AI

Yieldex automates stablecoin yield optimization using real-time and historic on-chain data. It uses AI to analyze data and allocate funds to secure high-yield opportunities. Smart contracts handle rebalancing, while user funds never leave their smart wallets.

Risk Analyzer Hook

This system represents a significant improvement in DeFi risk management, providing automated protection while maintaining market efficiency.