What is a DeFi Risk Score?
A DeFi risk score is a quantitative assessment of the safety and reliability of a DeFi protocol, pool, or position — incorporating factors like smart contract audit status, TVL, track record, oracle dependence, and governance structure.
WHY IT MATTERS
Not all DeFi protocols are equally safe. A battle-tested protocol like Aave with years of operation, multiple audits, and billions in TVL is very different from a new, unaudited fork offering suspiciously high yields. Risk scores quantify this difference.
Risk scoring services (DeFi Safety, DeFiLlama risk ratings, Exponential.fi) evaluate protocols across dimensions: smart contract security (audits, formal verification, bug bounty), centralization risk (admin keys, upgradeability), market risk (liquidity depth, oracle manipulation), and operational risk (team track record, governance).
For AI agents making autonomous DeFi decisions, risk scores provide essential guardrails. An agent shouldn't chase the highest yield without considering risk. Policy rules like 'only interact with protocols scoring above 80/100' prevent agents from entering dangerous positions.
HOW POLICYLAYER USES THIS
PolicyLayer can incorporate DeFi risk scores into agent spending policies — restricting agents to protocols above a minimum risk score threshold. This automated risk management prevents agents from interacting with unsafe protocols.