Security Architecture · Zero SaaS · MIT License
Built for zero-trust infrastructure and security review.
Every component in Culprit SQL is architected around least privilege, bounded resource budgets, air-gapped self-hosting, and verifiable open-source builds.
Read-Only by Construction
Scans query system views only. Production SQL editor requires explicit statement confirmation; fixes are suggested, never auto-applied.
Keychain, Entra ID & IAM
Credentials live in macOS Keychain, Windows Credential Locker, Secret Service, Azure CLI / Entra OIDC, or AWS RDS IAM.
Air-Gapped & SSH Jump Hosts
Works fully offline inside private subnets or over OpenSSH jump hosts while preserving TLS verification.
Statement-Level MCP Policy
Per-connection agent policy (off, stats-only, or human-approved read-only queries rolled back with row/time caps) plus culprit audit.
Signed & License-Verified
macOS builds are Apple-signed and notarized. Every release ships SHA256SUMS.txt and cargo-about verified THIRD-PARTY-LICENSES.txt.
Zero Per-Core or Per-Seat Fees
Replace $3k-$8k/instance/year legacy DBM licenses with MIT software and commodity ClickHouse or Azure Data Explorer storage.
Trust Boundaries
Component isolation & credential scope matrix.
| Component | Network Placement | Credentials Held | Database Write Capability |
|---|---|---|---|
| Culprit SQL Studio / CLI | Engineer workstation / Bastion | OS Keychain, Entra CLI, AWS IAM (per-connection) | Read-only scans; editor requires explicit human approval on prod |
culprit collect | Private VPC / AKS / EKS pod | Scoped monitoring login + Outbox write token | None — catalog/stats readers only with 1 s statement timeout |
| Culprit Fleet Web | Internal ingress / SSO | Read-only ADX or ClickHouse + Blob/S3 reader | Impossible — zero SQL database drivers compiled into binary |
| Culprit Explain | Browser tab (Wasm) | None | Impossible — zero network sockets or database drivers |
@culpritsql/ci | GitHub Actions / CI runner | None (reads offline schema snapshot JSON) | Impossible — offline static analysis only |