Skip to content

Security Architecture

UnboundBytes implements defense-in-depth security across all layers.

  • OAuth 2.0 / OIDC: All user authentication via OIDC
  • RBAC: Role-based access control via JWT claims
  • MFA: Multi-factor authentication support through OIDC
  • HMAC Signatures: Portal-to-orchestrator requests signed with HMAC-SHA256
  • API Keys: Device-to-orchestrator authentication via scoped API keys
  • Bootstrap Tokens: One-time enrollment tokens for device pairing
  • TLS 1.3: All external traffic encrypted with TLS 1.3
  • Cloudflare Tunnel: Agent-to-orchestrator communication via encrypted tunnels
  • Encrypted Commands: Agent commands encrypted at rest and in transit

All self-hosted apps are protected by Traefik forwardAuth middleware. Each app declares an auth tier in its manifest:

Auth TierDescription
gateFull SSO via ForwardAuth (default)
headerTrusted header-based auth
native-oidcApp handles OIDC natively
self-managedApp manages its own auth

Apps are assigned security profiles that control container isolation:

ProfileCapabilitiesFilesystemUse Case
strictAll droppedRead-onlyPassword managers, DNS
strict-webAll droppedRead-only + tmpWeb-only apps
moderateAll droppedWritableApps needing disk writes
moderate-webAll droppedWritable + tmpWeb apps needing disk
legacyMinimal setWritableLegacy apps with special needs

All containers drop ALL Linux capabilities by default. Resource limits (CPU, memory) are enforced per container based on the app’s resource tier.

  • HashiCorp Vault as the single source of truth for all secrets
  • Automated secret sync from Vault to Cloudflare Workers
  • Scoped Cloudflare API tokens following least-privilege principle
  • Zero-downtime secret rotation via dual-key strategy
  • Agent binaries signed with Ed25519
  • SBOM (Software Bill of Materials) generated for each release
  • Automated vulnerability scanning in CI
  • Structured logging with correlation IDs across all services
  • Rate limiting on all public API endpoints (tier-based quotas)
  • Circuit breaker pattern for downstream service calls
  • Automated health checks and alerting