πŸ›‘οΈ Enterprise Whitepaper β€’ Security & Compliance

Security Architecture & Compliance Isolation Specification

Document Version: 2.4 β€’ Classification: Public Security Standard β€’ Architecture: Local DuckDB-WASM / In-Process C++ β€’ Audited: September 2026

1. Zero-Raw-Data Privacy Isolation

VeilAnalytics is an enterprise analytical engine engineered with a Local-First, Zero-Raw-Data AI Privacy Architecture. Unlike legacy cloud BI platforms that ingest and store customer records in multi-tenant data warehouses or transmit entire tabular sheets to external LLM providers, VeilAnalytics enforces cryptographic and boundary isolation: 0 raw data rows ever leave the local compute boundary.

β”Œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β” β”‚ LOCAL COMPUTATION BOUNDARY β”‚ β”‚ β”‚ β”‚ [ Local Dataset / DB Source ] (CSV, Parquet, Excel, PostgreSQL) β”‚ β”‚ β”‚ β”‚ β”‚ β–Ό β”‚ β”‚ [ Embedded DuckDB Engine ] ◄────── In-Memory SQL Execution (Sub-50ms) β”‚ β”‚ β”‚ β”‚ β”‚ β–Ό β”‚ β”‚ [ Schema Extraction ] ──► (Column Names & Data Types ONLY) β”‚ β””β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”¬β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”˜ β”‚ β”‚ Sanitized Metadata Definition (0 Raw Data Rows) β–Ό β”Œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β” β”‚ Cloud LLM / Local Ollama β”‚ (Synthesizes SQL Queries ONLY) β””β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”˜

Core Technical Guarantees

2. AST Query Firewall & Sandboxing

To eliminate prompt injection, arbitrary filesystem access, and data tampering risks, all natural language generated SQL undergoes multi-stage validation through an Abstract Syntax Tree (AST) Query Firewall prior to execution.

Firewall Policy Enforcement Mechanism Action on Violation
Read-Only Whitelist Only analytical primitives allowed (SELECT, WITH, SHOW, DESCRIBE, SUMMARIZE) Immediate AST rejection before database dispatch
Destructive DDL/DML Block Blocks DROP, ALTER, DELETE, TRUNCATE, UPDATE, INSERT Returns Security Policy Exception
OS & Pragma Isolation Blocks DuckDB filesystem copy commands (COPY TO), binary extensions, and environment pragmas Zero-privilege container sandbox traps call
Multi-Query Chaining Block Blocks semicolon-delimited multi-statement injection vectors Execution halts at query boundary

3. Enterprise Compliance Alignment

VeilAnalytics accelerates regulatory approval by eliminating third-party data processor risk and vendor data retention liabilities.

πŸ₯ HIPAA (PHI Protection)

Zero PHI transmission over external networks. Health metrics stay in browser RAM or on-premise compute nodes, removing BAA vendor exposure for raw medical records.

πŸ‡ͺπŸ‡Ί GDPR (EU Data Privacy)

Compliant with Data Minimization (Art. 5) and Right to Erasure (Art. 17). Closing an analytics session immediately zeroes all temporary in-memory tables.

πŸ”’ SOC 2 & Enterprise Perimeter

Zero cloud data retention. Analytics run strictly within your existing corporate VPN, IAM boundaries, and security perimeter.

4. Live Database Connector Security

For direct querying against live production databases (PostgreSQL, MySQL, Supabase):

5. DevTools Verification Checklist

Security teams can independently verify all claims in under 60 seconds using standard browser developer tools:

  1. Open Chrome or Firefox DevTools (F12 or Cmd+Option+I) and navigate to the Network tab.
  2. Load a 50,000-row sample dataset or drag in your own CSV/Parquet file.
  3. Filter Network requests by Fetch/XHR. Notice that zero upload POST requests containing table rows occur.
  4. Execute a natural language query. Observe that the payload to the AI endpoint contains only table column definitions.
  5. Disconnect your Wi-Fi or enable airplane mode while running Local Ollama modeβ€”the application executes with 100% offline parity.

Custom Security Questionnaires & Enterprise DPAs

Need custom architecture review documents, vendor assessment forms, or air-gapped binary deployment for your enterprise security board?

βœ‰οΈ Request Enterprise Security Pack (shyamprasath.p@protonmail.com) Launch Interactive Demo Sandbox β†’