What it protects
- VERICTO-087, agent access (Team and Enterprise): an allowlist of tables and columns per identity, read or read-write. Start in observe, switch to enforce, and everything else is denied.
- VERICTO-085, sensitive columns (Team and Enterprise): at the proxy, a column tagged
maskreaches the agent masked and ablockone is not read. The Runtime API and MCP return the approved query (rewritten_query,approved_query), which your code must run instead of the original. - VERICTO-001, 042, 010 and 011: the destructive SQL an LLM generates from an ambiguous request.
- VERICTO-090: tautologies such as
OR 1=1, typical of an injected instruction. - VERICTO-050 and 051: SELECT without LIMIT or SELECT * without WHERE, flagged so you see which agents read whole tables.
The identity depends on the mode: at the proxy it is the session's database user; in the Runtime API and MCP, the API key. Use one user or one key per agent. The allowlist is enforced at the proxy; in the other modes it is a decision your code honours.
Latency and availability
Proxy: one network hop and the evaluation in its own process.
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.
Runtime API: one HTTP call per statement, before running it. We do not publish a figure for that round trip yet: measure it from your region. It has a safety limit of 100 requests per second per API key. MCP stays off the execution path, and each statement counts toward the validation quota.
The Runtime API, the Validation API and MCP run in Vericto Cloud, with a 99.5% SLA on Builder and 99.9% on Team and Enterprise (99.95% and 99.99% with a dedicated deployment). Service status is on the status page.
How to implement it
- Create a database user for the agent and connect it through the TCP proxy (Postgres or MySQL): the agent does not change, only its connection string.
- In the dashboard, create the agent's allowlist in observe, let it work and simulate the policy against its queries from the last 7 days.
- Tag the sensitive columns (email, card, ID number) with
maskorblock. - Switch the allowlist to enforce: whatever is outside it is blocked with VERICTO-087.
- Without a proxy (Oracle, SQL Server or an agent you cannot reconnect), call the Runtime API from the agent's SQL tool and run the query only if the answer is
200, usingrewritten_querywhen it comes. - For coding agents (Claude Code, Copilot, Kiro), connect the MCP server so they check the SQL with
check_sqlwhile they write it.
With the Python or Node SDK: vericto.langchain and vericto.llamaindex (Python 3.10+) and @vericto/sdk/langchain (LangChain.js) give the agent a SQL database that asks the Runtime API before every execution, with an API key with the proxy:evaluate scope. If Vericto blocks the query, it does not run and the agent gets the rule and the suggested fix; if it reads a masked column, it runs rewritten. Packages on PyPI and npm; code and documentation in vericto-python and vericto-node. LlamaIndex.TS has no integration yet.
pip install "vericto[langchain]" # or "vericto[llamaindex]"
npm install @vericto/sdk @langchain/classic @langchain/core typeorm
from langchain_community.agent_toolkits import SQLDatabaseToolkit, create_sql_agent
from vericto.langchain import VerictoSQLDatabase
db = VerictoSQLDatabase.from_uri("postgresql+psycopg://app@db/app") # every query is checked first
agent = create_sql_agent(llm, toolkit=SQLDatabaseToolkit(db=db, llm=llm))
When not to use this option
- As the only defence. Vericto is defence in depth: your database's roles, permissions and row-level security are still the first line. If the agent only reads a fixed set of data, a view or a read-only replica with its own role may be enough.
- To detect prompt injection. Vericto does not see the prompt: it limits what a successful injection can do with SQL.
- MCP as a control. An agent can ignore the verdict. To enforce the rules at runtime, use the proxy.
- Views, functions and triggers. Vericto does not know your schema: a view or a function over a table does not resolve to that table in the allowlist.
Plan availability
| Feature | Free | Builder | Team | Enterprise |
|---|---|---|---|---|
| TCP proxy (PostgreSQL and MySQL) | Yes | Yes | Yes | Yes |
| Runtime API | Yes | Yes | Yes | Yes |
| MCP (check_sql) | Yes | Yes | Yes | Yes |
| CLI and MCP validations | 1K per month | 10K per month | Unlimited | Unlimited |
| Per-agent allowlists (VERICTO-087) | — | — | Yes | Yes |
| Sensitive columns and masking (VERICTO-085) | — | — | Yes | Yes |
| Python and Node SDKs (LangChain; LlamaIndex in Python) | Yes | Yes | Yes | Yes |
Prices and every limit on Pricing.