CLOUDFLARE WORKER + D1 MULTI-TENANT ENGINE · COMMERCIAL KIT #23
Eliminate cross-tenant D1 leaks, automate SaaS vanity SSL, and enforce hierarchical Org RBAC at the edge.
One missing WHERE tenant_id = ? clause can leak an entire B2B customer database. TenantGuard enforces
structural D1 SQL query guardrails, manages Cloudflare for SaaS custom-hostname DCV & TLS 1.3 lifecycles,
and evaluates Org → Workspace RBAC with WebCrypto HMAC-SHA256 invite tokens with full Node ESM + Python 3.10+ parity.
$39 standalone value — included inside the $79 All-Access Pass.
SQL ISOLATION
AST + Param Guard
Blocks unscoped & OR 1=1
VANITY DOMAINS
SaaS TLS 1.3
DCV + takeover lock
ORG -> WORKSPACE
HMAC-SHA256
Explicit deny + 1-time JTI
TESTED PARITY
18 Unit Tests
10 Node + 8 Python
01A · STRUCTURAL D1 QUERY GUARDRAIL
READY
ALLOWED QUERIES
0
LEAKS BLOCKED
0
SESSION TENANT
acme_corp
01B · ISOLATION VERDICT & AUDIT LOG
Guardrail Decision & Scoped D1 Rows
Select a preset or click "Run SQL Guardrail Check" to validate tenant_id row isolation.
Scoped D1 rows & blocked leak audit trail will render here.