Platform Security Architecture

Security is foundational to every CodeRaft product. This document describes the security architecture shared across WolfGuard, Ravenscan and RedFox Bastion.

Encryption

AES-256-GCM at rest

All sensitive data (credentials, API keys, tenant secrets, vault entries) is encrypted at rest using AES-256-GCM with unique nonces per record. Master keys are derived via PBKDF2 (600,000 iterations) and never stored in plaintext.

TLS 1.3 in transit

All external connections use TLS 1.3. Legacy TLS versions (1.0, 1.1) and weak cipher suites are disabled. HSTS is enforced with a 1-year max-age and includeSubDomains.

Internal service communication

Services communicate over Docker bridge networks. The RedFox API-to-proxy channel uses gRPC with mTLS. Only the Nginx reverse proxy is exposed externally.

Authentication

Platform OIDC (Vault-backed)

Authentication credentials are configured once in the Setup Wizard's Identity step (setup-identity) and stored in Coderaft Vault. All products share the same OIDC configuration — no per-product App Registration required. MFA is inherited from IdP Conditional Access policies. SAML 2.0 federation is available in the Enterprise plan. See Platform Identity.

One App Registration, scoped to what you bought

CodeRaft registers a single Entra ID application per tenant — combining OIDC sign-in (delegated) and Microsoft Graph data-collection permissions (application) that products like WolfGuard need. You never grant more than your license covers: the admin consent screen only lists the Graph permissions required by the product(s) in your bundle. Buying WolfGuard alone means consenting to WolfGuard's permission set — not RedFox's, FalconOne's or MantisStrike's. The exact permission-to-product mapping is published below so your security team can review it before consenting.

Admin MFA

Administrative actions (user management, settings changes, API key creation) require an additional MFA challenge via TOTP, even if the IdP session is already authenticated.

API key security

API keys are stored as SHA-256 hashes with timing-safe comparison. Keys are shown once at creation and cannot be retrieved afterwards. Rate limiting per key with configurable thresholds.

App Registration permission mapping

What each product actually asks Entra ID for. Only the rows matching your license are included in the consent request.

Product Graph permissions (application) Purpose
WolfGuard Directory.Read.All, User.Read.All, Group.Read.All, Application.Read.All, RoleManagement.Read.Directory, Policy.Read.All, AuditLog.Read.All, Device.Read.All, UserAuthenticationMethod.Read.All, AdministrativeUnit.Read.All Read-only identity audit: users, groups, roles, PIM, Conditional Access, sign-in logs, devices, MFA status
RedFox Bastion Sign-in only Secure access proxy — no Graph API access, identity is used only to authenticate operators
Ravenscan, FalconOne, MantisStrike Sign-in only No Microsoft Graph data collection — scanning/endpoint data comes from their own collectors, not Entra ID

All Graph permissions above are read-only. No CodeRaft product requests write access to your directory by default.

WORM audit logging

Every action across all CodeRaft products is recorded in an immutable, append-only audit log. Entries form a SHA-256 hash chain for tamper detection. The audit log cannot be modified or deleted by any user, including administrators. Compliant with SOC 2, ISO 27001, NIS2, NIST 800-53 and PCI DSS 4.0 audit trail requirements.

Container security

Non-root execution

All containers run as non-root users with read-only root filesystems. No privileged containers. Capabilities are dropped to the minimum required set.

Docker network isolation

Services run on isolated Docker bridge networks. Only the Nginx reverse proxy is exposed externally. Databases, Redis and internal APIs are not accessible from outside the stack.

Vulnerability scanning

CI pipeline runs Trivy on every image build. Critical and High CVEs block the release. Dependency auditing via cargo-deny (Rust), gosec (Go) and pip-audit (Python).

Network security

WAF integration

Nginx reverse proxy with ModSecurity Core Rule Set (CRS). Protects against OWASP Top 10 attacks: SQLi, XSS, path traversal, request smuggling. Rate limiting per IP and per API key.

Network segmentation

Docker network isolation between services. Only the reverse proxy is exposed externally. Databases, Redis and internal APIs are on isolated bridge networks.

IP allowlisting

Restrict access to the management UI and API by source IP range. Configurable in Settings → Security → Network.

SIEM integration

Forward audit logs, security events and findings to your SIEM in real-time:

Splunk
Microsoft Sentinel
Elastic / ELK
IBM QRadar
Syslog (RFC 5424)
Generic webhook

License security

  • License keys are RSA-4096 signed (PKCS1v15 SHA-256) and verified locally — no phone-home required after activation
  • License payloads include organization ID, product, features, max users and expiration
  • Offline validation supported for air-gapped environments
  • Tampered licenses are rejected with a clear error and audit log entry

Privacy

  • 100% on-premise — all data stays on your infrastructure. No cloud dependency, no data exfiltration risk
  • No telemetry — CodeRaft products send zero telemetry, analytics or usage data
  • Secret redaction — structured logging with automatic redaction of passwords, tokens and keys
  • Data minimization — only the data necessary for the audit/scan/session is collected

Security questions? Contact [email protected]. For Enterprise security features, reach out to [email protected].