What it protects
- VERICTO-001 and 042: DELETE and UPDATE without WHERE in a maintenance task.
- VERICTO-010 and 011: DROP TABLE and TRUNCATE outside a migration.
- VERICTO-040 and 084: INSERT INTO … SELECT without a filter, and CREATE TABLE AS SELECT.
- VERICTO-061: batch INSERT of more than 10,000 rows, which is flagged.
- VERICTO-091 to 097 for Snowflake, in the CI check with the Snowflake dialect.
Latency and availability
In CI, the check runs outside the runtime and does not affect how the pipeline runs. The CLI sends SQL in batches of up to 500 statements, and each statement counts as one validation.
In Airflow with the proxy, each statement adds the hop to the proxy and its in-process evaluation.
Measured on dedicated EC2 on October 31, 2026 (vericto-proxy 4.21.0, enforce mode, 42 built-in rules, 0.5 vCPU on Graviton3, TLS on both legs, open-loop load, direct path measured in the same run): the proxy added 0.08 ms at the median on PostgreSQL (pgbench select-only, 970 to 4,800 statements/s) and about 0.07 ms per statement on MySQL (1.1 ms per 16-statement sysbench transaction). Its p99 grows with the load on the 0.5 vCPU quota: 0.13 ms at 10% of the task's capacity, 0.28 ms at 30% and 0.60 ms at 50%. About 0.06 vCPU per 1,000 statements/s. These are small statements: a larger one adds more (on staging, a 1,000-row INSERT added 5.5 ms at p50). A measurement, not a guarantee: benchmark, conditions and method.
How to implement it
- dbt: install the CLI in the CI job (installation) and store an API key with the
ci_dryrun:executescope as a secret. - Compile the project (
dbt compilewrites the SQL totarget/compiled) and run it throughvericto checkwith your warehouse's dialect: PostgreSQL, MySQL, Oracle, SQL Server, Snowflake or SQLite. - Deploy (
dbt run) only if the check passes: exit code 1 fails the job. - Airflow: deploy the proxy next to the workers or as a service and point the Airflow connection's host and port (Postgres or MySQL) at the proxy. The DAGs do not change.
- Give the pipeline its own database user, to see its traffic separately and, on Team and Enterprise, give it its own allowlist.
With the Python SDK: vericto-dbt check reads target/manifest.json after dbt compile and checks the compiled SQL of models, snapshots and hooks with the Validation API (scope ci_dryrun:execute), with table, JSON or SARIF output; it recognises the Snowflake, PostgreSQL, Redshift, MySQL, SQL Server and Oracle adapters. In Airflow 3.0+ (3.3 tested), VerictoSQLExecuteQueryOperator or the guard_sql_tasks cluster policy evaluate every task's rendered SQL with the Runtime API (scope proxy:evaluate), also on dialects with no proxy: a block fails the task without retries. Package on PyPI; code and documentation in vericto-python.
pip install "vericto[dbt]" # or "vericto[airflow]" (Python 3.10+)
dbt compile
VERICTO_API_KEY=vtro_... vericto-dbt check --format sarif --output vericto.sarif
# airflow_local_settings.py, on the DAG processor and the workers
from vericto.airflow.policy import guard_sql_tasks
def task_policy(task):
guard_sql_tasks(task) # every common-sql operator
When not to use this option
- Transformations that are not SQL (Spark, pandas): Vericto evaluates SQL statements, nothing else.
- Materializing tables through the proxy. If the pipeline creates tables with CREATE TABLE AS SELECT through the proxy, VERICTO-084 blocks them by default: disable it or change its severity in that pipeline's workspace, and simulate the change first.
- Airflow tasks on Snowflake through the proxy. Snowflake has no proxy: use the Python SDK's operator or cluster policy (
vericto[airflow]), which evaluate every task with the Runtime API. See data warehouse.
Plan availability
| Feature | Free | Builder | Team | Enterprise |
|---|---|---|---|---|
| CLI and GitHub Action | Yes | Yes | Yes | Yes |
| CLI and MCP validations | 1K per month | 10K per month | Unlimited | Unlimited |
| TCP proxy (PostgreSQL and MySQL) | Yes | Yes | Yes | Yes |
| Queries per month (proxy and Runtime API) | 500K | 5M | 50M | Unlimited |
| Rule simulator | — | Up to 30 days | Up to 90 days | Per contract (up to 180 days) |
| vericto-dbt, Airflow operator and cluster policy (Python SDK) | Yes | Yes | Yes | Yes |
Prices and every limit on Pricing.