Cozy Finance is a decentralized protection market protocol that allows users to create or participate in protection markets against smart contract risks such as hacks or abnormal price movements. Its core mechanism: protection suppliers deposit assets and earn interest while bearing losses if a trigger condition (e.g., price falling below a threshold) occurs; protection buyers borrow against collateral and pay interest in exchange for debt cancellation upon trigger. The protocol adopts a Compound-like interest rate model and supports custom trigger conditions, enabling any protocol to deploy tailored protection markets.