Loading...
Loading...
Protocol and DeFi risk evaluation covering hack history, oracle dependencies, treasury health, TVL concentration, and yield sustainability. Use when the user asks "is X safe", "how risky is", protocol security, risk analysis, or wants to evaluate risk before investing or depositing funds.
npx skill4agent add defillama/defillama-skills risk-assessmentdefillama:resolve_entity
entity_type: "protocol"
name: "<user-provided name>"defillama:get_events
protocol: "<slug>"
event_type: "hacks"defillama:get_oracle_metricstvl_component = 'base'defillama:get_treasury
treasury: "<slug>"defillama:get_protocol_metrics
protocol: "<slug>"defillama:get_yield_pools
protocol: "<slug>"| Signal | Risk Level | Explanation |
|---|---|---|
| Recent hack (< 1 year) | HIGH | Protocol was recently exploited |
| Past hack (> 1 year), no recurrence | MODERATE | Was exploited but has since hardened |
| No hack history | LOW | No known exploits |
| No oracle or small oracle TVS | MODERATE | Oracle risk, potential manipulation |
| Uses Chainlink/Pyth with high TVS | LOW | Battle-tested oracle infrastructure |
| Treasury < $1M | HIGH | No meaningful safety net |
| Treasury > $10M | LOW | Strong financial reserves |
| APY > 100% from rewards only | HIGH | Likely unsustainable, token emissions |
| APY from real yield (fees) | LOW | Sustainable yield source |
| TVL declining > 20% in 30d | MODERATE | Users are leaving |
| Revenue declining with TVL | HIGH | Fundamentals deteriorating |
get_events