Welcome to the Vericto documentation

Everything you need to integrate Vericto, configure rules, use the REST API and understand the deterministic AST proxy.

1 Pull the image

Pull the Vericto proxy image:

$ docker pull ghcr.io/vericto/proxy:latest

Next: deploy →

Getting started

Why Vericto

AST · Deterministic parsing

What is AST and why is it the best option?

Vericto parses every query into its Abstract Syntax Tree (AST), with libpg_query (PostgreSQL's own parser) on PostgreSQL and sqlparser-rs on the other dialects, instead of guessing with regular expressions or heuristics. It analyzes the structure of the statement, not its text: that's why it catches what allowlists and regex miss.

  • Deterministic, not infallible. The same query with the same rules always gets the same verdict, with no probabilistic models and no variance. Every false positive found is fixed with a regression test, and observe mode lets you try the rules on real traffic before they block.
  • Sees what others miss. Multi-statement, data-modifying CTEs (WITH … DELETE), subqueries and tautology injection (OR 1=1), all over the full AST, multi-dialect.
  • Measured performance. Evaluation runs in-process in the TCP proxy, with no network calls on the hot path: rule evaluation alone, with no network, measured a p99 of 100 µs or less (vericto-engine 3.9.0, staging, October 16, 2026), and on dedicated EC2 on October 31, 2026 the proxy added under 0.1 ms per statement at p50 (0.08 ms on PostgreSQL and 0.07 ms on MySQL, at 0.5 vCPU with TLS). A measurement, not a guarantee: proxy benchmark, conditions and method.

Interception in the PostgreSQL wire protocol

'P' Parse: prepared statements evaluated at the Parse phase, before values are bound. Protection independent of runtime parameters. 'Q' Simple Query: the full statement is evaluated inline before it runs. The destructive query never reaches the database.
See the full architecture

Ways to connect

Not sure which mode to use? See where Vericto sits in nine reference architectures →

Reference

Security & community