Technical Security

Infrastructure Security Architecture

Effective Date: October 2026 | Version 1.0

Container Hardening Parameters

All Enclave Swarm agent nodes execute within hardened AWS Fargate containers configured with defense-in-depth security controls. The following baseline security posture is enforced across all production deployments:

Process User ID
UID 10001 (non-root)
Root Filesystem
READ-ONLY MOUNT
Linux Capabilities
ALL DROPPED
Privilege Escalation
DISABLED

Non-Root Execution Policy

Container processes execute under a dedicated non-privileged user account (UID 10001) with no shell access and restricted filesystem permissions. This configuration prevents privilege escalation attacks and limits the blast radius of any potential container compromise.

securityContext: runAsUser: 10001 runAsGroup: 10001 runAsNonRoot: true allowPrivilegeEscalation: false readOnlyRootFilesystem: true capabilities: drop: - ALL

Read-Only Root Filesystem

The container root filesystem is mounted in read-only mode, preventing any runtime modification of system binaries, libraries, or configuration files. Ephemeral write operations are restricted to dedicated tmpfs volumes that are cryptographically wiped upon container termination.

Linux Kernel Capability Stripping

All Linux kernel capabilities are explicitly dropped from the container security context. This includes:

The complete capability drop policy ensures that even if application code is compromised, the attacker cannot escalate privileges or pivot to adjacent infrastructure components.

Amazon S3 Object Lock Audit Architecture

All operational audit logs are written to Amazon S3 buckets configured with Object Lock in Compliance Mode. This configuration provides immutable, tamper-proof audit trails with the following parameters:

ObjectLockConfiguration: ObjectLockEnabled: Enabled Rule: DefaultRetention: Mode: COMPLIANCE Days: 2555 ServerSideEncryptionConfiguration: Rules: - ApplyServerSideEncryptionByDefault: SSEAlgorithm: aws:kms KMSMasterKeyID: alias/enclave-audit-key

Network Security Controls

Network traffic is restricted through defense-in-depth controls including VPC security groups, network ACLs, and AWS PrivateLink endpoints. All inter-service communication occurs over TLS 1.3 with certificate pinning enabled.

Vulnerability Management

Container images are scanned continuously using Amazon ECR image scanning with automatic blocking of images containing critical CVEs. Base images are rebuilt weekly from verified upstream sources with all security patches applied.

Incident Response

Security incidents trigger automated containment workflows including immediate container isolation, credential rotation, and forensic snapshot capture. The security operations team maintains a 15-minute response SLA for critical severity events.