# Risk Framework (version 1)

**URL:** <https://gov.pareto.credit/t/risk-framework-version-1/1143>\
**Category:** 📑 Formal Proposals\
**Created:** [April 7, 2023, 5:50pm UTC](https://gov.pareto.credit/t/risk-framework-version-1/1143 "2023-04-07T17:50:53Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Biaf](https://yyz1.discourse-cdn.com/flex031/user_avatar/gov.pareto.credit/biaf/32/213_2.png) [@Biaf](https://gov.pareto.credit/u/Biaf)\
**Post date:** [April 7, 2023, 5:50pm UTC](https://gov.pareto.credit/t/risk-framework-version-1/1143/1 "2023-04-07T17:50:53Z")

</div>

### Authors

Treasury League

### Summary

A post to present version 1 of our Risk Framework.

### References

- [Integration Standard requirements](https://docs.idle.finance/developers/security/integration-standard-requirements)
- [A discussion about risk](https://gov.pareto.credit/t/a-discussion-about-risk/1126)

## Background

At the beginning of March, we started a [discussion about risk](https://gov.pareto.credit/t/a-discussion-about-risk/1126) management to standardize future analyses of new underlying markets to be integrated on Yield Tranches and Best Yield.

This framework will improve the current [Integration Standard requirements](https://docs.idle.finance/developers/security/integration-standard-requirements) and simplify the onboarding of new yield sources into Best Yield strategies.

Thanks to the feedback of contributors and practitioners collected both on our forum and privately, today we are able to publish the first version of the Risk Framework.

## Specifications

The framework follows the structure outlined in our discussion plus a fourth item:

1. Third-party review
2. Internal Security review
3. Strategy review
4. Coverage

> [@A discussion about risk](https://gov.pareto.credit/t/a-discussion-about-risk/1126/1):
>
> The framework will be constituted of three parts
> 
> 1. **Third-party review** (33%) considering the reports of [DeFi Safety](https://defisafety.com/app) and [Exponential](https://exponential.fi/pools/search). These reviews will ensure that part of the risk rating will be based on independent analyses, avoiding any centralization issue that could affect Idle’s risk-scoring impartiality.
> 2. **Internal Security review** (33%) focusing on [Protocols risks](#Protocol-risks) from a smart contract, governance and market perspective. This review will be done by Idle DAO based on publicly available information and will use the same metrics for every protocol analyzed.
> 3. **Strategy review** (34%) assessing the risks of each specific vertical, such as overcollateralized lending, uncollateralized lending, automated market makers, liquid staking and more.

#### 1. Third-party review

The third-party review presents no changes

> [@A discussion about risk](https://gov.pareto.credit/t/a-discussion-about-risk/1126/1):
>
> #### 1. Third-party review
> 
> The DeFi Safety and Exponential scores consider the vast majority of the Protocol risks listed in the [Idiosyncratic risks section](#Idiosyncratic-risks).
> 
> | DeFi Safety metrics\* | Exponential metrics\*\* |
> | --- | --- |
> | Smart contracts and team | (PF) Asset strength |
> | Documentation | (PF) Protocol code quality |
> | Testing | (PF) Protocol maturity |
> | Security | (PF) Protocol design |
> | Admin controls | (PF) Chain design |
> | Oracles | (PE) Collateralization and leverage |
> | | (PE) Impermanent loss |
> | | (PE) Yield outlook |
> | | (PE) Chain reliability |
> 
> - the DeFi Safety score will be time-adjusted, considering when the report was last updated. The older the analysis, the lower the score.  
> \*\* where _PF_ stands for Protocol fundamentals and _PE_ for Pool economics.
> 
> As an example, below we list the reports referred to Idle protocol:
> 
> - [Idle’s report on DeFi Safety](https://defisafety.com/app?title=idle)
> - [Idle’s report on Exponential](https://exponential.fi/protocols/398de68f-e761-4e3e-89ba-ad3c58b7ec8b)
> 
> Other external and reputable sources may be included at a later stage.

#### 2. Internal Security review

We implemented some fine-tuning to the Internal Security review. Now the protocol losses, aka _Bad Debt/LP Losses_ will be computed as a percentage of the overall TVL. This change will let us better compare losses across protocols with different sizes of liquidity.

> [@A discussion about risk](https://gov.pareto.credit/t/a-discussion-about-risk/1126/1):
>
> #### 2. Internal Security review
> 
> This review mainly focuses on smart contracts and market/financial risks (see the [Idiosyncratic risks section](#Idiosyncratic-risks)).
> 
> | Type | Description |
> | --- | --- |
> | Audit | Number of audits and quality of auditors |
> | Bad debt, LP losses | Severity of losses incurred, if any |
> | Bug bounty, Insurance | Size of bug bounty program |
> | Protocol TVL | Total value locked across all chains (average since protocol inception) |
> | Pool TVL | Total value locked on Ethereum (average since pool inception) |
> | Protocol longevity | Months of activity |
> | Pool longevity | Months of activity |

#### 3. Strategy review

The Strategy review will analyze the same metrics shared.

> [@A discussion about risk](https://gov.pareto.credit/t/a-discussion-about-risk/1126/1):
>
> #### 3. Strategy review
> 
> The Strategy component refers to specific risks related to each underlying market integrated into Idle strategies. The strategy score will be composed of a fixed parameter associated with the vertical and a score associated with thematic risks.
> 
> **Current underlying sources**
> 
> - Aave, Compound and either Senior or Junior tranches as underlying markets for Best Yield strategies.
> - Euler, Morpho, Lido and Clearpool as underlying markets for Perpetual Yield Tranches.
> 
> | Vertical | Metric |
> | --- | --- |
> | Overcollateralized lending | Lowest collateral fully diluted value (FDV) |
> | | Borrow capacity |
> | Liquid staking | Validator concentration |
> | | Validators key management |
> | Uncollateralized lending | Borrower’s asset under management |
> | | Credora rating |
> 
> […]

We also expanded the analysis of underlying markets in the _Strategy review_ by adding the uncollateralized lending market. This underlying market will be rated according to these two metrics:

- **Borrower capacity** and **Borrower rating**  
The borrowing capacity and the borrower rating metrics offered by Credora will be used to rate the risk of borrowers behind uncollateralized lending pools. We weigh differently the two because we consider the _Rating_ as a more comprehensive metric to assess the financial health of a borrower.

| Description | Weight |
| --- | --- |
| Credora’s borrower capacity | 20% |
| Credora’s borrower rating | 80% |

#### 4. Coverage

We added a fourth part, better saying, a new metric, applicable to all the underlying markets: _Coverage_, i.e. the minimum coverage needed to let the Best Yield deposit funds into the Yield Tranches pools.

This metric will behave differently with respect to the others listed and will be computed on a case by case need. It will be summed to the previous scores obtained with the reviews: Third-party, Internal Security and Strategy.

### Risk rating

The final rating follows the same structure outlined

> [@A discussion about risk](https://gov.pareto.credit/t/a-discussion-about-risk/1126/1):
>
> The Risk Framework will assign a percentage score that will be then translated to a letter rating (A-E) based on the protocol risks evaluation, where
> 
> - A will be given to the highest-rated protocols in terms of overall risks
> - E will be given to the lowest-rated protocols in terms of overall risks
> 
> | Rating | A | B | C | D | E |
> | --- | --- | --- | --- | --- | --- |
> | Upper bound | 100% | 85% | 70% | 55% | 40% |
> | Lower bound | 85% | 70% | 55% | 40% | 0% |

### Next Step

We will give some time to the DAO to understand the framework and share any feedback. We will also share some examples to see how this theoretical setup behaves in some practical cases.

➡ The full analysis is available here: [Risk Framework [PUBLIC]](https://docs.google.com/spreadsheets/d/1vfnv49n688vYrxR9lk5ze0jCM7y2pLrCNPY0S9Yxc90/edit?usp=sharing)

---

<div class="post-metadata">

**Author:** ![Biaf](https://yyz1.discourse-cdn.com/flex031/user_avatar/gov.pareto.credit/biaf/32/213_2.png) [@Biaf](https://gov.pareto.credit/u/Biaf)\
**Post date:** [April 7, 2023, 5:54pm UTC](https://gov.pareto.credit/t/risk-framework-version-1/1143/2 "2023-04-07T17:54:57Z")

</div>

### Rating example: overcollateralized lending

> [@A discussion about risk](https://gov.pareto.credit/t/a-discussion-about-risk/1126/5):
>
> Below we include a screenshot showing the rating details for Compound.
> 
> […]
> 
> ![image](https://canada1.discourse-cdn.com/flex031/uploads/idle/original/2X/a/a94a1f198e67ff98da833bcaf860076971d13596.png)

---

<div class="post-metadata">

**Author:** ![Biaf](https://yyz1.discourse-cdn.com/flex031/user_avatar/gov.pareto.credit/biaf/32/213_2.png) [@Biaf](https://gov.pareto.credit/u/Biaf)\
**Post date:** [April 7, 2023, 5:56pm UTC](https://gov.pareto.credit/t/risk-framework-version-1/1143/3 "2023-04-07T17:56:52Z")

</div>

### Rating example: uncollateralized lending

Using the framework described above, we can rate the newly launched Clearpool’s (Portofino) as follows

 ![image](https://canada1.discourse-cdn.com/flex031/uploads/idle/original/2X/2/239c80dcd9bce9099a75739054e4c5d6a79216e7.png)
