Loops HouseCovantic Keyless Oracle

NEAR HACKATHON
Links
Team
1 member- MYOwner
Mykhailo Shumilov
Overview
Covantic is parametric insurance for AI agents on Solana: when a covered loss happens, the program pays the policy holder in USDC. Every payout was already bounded on chain, but who may trigger it was one oracle keypair on one server. Lose it and claims stop; steal it and an attacker can do anything the program allows. We replaced that key with a Solana address no one holds a key for. NEAR Chain Signatures derive an Ed25519 key from a NEAR agent contract, so the key exists only as MPC threshold shares. The contract parses the raw Solana message before asking MPC to sign and enforces guardrails on chain: registered worker only, fee payer must be the derived address, no System or SPL Token instructions (the oracle can never move its own funds), only claim and payout instructions, one payout per policy, a rolling 24h cap, and pause. A worker agent evaluates the oracle-manipulation trigger with a deterministic predicate; a NO_PAY verdict never reaches the contract. On NEAR testnet the guardrail demo sends 11 attack messages and the contract refuses each with a typed error; MPC-signed transactions land on Solana devnet. The Solana program is unchanged: switching is one update_config call.