VARUX AXIS Deterministic PostgreSQL Write-Path Control
v0.6 · Pilot Readiness
AXIS Documentation / Security / Security Model

Security Model

VerifiedTLS partialRBAC / SSO / KMS planned

AXIS v0.6–v0.9 is a pilot-grade control layer, not an enterprise access-control system. This page states the model honestly: what is protected, what is trusted, and what remains outside the v1 guarantee.

Security principles

Trust boundaries

AssetProtection in v1
SQL classificationContract v1.0 + CI mutation tests + evasion corpus
Policy files & manifestLocal SHA-256 integrity checks; no signing or external distribution in v1
Audit WALHash chain + fail-fast corruption detection; not an external tamper-proof ledger
Approval storeLocal SQLite / JSONL; immutable resolution; operator-token gated
DB credentialsDATABASE_URL / DB_* env vars; axis_executor role runs with limited privileges in the pilot stack
Operator controlAXIS_OPERATOR_TOKEN bearer token; unconfigured = unblocked local dev, reported as operator_auth_enabled: false
Runtime logsOperational visibility only; not evidence

Identity: unverified in v1

Identity fields (actor, app, tenant, role, host, env) are not verified. They are evidence and policy inputs, not identity claims. "AXIS is not an authentication system." v0.9 adds optional JWT context (AXIS_JWT_REQUIRE_VALID_JWT=false): JWT-based identity can feed policy context, but is off by default and does not replace the v1 honesty model. Planned (not shipped): RBAC, SSO, signed identity, KMS-backed key management.

Runtime hardening controls

ControlVariableDefault
Request timeoutAXIS_REQUEST_TIMEOUT_MS10000
DB query timeoutAXIS_DB_QUERY_TIMEOUT_MS8000
DB pool max connectionsAXIS_DB_POOL_MAX_CONNECTIONS10
Max body bytesAXIS_MAX_BODY_BYTES1048576 (1 MB)
Max SQL bytesAXIS_MAX_SQL_BYTES262144 (256 KB)
Rate limit (per minute)AXIS_RATE_LIMIT_REQUESTS_PER_MINUTE120
Rate limit burstAXIS_RATE_LIMIT_BURST30
Prepared sessionsAXIS_MAX_PREPARED_SESSIONS1000
Max pending approvalsAXIS_MAX_PENDING_APPROVALS1000
Approval default TTL (seconds)AXIS_APPROVAL_DEFAULT_TTL_SECONDS300
Reload disabled by defaultAXIS_ENABLE_POLICY_RELOADfalse

Controls apply at different layers: some are enforced in the AXIS API (body/SQL size), some at the database adapter (pool, timeouts), some at audit (fsync), and some at runtime (rate limit, approval TTL).

TLS posture

Anti-evasion posture

Documented limits

AXIS is not compliant enterprise software. For production, the documented review gates (mTLS, TLS to PostgreSQL, operator token policy, JWT adoption, external evidence handling) must be completed first.

Related: Architecture · mTLS & Network · Security Review