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

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