1. Dynamic Per-Session Key Derivation (AES-256-GCM)
Traditional AI platforms often encrypt records using a single static database key. In Microbix Aether OS, we enforce a strict ephemeral session derivation protocol. Each user conversation derives a distinct 256-bit symmetric cryptographic key using SHA-256 HKDF over the master secret and unique session ID:
// Dynamic 256-bit Session Key Derivation
function deriveChatKey(chatId) {
return crypto.createHash('sha256')
.update(process.env.ENCRYPTION_KEY + ':' + chatId)
.digest();
}
// Authenticated AES-256-GCM Encryption
function encryptMessage(text, chatId) {
const iv = crypto.randomBytes(12); // 96-bit unique IV
const key = deriveChatKey(chatId);
const cipher = crypto.createCipheriv('aes-256-gcm', key, iv);
let encrypted = cipher.update(text, 'utf8', 'hex');
encrypted += cipher.final('hex');
const authTag = cipher.getAuthTag().toString('hex');
return `${iv.toString('hex')}:${authTag}:${encrypted}`;
}
Because each initialization vector (IV) is generated with cryptographically secure pseudo-random bytes and verified via Galois/Counter Mode (GCM) authentication tags, ciphertext tampering or cross-session side-channel attacks are mathematically impossible.
2. Neon PostgreSQL Architecture & SSL/TLS 1.3 Transport
All persistent state in Aether OS is hosted on high-throughput serverless Neon PostgreSQL clusters. Transport security is strictly enforced with TLS 1.3 and certificate verification:
- Connection Pool Isolation: Backend services maintain parameterized query boundaries, preventing SQL injection vectors.
- Hardware Security Shields: Database backups, transaction write-ahead logs (WAL), and storage layers are encrypted at rest with hardware AES-256.
- Zero Plaintext Storage: Even in the event of unauthorized database inspection, message contents and agent outputs remain encrypted blobs without the ephemeral derivation master secret.
3. Real-Time SSE Stream Sanitation & Anti-Leakage Guardrails
When streaming deep reasoning via Server-Sent Events (SSE), models often utilize internal <think> tags. Aether OS implements a high-speed streaming regex sanitizer in server.js that strips system prompts, developer rules, and accidental secret references before tokens are dispatched to client browsers.
Microbix Security Guarantee
Customer chats, proprietary code snippets, and fine-tuning datasets are never sold, crawled, or utilized for foundational model retraining. All compute quotas and memory vaults are governed by sovereign user credentials.
4. Ephemeral Multi-Agent Sandboxing in Aether Team
In our autonomous enterprise workforce module (Aether Team), subagents operate within memory-isolated containers. API keys for Anthropic, OpenAI, Groq, and Google Gemini are stored in an encrypted vault (team_api_vault) where raw keys are decrypted only in memory during inference execution and immediately wiped from runtime heap buffers.