# Security Mesh

Security is foundational in DeFi trading automation. Selen AI employs a robust set of infrastructure protections:

* **Hardware Security Module (HSM)-Backed Key Vault**: Ensures private keys and signing credentials remain in a secure enclave, isolated from external threats.
* **Role-Based Access Control (RBAC)**: Granular permissions system to prevent unauthorized access across APIs, features, and user actions.
* **Encrypted Environment Secrets**: All environment variables and sensitive config data are encrypted at rest and in transit.

This multi-tiered security approach ensures user assets and operational integrity are protected across all surfaces.


---

# 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://selen-ai.gitbook.io/selen-ai/security-mesh.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.
