Your rules, not the agent's.

Database guardrails for AI agents. Don't ask the model to be careful. Vericto parses every statement your agent writes the way your database will read it, and puts a verdict on it before it runs.

Free plan, no credit card. The check on this page needs no account at all. It is the open-source engine (AGPL-3.0), running in your browser.

Try

BLOCKED

rule
VERICTO-001 critical · block DELETE without WHERE clause
parse
DeleteStmt > WhereClause = NULL
fix
DELETE FROM users WHERE id = $1
exit
1

The engine printed this verdict when the page was built. Edit the statement and it is checked again in this tab. The engine downloads once (about 1 MB compressed) and sends nothing back.

Run it on your machine

npx @vericto/vericto-cli@latest check --offline --sql="DELETE FROM users;"

Engine: AGPL-3.0, source & notices

Five lines your agent can act on

Each verdict names the syntax-tree node that failed, the rule that caught it and the statement to send instead. The agent gets something concrete to retry with.

stmtUPDATE users SET role = 'admin';

The statement as it arrived. The engine only reads its text.

parseUpdateStmt > WhereClause = NULL

Where it fails, in the tree built by pg_query (PostgreSQL's own parser) or by sqlparser-rs for the other five dialects. Because it reads the tree, a DELETE hidden inside a CTE shows up too.

ruleVERICTO-030 critical · block

One of the 42 standard rules, each with its page, its example and its source code. All 42 rules.

fixUPDATE users SET {col} = $1 WHERE id = $2

What to send instead. The agent gets it inside the same error message.

exit1

Exit 1 in CI, SQLSTATE 42501 through the PostgreSQL proxy, ERROR 1142 on MySQL. Every driver already knows what to do with these errors.

Real output of vericto check --offline (CLI 2.3.0, engine 5.1.0) on this statement.

What a verdict cannot know

Your intent.
The engine checks that a WHERE exists and is not always true, including whole-table forms such as WHERE id IN (SELECT id FROM users). It does not work out which rows it touches: WHERE id = 42 passes, and so does WHERE created_at < now(), which may touch nearly every row. Whether it is the right row is up to you, or to your workspace's agent access.
What the parser cannot read.
By default a statement the parser can't read goes through and is logged, so your traffic keeps flowing. With parse_error: block the check fails closed. Some valid syntax doesn't parse yet, such as a T-SQL DELETE users WHERE … without FROM. Enforcement modes.
Your policy, without an account.
This page and check --offline run the 42 standard rules at their default severities. vericto:ignore comments count in files; with --sql only if you pass --allow-inline-ignore, and never here. Your own rules, masking, per-agent allowlists and the audit trail live in a workspace.

Put the check where your agent's SQL goes

Same engine, same rules, three places. All three run without an account, on your machine or your CI runner.

  • AI agents

    Claude Code · Cursor · LangChain

    Local MCP or the TCP proxy, to PostgreSQL and MySQL/MariaDB

  • Your apps

    any driver or ORM

    The SDKs in all six dialects, or the TCP proxy

  • CI and migrations

    GitHub Actions · GitLab CI · dbt

    The CLI and check-sql, in all six dialects

Vericto

stmtDELETE FROM users;

parseParses it to an AST

ruleEvaluates the rules

verdictAllows, blocks with a fix, or masks

  • PostgreSQL
  • MySQL / MariaDB
  • Oracle
  • SQL Server
  • Snowflake
  • SQLite
  • Allowed. It goes on to the database.
  • Masked. It goes on with the sensitive columns redacted. Needs a linked workspace (Team or Enterprise). On Oracle and SQL Server a mask label blocks the query, and in CI it is only a suggestion.
  • Blocked. It goes back to the sender with the fix and never reaches the database.

In your coding agent

vericto-proxy mcp gives the agent two tools, execute_sql and check_sql. The connection string stays with the proxy. Save the URL of a read-only PostgreSQL role in ~/.config/vericto/db.url first.

claude mcp add vericto-db -- \
  docker run -i --rm --user "$(id -u):$(id -g)" \
    -v ~/.config/vericto/db.url:/run/secrets/db.url:ro \
    vericto/vericto-proxy:5.0.2 /usr/local/bin/vericto-proxy mcp --database-url-file /run/secrets/db.url

Real output · check_sql · vericto-proxy 5.0.2, local mode · November 15, 2026

BLOCKED: 1 of 1 statement must not ship as written.
- line 1 BLOCKED VERICTO-001 (critical): DELETE FROM users Fix: DELETE FROM users WHERE id = $1
Next: do not run it as written; apply the suggested fix, then call check_sql again with the corrected SQL.
Ruleset standard@5.0.0 · checked locally, no CI checks spent

On every pull request

The vericto/sql-check action (Apache-2.0) checks the .sql files a PR changes, on the runner, and annotates the finding on the diff.

on: pull_request
jobs:
  vericto:
    runs-on: ubuntu-latest
    steps:
      - uses: actions/checkout@v7
        with: { fetch-depth: 0 }
      - uses: vericto/sql-check@v1
        with: { offline: true, upload-sarif: false }

Real output · check-sql self-test log · excerpt

✖ test/fixtures/migrations/0002_cleanup.sql  BLOCKED  VERICTO-001 critical
    DeleteStmt > WhereClause = NULL
    fix: DELETE FROM users WHERE id = $1
##[error]Process completed with exit code 1.

In front of the database

The TCP proxy sits between your app and PostgreSQL or MySQL, and you point the connection string at it. A blocked statement stops at the proxy, and the agent reads the rule and the fix in the error.

Real output · psql through vericto-proxy 5.0.2 · November 15, 2026

-- your agent cleans up the test users
postgres=# DELETE FROM users;
ERROR:  Vericto blocked this query [VERICTO-001] — AST node: DeleteStmt > WhereClause = NULL. Suggestion: DELETE FROM users WHERE id = $1
-- it reads the rule and the fix, and retries
postgres=# DELETE FROM users WHERE id = 42;
DELETE 1

A workspace adds your own rules, column masking, per-agent access, the rule simulator and the signed audit trail. Also from the Python and Node SDKs and the runtime API, on all six dialects.

Every claim on this page comes with a way to check it

We don't show customer logos or testimonials yet, and we won't invent them. This is what you can verify today.

What we sayHow to check it
The check at the top of the page is the real engine.vericto-engine 5.1.0 compiled to WebAssembly. A test compares it, field by field, with npx @vericto/vericto-cli@2.3.0 check --offline --sql on 24 statements across the six dialects. The engine's code.
No AI in the decision.The same statement under the same rules always gets the same verdict. Change it above, type it back and compare. Every rule is in the engine's source.
0.08 ms added at the median on PostgreSQL, from 970 to 4,800 statements/s per 0.5 vCPU task (direct path: 0.30 to 0.32 ms)vericto-proxy 4.21.0 · enforce mode · 42 built-in rules · c7g (Graviton3) · 0.5 vCPU · TLS · October 31, 2026 Small statements, under these conditions. A measurement, not a guarantee. Benchmark, conditions and method. The harness to reproduce it (Apache-2.0).
Open source under AGPL-3.0 and Apache-2.0.Engine, proxy and CLI under the first; SDKs, the CI action and the benchmark harness under the second. The licenses, explained.
Agents have already deleted production data.Public incidents where an agent or an ORM command destroyed data, each with its sources and the rule that reports the statement. The documented incidents.
Listed where you already look for tools.The action on GitHub Marketplace; the com.vericto/mcp and com.vericto/vericto-proxy MCP servers on the MCP Registry.
Nothing hidden behind a form.Pricing · changelog · security · trust center.
  • postgresDELETE FROM users;BLOCKEDVERICTO-001
  • postgresSELECT id FROM orders LIMIT 5;ALLOWED
  • mysqlUPDATE users SET role = 'admin';BLOCKEDVERICTO-030
  • postgresSELECT * FROM users WHERE id = 1 OR 1 = 1;BLOCKEDVERICTO-090
  • postgresDELETE FROM users WHERE id = 42;ALLOWED
  • mysqlSELECT name, email FROM customers WHERE id = 7;FLAGGEDVERICTO-050
  • postgresTRUNCATE audit_log;BLOCKEDVERICTO-011
  • postgresALTER TABLE orders ADD COLUMN note text;ALLOWED
  • postgresGRANT ALL ON users TO agent;BLOCKEDVERICTO-082

The verdicts this page's engine (vericto-engine 5.1.0, standard rules) puts on these statements.

For security and platform teams

See what your agents try to do to your databases before you block anything

A 14-day observe-mode pilot: nothing is blocked, nothing changes for your developers, and at the end you get a signed report, with evidence for SOC 2 and ISO 27001 controls.

Say yes when the agent asks for production

The Free plan, with no credit card, gives you the dashboard, the query history and checks from MCP and CI. Teams add their own rules, masking, per-agent access and signed evidence for the auditor.