> For the complete documentation index, see [llms.txt](https://docs.flashstake.io/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.flashstake.io/security-and-risks.md).

# Security and Risks

Security has been the top priority while developing the Flashstake protocol. A few of the safety decisions put in place include making sure:

* User funds are always 100% collateralized.
* User funds cannot get liquidated.
* Users know precisely when your principal will unlock, down to the minute.
* Users can unlock their principal at any time by repaying a portion of their upfront yield.

Outside of an unforeseen exploit, it is technically impossible for users to lose their principal.

* [Audits](/security-and-risks/audits.md)
* [Bounty](broken://pages/sY3XJMES2foE5RCwuIOq)
* [Admin Functionality](/security-and-risks/admin-functionality.md)
* [Unit Tests](/security-and-risks/unit-tests.md)
* [Testnet Competitions](/security-and-risks/testnet-competitions.md)
* [Disclaimer](/security-and-risks/disclaimer.md)


---

# 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:

```
GET https://docs.flashstake.io/security-and-risks.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.
