← Lab /Systems

Approved enterprise tasks become short-lived, budgeted, auditable DB sessions

SessionBound can enforce task-specific SQL limits without an LLM, with low absolute latency

Systems arXiv 1 Jul 2026 Method Prototype evidence Threat model

Published as “SessionBound: Turning Enterprise Task Approval into Budgeted Database Sessions”

Why it matters

SessionBound makes it possible to grant AI agents bounded, auditable access aligned with business approvals, but the high relative overhead may limit its use to low-latency or low-volume analytical tasks.

Summary

SessionBound enforces approved enterprise tasks as short-lived, budgeted database sessions using signed task tokens, and the PostgreSQL prototype passes all 24 functional validation scenarios while adding about 1.4-1.5 ms latency per small query (vs 0.05-0.07 ms raw). The evidence includes a complete pass of the validation suite and microbenchmark numbers, though the relative overhead is >2000%.

What they found 2

  1. All functional test cases were passed

    “The canonical validation suite passed 24 of 24 scenarios.”

  2. SessionBound adds ~1.4-1.5 ms latency per small synthetic query

    “Microbenchmarks show p50 SessionBound execution around 1.4-1.5 ms versus raw PostgreSQL p50 around 0.052-0.074 ms on small synthetic queries”

Caveats 3

  • Relative overhead of >2000% for simple queries, e.g., "Rows SELECT 0.063 ms 1.434 ms 2168.4%"
  • These results should not be generalized to larger datasets without additional experiments.
  • They do not prove that every SQL dialect feature is safely handled, nor do they eliminate inference from allowed answers.

What’s new here 4

  • Turns business-level task approvals into signed tokens that bound database sessions.
  • Enforces safe views, row-scope, denied fields, operation limits, query and disclosure budgets without relying on an LLM.
  • Provides deterministic receipts for every allowed or denied query attempt.
  • Implements a control-plane plus runtime architecture that binds one token to one session.

Threat model stated by the source

AdversaryAI agent that may be curious, faulty, prompt-injected, or instructed to exceed the approved boundary
CapabilityGenerate arbitrary SQL strings, attempt raw-table reads, denied-field access, out-of-scope rows, system catalog queries, large payloads, and repeat queries until a budget is exhausted
AssumesThe database administrator is not malicious; Signing keys are not compromised; The underlying database engine’s native access-control mechanisms are intact