CLITCP proxyPython and Node SDKs

Data pipelines: dbt in CI and every Airflow SQL task

A pipeline runs SQL nobody looks at: a model that replaces a table, a task that deletes instead of filtering. Vericto checks dbt SQL in CI, before deploy, and evaluates every Airflow SQL task, through the TCP proxy without changing the DAGs or with the Python SDK's operator and cluster policy.

Available today: the CLI in CI, with the PostgreSQL, MySQL, Oracle, SQL Server, Snowflake and SQLite dialects; the TCP proxy for Postgres and MySQL; and, in the Python SDK (vericto), vericto-dbt check and the Airflow operator and cluster policy.

Diagram: data pipelines with dbt, Airflow and VerictoAbove, dbt: a pull request with dbt models triggers a CI job that runs the SQL dbt compiled through vericto check; the Validation API, in Vericto Cloud, returns the verdict. vericto-dbt check, from the Python SDK, does the same from the dbt manifest. Below, Airflow: with the DAGs unchanged, each task's connection points at the Vericto proxy, which evaluates every statement before PostgreSQL or MySQL. The Airflow operator and cluster policy, from the Python SDK, evaluate every task with the Runtime API.dbt: in CI, before deployAirflow: every SQL taskallowedPull requestdbt modelsvericto checkSQL compiled by dbtValidation APIin Vericto CloudEvaluates herevericto-dbt checkAirflowDAGs unchangedVericto proxythe connection's hostEvaluates hereDatabasePostgreSQL or MySQLAirflow operatorDiagram: data pipelines with dbt, Airflow and VerictoAbove, dbt: a pull request with dbt models triggers a CI job that runs the SQL dbt compiled through vericto check; the Validation API, in Vericto Cloud, returns the verdict. vericto-dbt check, from the Python SDK, does the same from the dbt manifest. Below, Airflow: with the DAGs unchanged, each task's connection points at the Vericto proxy, which evaluates every statement before PostgreSQL or MySQL. The Airflow operator and cluster policy, from the Python SDK, evaluate every task with the Runtime API.dbt: in CI, before deployAirflow: every SQL taskallowedPull requestdbt modelsvericto checkSQL compiled by dbtValidation APIin Vericto CloudEvaluates herevericto-dbt checkAirflowDAGs unchangedVericto proxythe connection's hostEvaluates hereDatabasePostgreSQL or MySQLAirflow operator
  • SQL statement path
  • Where Vericto evaluates
  • Vericto component that does not evaluate
Above, dbt: the CI job runs the compiled SQL through the CLI and deploys only if the check passes. Below, Airflow: the task's connection points at the proxy, which evaluates every statement.

What it protects

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

  1. dbt: install the CLI in the CI job (installation) and store an API key with the ci_dryrun:execute scope as a secret.
  2. Compile the project (dbt compile writes the SQL to target/compiled) and run it through vericto check with your warehouse's dialect: PostgreSQL, MySQL, Oracle, SQL Server, Snowflake or SQLite.
  3. Deploy (dbt run) only if the check passes: exit code 1 fails the job.
  4. 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.
  5. 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

FeatureFreeBuilderTeamEnterprise
CLI and GitHub ActionYesYesYesYes
CLI and MCP validations1K per month10K per monthUnlimitedUnlimited
TCP proxy (PostgreSQL and MySQL)YesYesYesYes
Queries per month (proxy and Runtime API)500K5M50MUnlimited
Rule simulator—Up to 30 daysUp to 90 daysPer contract (up to 180 days)
vericto-dbt, Airflow operator and cluster policy (Python SDK)YesYesYesYes

Prices and every limit on Pricing.

Try it with your own SQL

The Free plan includes 500K queries a month and 1,000 CLI and MCP validations, with no credit card. For deployments in your VPC, SSO and dedicated SLAs, talk to sales.