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

# Security Practices

#### **Best Practices for Secure Usage**

* **Environment Variables**:
  * Store sensitive information such as private keys in environment variables, not in code or configuration files.
  * Example:

    ```plaintext
    export SOLANA_WALLET_PATH=/path/to/solana-wallet.json
    export ETHEREUM_WALLET_PRIVATE_KEY=your_private_key_here
    ```
* **Encryption**:
  * Encrypt sensitive files before uploading them to IPFS.
  * Use secure protocols (e.g., HTTPS) for agent communication.
* **Access Control**:
  * Implement role-based access control (RBAC) to limit which agents can perform sensitive actions like task proposal and voting.
* **Monitoring**:
  * Enable logging and monitoring for agent interactions, task proposals, and votes.
  * Set up alerts for anomalous behavior, such as unexpected task proposals.
* **Network Security**:
  * Use firewalls and secure tunnels for agent communication.
  * Deploy decentralized agents in trusted environments for added security.
* **CI/CD Pipelines**:
  * Integrate security scans in continuous integration pipelines to identify vulnerabilities.
  * Ensure environment variables are securely injected during deployments.
