🛡️ Trust & Privacy 100% Local-First Architecture ↗

Where Does Your Schema Go?

A transparent breakdown of Schemap's security model, local-first execution pipeline, zero-telemetry design, and credential protection for enterprise teams.

Direct Answer: Zero Data Leaves Your Machine

Short Answer: Nowhere. Schemap runs entirely on your local workstation or CI/CD runner. It only reads database structural catalogs (tables, columns, foreign keys) and writes compiled Markdown directly to your project repository. Your database row data, customer PII, passwords, and records are never read, dumped, or transmitted.

The 4 Pillars of Schemap Security

01

System Catalog Queries Only (Zero Row Inspection)

Schemap connects to your database using standard SQL driver connections (PostgreSQL, SQLite, MySQL, Turso, Oracle), but it never issues SELECT * or queries customer data tables.

It exclusively inspects read-only system catalog metadata:

-- What Schemap queries (Metadata only):
SELECT table_name, column_name, data_type, is_nullable
FROM information_schema.columns
WHERE table_schema = 'public';

-- What Schemap NEVER queries:
SELECT * FROM users;          -- ❌ NEVER EXECUTED
SELECT email, ssn FROM customers; -- ❌ NEVER EXECUTED
02

Sub-3ms Local Deterministic Compilation

All core CLI commands (schemap context, schemap doctor, schemap join, schemap agents, schemap diff) execute using local Python algorithms—including foreign key graph traversal, centrality ranking, and safety rule generation. No generative AI or cloud endpoints are queried during normal compilation.

03

Zero Telemetry & Zero Tracking

Schemap contains no usage tracking, no Google Analytics, no PostHog telemetry, and no behavioral logging. Your schema names, column structures, and query patterns remain strictly confidential to your git repository.

04

Automated Credential & PII Guardrails

When compiling agent rules (CLAUDE.md, AGENTS.md, Cursor rules), Schemap actively searches for sensitive columns (e.g. password_hash, api_secret, stripe_token, ssn) and injects explicit negative guardrails instructing coding agents never to query them in feature SQL.

Security Architecture Comparison

How Schemap compares against other database tools in the AI ecosystem:

Security Dimension Runtime MCP SQL Daemons Hosted SaaS DB Tools Schemap (Local-First)
Database Credentials in Agent Process ⚠️ Active DB connection held by daemon ⚠️ Stored in cloud database backend ✅ Zero credentials stored in context files
Database Row Data Transmission ⚠️ Queries table rows on demand ⚠️ Streams query results to SaaS ✅ 0 row data accessed or transmitted
Air-Gapped Offline Execution ❌ Requires active local server RPC ❌ Requires external cloud connection ✅ 100% offline & air-gapped compatible
Telemetry & Usage Logging Varies by daemon ⚠️ Cloud behavioral telemetry ✅ Zero telemetry, zero tracking
SOC2 / HIPAA Compliance Risk High (Live query execution) High (Third-party data processor) ✅ Zero risk (Static repo files only)

Full Transparency: When Does Schemap Make Network Calls?

To ensure complete transparency, there are only two circumstances where network communication can ever occur:

1. Optional LLM Description Enrichment (--enrich)

If you explicitly pass schemap context --enrich, Schemap will send structural table/column names only to your configured OpenAI API key to generate plain-English descriptions. This is 100% optional and disabled by default.

2. Pro License Key Activation & CI/CD Validation

When activating a Pro key (schemap activate KEY) or executing in CI/CD environments, Schemap verifies license validity against Cloudflare Workers. Only the hashed license key and machine identifier are sent; zero schema metadata or database information is ever transmitted.

Recommended Enterprise Best Practices

  • Use Read-Only Credentials: When configuring DATABASE_URL, provide a database user with read-only access to system catalogs (e.g., GRANT USAGE ON SCHEMA public).
  • Commit Context Maps to Git: Commit schemap_database_context.md, CLAUDE.md, and AGENTS.md directly into your repository. Your team members can consume full database intelligence without needing direct database access.
  • Run in CI/CD Pre-Commit Gates: Use schemap diff --risk --fail-on-breaking in your automated deployment pipeline to catch destructive schema changes before they hit production.

Local-First Database Intelligence

Install Schemap in 60 seconds. Inspect and compile context with zero data leakage.

Install Schemap Free View Verified Benchmarks