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

# Security

HyperLink runs your trading inside a secure enclave (TEE), so your balances, positions, and open orders stay confidential. No one outside the enclave can read them. The deployed code measurement, reserve commitments, and exit path are verifiable on-chain.

## What HyperLink guarantees

* **Confidential by default.** Your balances, positions, and orders never touch the public chain. Only on-chain deposits and withdrawals are visible.
* **Provably solvent.** HyperLink commits reserve data on-chain. You can verify your own backing without revealing anyone's totals.
* **Always exitable.** You can withdraw on-chain even if HyperLink goes offline. Funds are never trapped.
* **Verifiable code.** The enclave publishes a measurement of the running code, so it can be compared with the expected deployment measurement.

## What you still rely on

HyperLink reduces trust but does not eliminate it. You rely on the integrity of the enclave hardware, the correctness of the deployed code, and the on-chain contracts staying live. The guarantees are strongest when you verify them yourself rather than assume.

## Verify it yourself

The on-chain contracts hold the code attestation, reserve commitments, and withdrawal logic behind these guarantees. See [Smart Contracts](/security/smart-contracts.md) for addresses, [Audits](/security/audits.md) for independent reviews, and [Risks](/security/risks.md) for the full risk picture.


---

# 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://docs.hyperlink.xyz/security/security.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.
