stabisoDocs

Legal

Security posture overview

Last updated: November 2026

Stabiso is built from the ground up for mission-critical accounting, financial ledgers, and trade records. Customer data must remain strictly isolated, verifiable, and protected against unauthorized modification or disclosure.

This document provides an overview of Stabiso's security architecture across seven core domains, detailing the protective controls and how each is verified.

The rules Stabiso works by (access, changes, incidents, backups, providers and more) are in the security policies.

For security inquiries, audit requests, or responsible disclosure, contact hello@stabiso.com.


Security domains

Security domain Key defense-in-depth controls Primary verification
1. Multi-Tenant Data Isolation Database-enforced tenant isolation, unprivileged runtime roles, horizontal scale-out architecture Automated cross-tenant API matrix testing 100% of operations
2. Ledger Integrity & Tamper Proofing SHA-256 cryptographic hash chaining, database-level write & delete blocking, zero-sum balancing triggers Deterministic hash chain verification on close and offline audit verify script
3. Authentication & Access Governance Passwordless design, Enterprise OIDC with PKCE, WebAuthn hardware passkeys, 5-minute step-up re-authentication Automated session replay tests, WebAuthn counter validation
4. AI & Autonomous Agent Controls Hard-coded human-only financial barriers, scoped OAuth 2.1 tokens, four-eyes segregation of duties, zero-training AI Policy engine test suite verifying human-only boundaries
5. Cryptography & Secrets Management AES-256-GCM envelope encryption with row-bound AAD, master key held in Google Secret Manager, TLS 1.2 or newer Ciphertext tampering rejection tests
6. Infrastructure & Network Defense Swiss data sovereignty (Zurich), Google Cloud edge DDoS defense, per-address limits on refused sign-ins, strict egress filtering Automated egress boundary tests, edge perimeter telemetry
7. Continuous Assurance & Portability End-to-end reproducible exports, complete cryptographic offline verification, comprehensive CI/CD guardrails Automated audit export validation and license compliance checks

1. Multi-tenant data isolation

Stabiso enforces strict logical and physical data separation directly within the database architecture rather than relying solely on application-layer filtering:

  • Database-enforced tenant boundaries: Every tenant table enforces database-level isolation policies. The database engine rejects any query or write that does not match the active organization's context.
  • Horizontal scale-out ready architecture: Data storage and queries are scoped by organization identifier, enabling seamless scale-out across multiple database instances, partitions, and clustered database engines as data volume expands, while guaranteeing that tenant boundaries remain immutable.
  • Least-privilege runtime role: The API and background workers connect using an unprivileged database credential that holds no table ownership, no administrative bypass privileges, and no database definition rights (DDL). Migrations execute through a separate, isolated deployment pipeline.
  • Transaction-scoped tenant context: Every database transaction establishes an explicit, isolated tenant context. Without an active organization context, tenant tables return zero rows and reject all write operations.
  • Cross-tenant session hygiene: Operations involving cross-company workflows (such as multi-entity accounting portfolios) strictly isolate entity maps and expunge cached identity state before returning to the caller.
  • Automated cross-tenant test suite: Every release runs a comprehensive automated matrix test that attempts cross-tenant access across every API endpoint using invalid cross-organization identifiers. All calls must return 403 or 404 and prove zero cross-tenant data leakage.

2. Ledger integrity and tamper resistance

Accounting ledgers must guarantee mathematical accuracy and historical immutability:

  • Immutable journal entries: Once posted, journal entries cannot be edited or deleted. Corrections must be booked as explicit, traceable reversal entries. Database-level triggers prevent any update or deletion on posted entries and lines.
  • Balanced transaction enforcement: Database triggers verify that every posted journal entry contains at least two lines, balances to zero in the entity's functional currency, and falls within an open fiscal period.
  • Cryptographic hash chaining: Posted journal entries are linked into an uninterrupted SHA-256 cryptographic chain covering all transaction attributes and line items. Any attempt to modify historical values or remove records breaks the chain.
  • Period-end locks and immutable documents: Finalized tax returns, closed fiscal periods, trade invoices, and released ISO 20022 payment files are locked against modification by database-level triggers.
  • Append-only audit logging: Security and audit events are written to append-only tables where the application database role has insert and read rights only.

3. Authentication and access governance

Stabiso implements modern authentication standards designed to eliminate credential stuffing and session hijacking:

  • Passwordless credential architecture: Stabiso stores no customer passwords. Users authenticate through trusted enterprise identity providers via OpenID Connect (OIDC) or standardized directory services.
  • Hardware-backed WebAuthn passkeys: Every web session requires biometric or hardware-backed passkeys with user verification required. Authenticator counter validation prevents clone and replay attacks.
  • Time-limited step-up verification: High-impact administrative and financial operations (such as releasing payment files, updating approval policies, issuing API keys, or modifying user roles) require a fresh passkey confirmation within the preceding five minutes.
  • Four-eyes segregation of duties: The system verifies the human identity behind each credential. A user cannot draft an invoice, payment, or ledger entry using an automated key or assistant and approve the same transaction from their user session.
  • Secure browser session controls: Web sessions use hardened HttpOnly, SameSite=Strict, and Secure cookies with anti-CSRF headers.

4. AI and autonomous agent governance

Stabiso enables AI automation while enforcing strict human oversight over financial authority:

  • Human-only financial controls: The platform hard-codes strict execution barriers. AI agents and automated keys are permanently prohibited from performing financial release actions, including approving payments, closing or reopening fiscal periods, reversing entries, finalizing tax filings, or modifying security policies.
  • Scoped OAuth 2.1 integration: Connected AI assistants and tools (integrated via MCP) authenticate via OAuth 2.1 with PKCE. Tokens are strictly scoped to the approving user and cannot escalate to administrative or approval privileges.
  • Data residency for AI inference: Built-in AI analysis and document processing execute exclusively on European cloud endpoints under strict data processing agreements. Customer data is never used to train public or foundational models.

5. Cryptography and secrets management

All customer information is protected with industry-standard cryptographic primitives:

  • Encryption in transit: All network communication requires TLS 1.2 or newer, with HTTP Strict Transport Security (HSTS) enabled and strict cipher suites.
  • Encryption at rest: Database volumes, backups, and document storage use AES-256 encryption managed by enterprise Key Management Systems (KMS) with automated key management.
  • Envelope encryption for integration secrets: External credentials (such as OAuth refresh tokens and API credentials) are sealed using AES-256-GCM. Each secret is encrypted with a unique key derived via HKDF-SHA256 from a master key held in Google Secret Manager, with row-bound Authenticated Associated Data (AAD) to prevent ciphertext transplant attacks.

6. Infrastructure and network defense

The infrastructure is engineered for resilience, data sovereignty, and perimeter protection:

  • Swiss data hosting: Primary database clusters, document storage, and backups are hosted in Switzerland (Zurich) under strict data sovereignty.
  • Edge DDoS and rate limiting: Google Cloud's external HTTPS load balancers absorb volumetric distributed denial-of-service (DDoS) attacks before they reach application instances. Refused sign-ins and keys are limited per client address, on web requests and live connections alike.
  • Outbound connection filtering: Webhook deliveries and external identity provider connections are restricted to secure HTTPS endpoints and pass through egress network filters that strictly block loopback, link-local, private, and internal network ranges to eliminate server-side request forgery (SSRF).
  • Isolated operator access: Internal platform operations utilize a dedicated, isolated administration path with separate multi-factor authentication, immutable audit logging, and zero read access to customer ledger books.

7. Continuous assurance and data portability

Stabiso guarantees complete sovereign control over customer data:

  • Sovereign export and offline verification: Customers can generate a complete archive and export of all organization records at any time. Exports include full database tables in CSV and JSON formats, source documents, financial statements, and a standalone verify.py script to validate ledger SHA-256 hash chains independently without Stabiso services.
  • Automated CI/CD security verification: Every code change must pass automated static analysis, license hygiene audits, OpenAPI contract validation, architectural boundary checks, and the tests of what it touches before it is merged; each release is tested again right after it goes live and rolled back automatically when those tests fail.
Stabiso, the Enterprise System of Record · generated from the code and its guides · release 3262ae655e81