> For the complete documentation index, see [llms.txt](https://lenfi.gitbook.io/docs/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://lenfi.gitbook.io/docs/lenfi-v1-protocol/lenfi-p2p-aada-v1/is-it-safe.md).

# Is it safe?

#### Safety measures regarding the V1 protocol smart contracts

Proper smart contract maintenance is crucial in ensuring the safety of our users' funds. In this regard, the Lenfi team focused on ensuring maximum smart contract security. To achieve an objective and thorough code check, we had an external audit conducted by Vacuumlabs.&#x20;

You can read a detailed analysis of the findings and solutions [here](https://medium.com/@aada.finance/vacuumlabs-audits-aada-finances-v1-lending-protocol-f413f106b02a).

#### **Possible risks associated with the proper execution of the Liquidation Oracle mechanism**

**Fail of liquidation** - There's a risk when one of three oracles unexpectedly fails to sign the transaction. The result could lead to a loss for the ***Lender*** if the collateral value drops further.

**Data mismatch** - Oracles can pull price feed from any pool they select. If pool prices mismatch, the oracles might not reach a collective agreement on the ***Collateral Ratio***.

**Hijacking oracle keys** - Hacking all oracles and compromising the keys could allow the hacker to lend a loan and liquidate it while it's still healthy. Such an event could result in a collateral loss for the ***Borrower***.


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## 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, and the optional `goal` query parameter:

```
GET https://lenfi.gitbook.io/docs/lenfi-v1-protocol/lenfi-p2p-aada-v1/is-it-safe.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

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.
