> For the complete documentation index, see [llms.txt](https://docs.satoshiterminal.io/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.satoshiterminal.io/resources/copy-of-defi-analytics/risk-management-and-security-analytics/multi-dimensional-risk-profiling.md).

# Multi-Dimensional Risk Profiling

**Implementation Details**

**Class Names**

| Model Name                    | Parameters Class                | Data Class               |
| ----------------------------- | ------------------------------- | ------------------------ |
| MultiDimensionalRiskProfiling | MultiDimensionalRiskQueryParams | MultiDimensionalRiskData |

**Import Statement**

```python
pythonCopyEditfrom satoshi_terminal.models.multi_dimensional_risk_profiling import (
    MultiDimensionalRiskProfiling,
    MultiDimensionalRiskQueryParams,
    MultiDimensionalRiskData,
)
```

***

**Parameters**

| Name              | Type       | Description                                                                       | Default | Optional |
| ----------------- | ---------- | --------------------------------------------------------------------------------- | ------- | -------- |
| protocol\_name    | str        | Name of the protocol to analyze (e.g., "Uniswap," "Aave").                        | None    | False    |
| risk\_categories  | List\[str] | Specific risk categories to focus on (e.g., "Technical," "Market," "Governance"). | None    | True     |
| time\_horizon     | int        | Forward-looking time horizon for risk projection (in days).                       | 30      | True     |
| dependency\_depth | int        | Depth of dependency mapping for protocol relationships (e.g., nested contracts).  | 3       | True     |

***

**Data**

| Name                           | Type     | Description                                                         |
| ------------------------------ | -------- | ------------------------------------------------------------------- |
| protocol\_name                 | str      | Name of the protocol analyzed.                                      |
| risk\_layer                    | str      | Specific layer of risk (e.g., "Market," "Technical," "Governance"). |
| risk\_score                    | float    | Composite risk score (0-100) for the specific risk layer.           |
| dependency\_map                | dict     | Nested mapping of protocol dependencies and their associated risks. |
| cascading\_risk\_amplification | float    | Projected amplification of risks through interdependencies.         |
| timestamp                      | datetime | Timestamp of the analysis.                                          |

***

**Key Features**

* **Layered Risk Assessment:** Break down protocol risks into multiple layers, including technical (smart contract vulnerabilities), market (liquidity and volatility), and governance (centralization risks).
* **Dependency Risk Mapping:** Identify critical interdependencies between protocols, such as lending platforms relying on external price oracles.
* **Cascading Risk Simulation:** Model how failures in one component (e.g., oracle failure) can propagate to dependent protocols.
* **Dynamic Weight Adjustments:** Allow users to adjust the weight of each risk category based on their strategy or exposure.
* **Custom Risk Models:** Support for user-defined risk parameters and thresholds tailored to specific protocols or assets.
