# Risk Engine

The Risk Engine forms the backbone of SFI Vaults’ safety architecture, actively mitigating risks associated with DeFi investments. It continuously monitors key parameters to safeguard user funds against adverse events. &#x20;

**Key Metrics Monitored:**

* Exit Liquidity Risk: Ensures sufficient reserve assets to manage withdrawal requests without triggering liquidations.
* Smart Contract Risk: Monitors for vulnerabilities or exploits within integrated protocols.
* Depegging Risk: Tracks asset prices against their expected value to avert losses.

**Protective Actions:**

* Dynamic Reallocation: Rebalances assets in response to liquidity trends or market volatility.
* Emergency Liquidation: Liquidates positions in a loss-minimising manner when predefined risk thresholds are breached.
* Capital Protection: Secures principal by optimising exit routes and preserving reserves.

**Integration with VMD:**

The system provides vault managers with real-time risk analytics and generates automated risk reports to support informed decision-making and strategy adjustments.

<br>


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.singularityfinance.ai/sfi-value-proposition/core-pillars-of-the-sfi-l2/sfi-vaults/features/risk-engine.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
