Skip to main content

Trust Center

This page describes how AxonFlow protects customer data, enforces isolation between tenants, manages secrets, and supports compliance workflows. Every claim on this page references shipped capabilities in the current platform release.

AxonFlow is source-available under BSL 1.1. The entire platform codebase is inspectable — security teams can audit the implementation directly rather than relying on marketing claims.


Security architecture

Multi-tenant data isolation

AxonFlow enforces tenant isolation at the database level using PostgreSQL Row-Level Security (RLS).

Every customer-data table has RLS policies that filter rows by org_id. The enforcement mechanism:

  1. Each inbound request sets app.current_org_id as a PostgreSQL session variable via SET LOCAL
  2. RLS policies on every table evaluate current_setting('app.current_org_id') in their USING clause
  3. Queries return only rows matching the authenticated organization — no application-level filtering required

Two database roles enforce the separation:

RolePrivilegesPurpose
axonflow_app_roleNOBYPASSRLSHandles all request-path traffic. Cannot bypass RLS under any circumstance.
axonflow_platform_adminBYPASSRLSUsed only for cross-tenant administrative operations (migrations, tenant provisioning, GDPR erasure). Never exposed to request traffic.

FORCE ROW LEVEL SECURITY is enabled on all customer-data tables, which means RLS policies apply even to the table owner. This prevents a misconfigured connection from accidentally bypassing isolation.

Network security

AxonFlow runs as two services (Agent and Orchestrator) behind a load balancer. The network architecture enforces:

  • External traffic: TLS-terminated at the Application Load Balancer. No plaintext HTTP accepted.
  • Internal service communication: Agent ↔ Orchestrator traffic stays within the private subnet. Security groups restrict ingress to the load balancer and inter-service ports only.
  • No public database access: RDS instances are deployed in private subnets with no public IP. Access is limited to the Agent and Orchestrator security groups.
  • MCP connectors: Outbound connections to customer data sources (PostgreSQL, MySQL, S3, etc.) are governed by MCP policy enforcement before any data leaves the connector.

For In-VPC deployments, all traffic stays within the customer's AWS account. No data leaves the VPC boundary.

Secret management

Production deployments use AWS Secrets Manager for all credentials:

Secret typeStorageRotation
Database passwordsAWS Secrets ManagerSupported via Secrets Manager rotation
LLM provider API keysAWS Secrets Manager or database (AES-256-GCM encrypted)Hot-reload every 60s from Secrets Manager
JWT signing keysAWS Secrets ManagerManual rotation with zero-downtime key rollover
License keysEnvironment variable (Ed25519-signed, not sensitive)Per-issuance

LLM provider credentials stored in the database are encrypted at rest using AES-256-GCM with envelope encryption:

  1. A data encryption key (DEK) is generated from AWS KMS
  2. Credentials are encrypted with the DEK using AES-256-GCM
  3. The plaintext DEK is zeroed from memory after encryption
  4. Only the encrypted DEK and ciphertext are stored

Credentials are decrypted only at the moment of use and never written to logs.

Authentication

All customer data, policy, and control-plane API endpoints require authentication. Operational endpoints (/health, /metrics, /prometheus) and the Community SaaS self-registration bootstrap route are intentionally unauthenticated.

Authentication methodWhere usedDetails
Basic Auth (client credentials)SDK and API accessAuthorization: Basic base64(clientId:clientSecret) where clientSecret is an Ed25519-signed license key
JWT user tokensRequest-scoped identityOptional user_token field for human audit trail attribution
Admin API keyCustomer portal administrative endpointsRequired in all environments. Stored in AWS Secrets Manager.
Session cookiesCustomer portal UIHTTP-only, secure, SameSite=Strict

The Admin API key requirement was enforced across all environments — administrative endpoints are never callable without authentication.


Data handling

Data residency

Deployment modeData locationWho controls
Self-hostedCustomer's infrastructureCustomer
In-VPCCustomer's AWS accountCustomer
Community SaaSus-east-1 (AWS)AxonFlow

Self-hosted and In-VPC deployments give customers full control over data residency. No telemetry, model calls, or customer data is sent to AxonFlow infrastructure in these modes.

Encryption

LayerMechanismDetails
In transit (external)TLS 1.3Terminated at ALB with ALPN h2 support
In transit (internal)TLSService-to-service communication within VPC
At rest (database)AES-256RDS encryption enabled by default
At rest (credentials)AES-256-GCMEnvelope encryption via AWS KMS for stored LLM provider keys
At rest (audit logs)AES-256Inherited from RDS encryption

PII detection and redaction

AxonFlow's PII detection engine runs on governed LLM, gateway, and MCP paths, scanning for sensitive data patterns before they reach the model or leave the platform.

Detected PII types:

CategoryPatternsValidation
FinancialCredit card numbers, IBAN, bank accountsLuhn checksum (cards), MOD-97 (IBAN), ABA checksum (routing)
Identity (US)SSN, bank accountsArea/group/serial validation (SSN), ABA routing checksum (bank accounts)
Identity (India)Aadhaar, PANVerhoeff checksum (Aadhaar), format validation (PAN)
Identity (Singapore)NRIC, FIN, UENFormat validation
Identity (EU)IBAN, passportMOD-97 (IBAN), format validation
ContactEmail, phoneRFC 5322 (email), international format (phone)
PersonalDate of birthMulti-format date parsing
TravelBooking reference, passportFormat validation

Each detection type supports configurable enforcement:

ActionBehavior
blockReject the request entirely
redactReplace detected PII with [REDACTED:type] placeholders
warnAllow the request but log a warning
logAllow silently, record in audit trail

Separate action controls exist for different enforcement points: PII_ACTION (proxy mode), GATEWAY_PII_ACTION (gateway mode), MCP_PII_ACTION (MCP connectors).

SQL injection scanning

Every query processed by AxonFlow passes through SQL injection detection that identifies risky SQL patterns, including:

  • Union-based injection
  • Boolean-based blind injection
  • Time-based blind injection
  • Stacked queries
  • Comment-based obfuscation

Enforcement is configurable via SQLI_ACTION (block, warn, or log).

Audit trail

The audit logging system records every policy decision with:

  • decision_id — unique identifier for the decision
  • verdict — allow, deny, redact, or require_approval
  • evaluated_policies — which policies were checked and their individual results
  • timestamp — when the decision was made
  • identity — org_id, client_id, and user_id (if provided)
  • trace_id — W3C traceparent correlation for distributed tracing

Audit logs are captured at multiple layers:

LayerWhat is recorded
AgentGateway decisions, PII detections, SQLi detections, rate limit events
OrchestratorLLM routing decisions, policy evaluations, provider selections
MCPConnector access requests, response redactions, exfiltration checks
WorkflowPlan execution steps, HITL approval decisions, retry events

Audit data is stored in RLS-protected tables — each organization can only query its own audit trail. Retention is configurable by deployment.

GDPR erasure

AxonFlow provides a POST /api/v1/gdpr/delete endpoint for Data Subject erasure requests. The endpoint removes all data associated with a specified identity across all platform tables within the authenticated organization's scope.

Evidence export

Evidence export (Evaluation and Enterprise tiers) provides structured exports of audit data, policy decisions, and governance evidence in formats suitable for compliance review. This includes decision chains, policy evaluation details, and temporal audit records.


Access control

Role-based access

The customer portal supports custom roles with org-scoped permissions. Role assignments control which portal users can view audit logs, manage policies, configure providers, or approve HITL requests.

SSO and SAML

Enterprise deployments support SAML-based SSO for customer portal authentication. This integrates with existing identity providers (Okta, Azure AD, Google Workspace) so portal users authenticate through the organization's standard identity flow.

SCIM provisioning

SCIM provisioning automates user lifecycle management — provisioning and deprovisioning portal users based on changes in the organization's identity provider. This prevents orphaned accounts when employees leave.

API key management

API keys are managed through the customer portal with org-scoped permissions. Each key is associated with a specific organization and inherits that organization's RLS boundary. Keys can be created, rotated, and revoked through the portal UI or the management API.


Engineering practices

Source-available code

AxonFlow is licensed under BSL 1.1 (Business Source License). The full platform source code is available for inspection. Security teams can:

  • Audit the RLS implementation directly
  • Review PII detection logic and validators
  • Verify encryption and secret management code
  • Inspect authentication and authorization flows
  • Run the platform locally for security testing

This is not "trust us" — it is "read the code."

Supply chain security

PracticeDetails
Signed commitsDCO (Developer Certificate of Origin) sign-off on every commit
Container scanningTrivy scans on every container image build
Static analysisCodeQL analysis on every pull request
Dependency reviewAutomated dependency review on every PR
Module pinningGo module checksums, npm lockfile integrity checks
Non-root containersAll production containers run as non-root users
Health checksDocker HEALTHCHECK instructions on all service containers

CI/CD security

PracticeDetails
Required status checksAll PRs must pass CI before merge
Merge queueSequential merge queue prevents race conditions
Branch protectionNo force push to main. No direct commits.
OIDC publishingPyPI and npm packages published via OIDC — no long-lived credentials
Provenance attestationPublished packages include build provenance

Compliance capabilities

AxonFlow provides technical capabilities that help teams build compliant AI systems. The platform itself is not a certification body — it provides the runtime controls, audit infrastructure, and evidence that compliance programs require.

CapabilityRBI FREE-AISEBI AI/MLEU AI ActMAS FEATHIPAAPCI-DSS
PII detection + redaction
Region-specific validators (Aadhaar, PAN, NRIC, IBAN)
SQL injection scanning
Audit trail + evidence export
HITL approval gates
Emergency circuit breaker
Cost controls
MCP connector governance
Decision Mode (PDP/PEP)
Governance profiles
Policy simulation

= capability directly addresses a requirement in this framework. = not a primary requirement for this framework.

For framework-specific details, see the compliance overview and individual framework pages:


Certifications

AxonFlow does not currently hold SOC 2 or ISO 27001 certification. The platform is source-available under BSL 1.1, which means security teams can audit the implementation directly rather than relying on third-party attestation.

For organizations that require third-party certification as a procurement gate, self-hosted and In-VPC deployments inherit the customer's own certifications — AxonFlow runs as software within the customer's certified infrastructure.


Deployment security by mode

ConcernSelf-hostedIn-VPCCommunity SaaS
Data residencyCustomer-controlledCustomer's AWSus-east-1
Network isolationCustomer-controlledVPC-scopedShared infrastructure with RLS isolation
Secret managementCustomer-managedCustomer's AWS Secrets ManagerAxonFlow-managed
Encryption keysCustomer-managedCustomer's KMSAxonFlow-managed
Container imagesCustomer-built from sourceAxonFlow ECRAxonFlow-managed
Audit log accessDirect database accessDirect database accessAPI + portal

See deployment modes for the complete comparison.


Questions

For security questions, vulnerability reports, or procurement questionnaires, contact [email protected].

For a hands-on security review with access to the source code and a dedicated test environment, apply for the Design Partner Program.