Skip to content

Releases

5.2.0 - 2026-11-16

Choose a tag to compare

@github-actions github-actions released this 16 Nov 03:57
1109cb9

Release Notes

Hard mode for vericto-proxy mcp: MySQL and MariaDB, the URL in the OS
keychain, and a read-only check of the database role.
The agent gets
execute_sql and never the credential: the URL can live in the macOS
Keychain, Windows Credential Manager or the Linux Secret Service instead of a
file or the environment, and the server can refuse to start when its role can
write. Minor release (proposed 5.2.0): new settings, a new subcommand, a new
database; nothing that ran before changes.

Added

  • MySQL and MariaDB in vericto-proxy mcp (mysql://, mariadb://, or
    UPSTREAM_* with VERICTO_WIRE_PROTOCOL=mysql). execute_sql,
    describe_schema, check_sql and whoami work as on PostgreSQL: the
    evaluator in the MySQL dialect, one statement per call, the read tier only
    (statement class from sqlparser's MySQL tree, fail closed), every call in
    START TRANSACTION WITH CONSISTENT SNAPSHOT, READ ONLY that ends in
    ROLLBACK, the same row, byte, cell and time caps and the same output.
    The statement is sent exactly as evaluated with COM_STMT_PREPARE /
    COM_STMT_EXECUTE, ? params bound in order. Each call pins sql_mode
    (no ANSI_QUOTES, NO_BACKSLASH_ESCAPES or PIPES_AS_CONCAT), UTC and the
    timeouts (max_execution_time on MySQL, max_statement_time on MariaDB,
    KILL QUERY at the client-side deadline and on the kill switch). Refused on
    MySQL: executable comments (/*! */, /*M! */), optimizer hints
    (/*+ */), named parameters, :=, SELECT … INTO, locking reads,
    EXPLAIN ANALYZE, and MYSQL_DENIED_FUNCTIONS (get_lock, load_file,
    benchmark, sys_exec …). TLS verify-full by default off loopback, from
    ssl-mode, sslmode, ssl-ca, ssl-cert, ssl-key or sslaccept.
    docs/MCP.md, "MySQL and MariaDB".

  • --database-url-keychain <name> (VERICTO_MCP_DATABASE_URL_KEYCHAIN):
    the URL from the OS credential store, name (service vericto-proxy) or
    service/name. First in the precedence keychain, file, URL in the
    environment, UPSTREAM_*; the sources that lose are named in a warning.
    whoami.credential_source says which was used.

  • vericto-proxy mcp credential set|delete|test <name>: stores a URL read
    from stdin (hidden on a terminal, never echoed), removes it, or connects with
    it and reports the engine and the role check. One JSON object on stdout,
    documented exit codes (0, 1 usage, 2 no such entry, 3 the role can write
    with --require-read-only, 4 unreachable), for vericto guard install --hard.

  • The role check at startup: whether the database role can write
    (PostgreSQL: superuser, CREATEROLE, CREATEDB, write privileges on any
    table, CREATE on a schema or the database, pg_write_all_data, a hot
    standby; MySQL: SHOW GRANTS, read_only, super_read_only). A role that
    can write is a startup warning and the whoami notice
    database_role_can_write; whoami.database_role has the details.
    --require-read-only (VERICTO_MCP_REQUIRE_READ_ONLY=true) refuses to
    start unless the role is verified read-only.

  • docs/MCP.md: "Hard mode" (setup, threat model and the per-OS limits of the
    keychain), "MySQL and MariaDB", and "Read-only database roles" (PostgreSQL,
    MySQL, Supabase, Neon, PlanetScale, RDS).

  • The agent-environment warning also names MYSQL_PWD, MYSQL_PASSWORD,
    MYSQL_URL*, MARIADB_PASSWORD, PLANETSCALE_*, ~/.my.cnf and
    ~/.mylogin.cnf.

  • database_tls_unverified warning: with sslmode=require/prefer/allow (or MySQL REQUIRED/PREFERRED) to a host that is not loopback, mcp logs at startup and reports in whoami that the certificate is not verified, and points to sslmode=verify-full.

Dependencies

  • mysql_async 0.37 (already the MySQL driver of the tests) and its
    mysql_common, now in the binary: rustls on ring, no C zlib.
  • keyring 3.6 (macOS and Windows backends only) and rpassword 7. On Linux
    the Secret Service is reached through libsecret's secret-tool command, so
    the Linux binary still links only libc, libm and libgcc_s and the tree gains
    no D-Bus crate. The keychain feature (default) can be left out with
    --no-default-features.
  • foldhash (Zlib, through mysql_async's lru) is the first shipped crate
    under Zlib, which deny.toml already allowed; third-party/about.toml accepts it
    and THIRD_PARTY_LICENSES is regenerated.

Install vericto-proxy 5.2.0

Install prebuilt binaries via shell script

curl --proto '=https' --tlsv1.2 -LsSf https://github.com/vericto/vericto-proxy/releases/download/v5.2.0/vericto-proxy-installer.sh | sh

Install prebuilt binaries via Homebrew

brew install vericto/tap/vericto-proxy

Download vericto-proxy 5.2.0

File Platform Checksum
vericto-proxy-aarch64-apple-darwin.tar.xz Apple Silicon macOS checksum
vericto-proxy-x86_64-apple-darwin.tar.xz Intel macOS checksum
vericto-proxy-x86_64-pc-windows-msvc.zip x64 Windows checksum
vericto-proxy-aarch64-unknown-linux-gnu.tar.xz ARM64 Linux checksum
vericto-proxy-x86_64-unknown-linux-gnu.tar.xz x64 Linux checksum

Verifying GitHub Artifact Attestations

The artifacts in this release have attestations generated with GitHub Artifact Attestations. These can be verified by using the GitHub CLI:

gh attestation verify <file-path of downloaded artifact> --repo vericto/vericto-proxy

You can also download the attestation from GitHub and verify against that directly:

gh attestation verify <file-path of downloaded artifact> --bundle <file-path of downloaded attestation>

5.1.0 - 2026-11-15

Choose a tag to compare

@github-actions github-actions released this 15 Nov 23:37
df15145

Release Notes

Engine 5.1.0: whole-table WHERE clauses are blocked like a missing WHERE.
The proxy pins vericto-engine v5.1.0 (from v5.0.0). Its own code, settings,
protocols and telemetry format are unchanged, but some DELETE and UPDATE
statements that 5.0.2 forwarded are now rejected at the wire and by the MCP
server's check_sql. Minor release because verdicts change (as 4.2.0 and
4.23.0).

Behaviour changes

  • A DELETE / UPDATE whose WHERE keeps every row of its own target is
    now blocked
    , by the rules that already block a missing or always-true
    WHERE: VERICTO-003 for DELETE, VERICTO-030 (and VERICTO-042) for
    UPDATE, all Critical / Block in the built-in ruleset. On PostgreSQL and
    MySQL, simple and prepared statements:

    • c IN (SELECT c FROM <same table>) and c = ANY (SELECT c FROM <same table>);
    • EXISTS (SELECT … FROM <same table>);
    • complementary IS tests on one column, such as
      email IS NULL OR email IS NOT NULL.

    The engine decides this only for a single plain target whose subquery reads
    the same table with no filter, grouping, limit, join or CTE, so
    id IN (SELECT id FROM users WHERE banned),
    id IN (SELECT user_id FROM orders) and a IS NULL OR b IS NOT NULL are
    still forwarded. A workload that relies on such a statement to empty a table
    on purpose now gets the protocol's native error; trial 5.1.0 with
    monitor_mode, or approve the operation through the workspace policy rather
    than through a filter that filters nothing.

  • DROP DATABASE also reports VERICTO-012. Engine 5.1.0 renames
    VERICTO-012 "DROP SCHEMA / DATABASE" and extends it to DROP DATABASE, which
    still matches VERICTO-010. The statement was already blocked (VERICTO-010 is
    still the winner and the reported rule_code); its violation list, telemetry
    event and check_sql findings now carry both codes. A workspace that disabled
    VERICTO-010 but keeps VERICTO-012 now blocks DROP DATABASE.

  • No change for TRUNCATE, DROP SCHEMA and DROP DATABASE otherwise.
    Engine 5.1.0 moves VERICTO-011 and VERICTO-012 from the SchemaMigration
    class to DataMutation, so a CI channel's schema_migration_cap no longer
    softens them. The proxy never sets that cap (the TCP proxy and the MCP
    server are runtime channels), so these statements were already blocked and
    still are.

  • SQL Server DELETE TOP (n) / UPDATE TOP (n) now parse in the engine. The
    proxy serves the PostgreSQL and MySQL wire protocols only, so it never
    evaluates T-SQL; nothing changes here.

Added

  • Dependabot keeps THIRD_PARTY_LICENSES current. A new workflow
    (.github/workflows/dependabot-notices.yml) rebuilds the file on Dependabot
    pull requests that change Cargo.lock, with the same script and cargo-about
    0.9.2 as CI, and commits it to the Dependabot branch, so the
    "THIRD_PARTY_LICENSES is current" check passes without a manual step. It pushes
    with the Dependabot secret NOTICES_PUSH_TOKEN (a fine-grained token limited
    to this repository, Contents: read and write), because a commit pushed with
    GITHUB_TOKEN would not start the required checks.

Changed

  • vericto-engine v5.0.0 → v5.1.0 (Cargo.toml, Cargo.lock). The built-in
    ruleset is still the engine's standard_rules(): same codes, severities and
    default actions, so the proxy keeps no rule titles of its own to rename. A
    new test (engine_5_1_0_verdicts_on_the_wire_dialects) pins the verdicts
    above on both wire dialects.
  • README "What it blocks" names whole-table WHERE clauses and
    DROP DATABASE; README, docs/MCP.md, NOTICE and LICENSING.md name 5.1.0
    (image tags, installer URLs, the pinned engine version).
  • Dependencies: flate2 1.1.10 → 1.1.11 and arc-swap 1.9.3 → 1.9.5
    (Cargo.lock only), with THIRD_PARTY_LICENSES regenerated. The engine bump
    changes no other crate; THIRD_PARTY_LICENSES is regenerated for the engine
    and proxy versions.

Fixed

  • The regenerated THIRD_PARTY_LICENSES commit passes the CLA check. The
    Dependabot notices workflow now authors it as the maintainer account that owns
    NOTICES_PUSH_TOKEN. As dependabot[bot] it was an unsigned bot commit, which
    the CLA check rejects.

Install vericto-proxy 5.1.0

Install prebuilt binaries via shell script

curl --proto '=https' --tlsv1.2 -LsSf https://github.com/vericto/vericto-proxy/releases/download/v5.1.0/vericto-proxy-installer.sh | sh

Install prebuilt binaries via Homebrew

brew install vericto/tap/vericto-proxy

Download vericto-proxy 5.1.0

File Platform Checksum
vericto-proxy-aarch64-apple-darwin.tar.xz Apple Silicon macOS checksum
vericto-proxy-x86_64-apple-darwin.tar.xz Intel macOS checksum
vericto-proxy-x86_64-pc-windows-msvc.zip x64 Windows checksum
vericto-proxy-aarch64-unknown-linux-gnu.tar.xz ARM64 Linux checksum
vericto-proxy-x86_64-unknown-linux-gnu.tar.xz x64 Linux checksum

Verifying GitHub Artifact Attestations

The artifacts in this release have attestations generated with GitHub Artifact Attestations. These can be verified by using the GitHub CLI:

gh attestation verify <file-path of downloaded artifact> --repo vericto/vericto-proxy

You can also download the attestation from GitHub and verify against that directly:

gh attestation verify <file-path of downloaded artifact> --bundle <file-path of downloaded attestation>

5.0.2 - 2026-11-14

Choose a tag to compare

@github-actions github-actions released this 15 Nov 03:46
e7cb0d3

Release Notes

Maintenance release: Homebrew formula vericto/tap/vericto-proxy. The
proxy's rules, configuration, protocols and telemetry are 5.0.1's, and it still
pins vericto-engine 5.0.0. No other change was merged after v5.0.1.

Added

  • Homebrew formula vericto-proxy in the
    vericto/homebrew-tap tap, next to
    the CLI's vericto: brew install vericto/tap/vericto-proxy on macOS
    (Apple silicon and Intel) and Linux (arm64 and x86_64, the glibc archives).
    cargo-dist generates it with every release (installers = ["shell", "homebrew"], formula = "vericto-proxy"), pinned to the SHA-256 of the four
    archives. A custom publish job (.github/workflows/homebrew-publish.yml, as
    in vericto-cli) adds a test do block, checks every URL and SHA-256 against
    the release's sha256.sum and pushes the formula to the tap. It runs in the
    reviewer-gated prod environment, which holds HOMEBREW_TAP_TOKEN; the
    GitHub release is announced only after it succeeds.
  • vericto-proxy --version (and -V) prints vericto-proxy <version> on
    stdout and exits without starting the proxy (the formula's test runs it).
    Before, any argument other than healthcheck and mcp was ignored and the
    proxy started. vericto-proxy mcp --version is unchanged (stderr).
  • README "Install the native binary" and docs/MCP.md install with Homebrew.
    There is no npm package.

Changed

  • Cargo.toml metadata, which the formula takes its desc and homepage
    from: description is "Database guardrails for AI agents: TCP proxy and MCP
    server that check SQL" (under Homebrew's 80 characters) and homepage is
    https://vericto.com.

Install vericto-proxy 5.0.2

Install prebuilt binaries via shell script

curl --proto '=https' --tlsv1.2 -LsSf https://github.com/vericto/vericto-proxy/releases/download/v5.0.2/vericto-proxy-installer.sh | sh

Install prebuilt binaries via Homebrew

brew install vericto/tap/vericto-proxy

Download vericto-proxy 5.0.2

File Platform Checksum
vericto-proxy-aarch64-apple-darwin.tar.xz Apple Silicon macOS checksum
vericto-proxy-x86_64-apple-darwin.tar.xz Intel macOS checksum
vericto-proxy-x86_64-pc-windows-msvc.zip x64 Windows checksum
vericto-proxy-aarch64-unknown-linux-gnu.tar.xz ARM64 Linux checksum
vericto-proxy-x86_64-unknown-linux-gnu.tar.xz x64 Linux checksum

Verifying GitHub Artifact Attestations

The artifacts in this release have attestations generated with GitHub Artifact Attestations. These can be verified by using the GitHub CLI:

gh attestation verify <file-path of downloaded artifact> --repo vericto/vericto-proxy

You can also download the attestation from GitHub and verify against that directly:

gh attestation verify <file-path of downloaded artifact> --bundle <file-path of downloaded attestation>

5.0.1 - 2026-11-12

Choose a tag to compare

@github-actions github-actions released this 13 Nov 03:22
a48b6bf

Release Notes

Maintenance release: native binaries in every GitHub Release. The proxy's
code, rules, configuration, protocols and telemetry are 5.0.0's, and it still
pins vericto-engine 5.0.0. What changes is how it is shipped.

Added

  • Prebuilt binaries attached to the GitHub Release, built by cargo-dist
    0.32.0 (dist-workspace.toml, the same setup as vericto-cli) for
    x86_64-unknown-linux-gnu, aarch64-unknown-linux-gnu (glibc 2.35 or later),
    x86_64-apple-darwin, aarch64-apple-darwin and x86_64-pc-windows-msvc.
    Each archive (.tar.xz, .zip on Windows) carries the binary with LICENSE,
    NOTICE, THIRD_PARTY_LICENSES, LICENSE_HISTORY.md, the README and this
    CHANGELOG, and has a .sha256 file (all listed in sha256.sum) and a Sigstore
    build provenance attestation:
    gh attestation verify <archive> --repo vericto/vericto-proxy. Up to 5.0.0 the
    release had no binaries, so only a source build or the container image could
    run vericto-proxy (and vericto-proxy mcp) as a native command.
  • vericto-proxy-installer.sh for Linux and macOS: picks the archive for the
    machine, checks its SHA-256 and installs vericto-proxy in $CARGO_HOME/bin
    (~/.cargo/bin). No PowerShell installer: cargo-dist's does not verify what it
    downloads.
  • THIRD_PARTY_LICENSES is committed at the repository root for every
    release target (third-party/about.toml lists the five; it listed only the
    two Linux ones), and a CI job (notices) fails when it does not match what
    third-party/build-notices.sh writes for Cargo.lock. The image build still
    generates its own copy from the same configuration.
  • README "Install the native binary" and docs/MCP.md set up vericto-proxy mcp
    from the release binary, without Docker. Homebrew and npm packages are still
    planned.

Changed

  • Runtime base image: cgr.dev/chainguard/glibc-dynamic:latest@sha256:cb7aa468…983409eb
    (after #105's aab5cd0b…37b65399), from 671a6210…9b14af53: glibc 2.44-r16
    (was r10; r16 fixes CVE-2026-84243), libgcc and libstdc++ 16.2.0-r3 and
    wolfi-baselayout 20230201-r31; same packages and licenses
    (third-party/runtime-base.txt, whose digest is now the pinned one; it still
    named 5bb93266… in 5.0.0). Dockerfile.local moves with it.
  • The image pipeline is .github/workflows/docker.yml (it was
    release.yml), unchanged in what it does: metadata gate, PGO training, Grype
    scan, SBOM and provenance attestations, GHCR and the Docker Hub mirror.
    release.yml is now generated by cargo-dist and Dependabot leaves it alone;
    its action pins live in dist-workspace.toml. Pull requests run it as a
    release dry run that builds every target.
  • The release binaries are the plain release build ([profile.dist] inherits
    [profile.release]). The image keeps the PGO build (docs/PERFORMANCE.md).
  • CI actions: actions/github-script 9.0.0 (#108), docker/login-action 4.8.0
    (#107), taiki-e/install-action 2.90.2 (#106).

Upgrading

  • Nothing to change for the image: vericto/vericto-proxy:5.0.1 (or 5.0,
    5) is a drop-in replacement for 5.0.0.
  • Verify an image's provenance as before; the attestation now names
    .github/workflows/docker.yml as the workflow.

Install vericto-proxy 5.0.1

Install prebuilt binaries via shell script

curl --proto '=https' --tlsv1.2 -LsSf https://github.com/vericto/vericto-proxy/releases/download/v5.0.1/vericto-proxy-installer.sh | sh

Download vericto-proxy 5.0.1

File Platform Checksum
vericto-proxy-aarch64-apple-darwin.tar.xz Apple Silicon macOS checksum
vericto-proxy-x86_64-apple-darwin.tar.xz Intel macOS checksum
vericto-proxy-x86_64-pc-windows-msvc.zip x64 Windows checksum
vericto-proxy-aarch64-unknown-linux-gnu.tar.xz ARM64 Linux checksum
vericto-proxy-x86_64-unknown-linux-gnu.tar.xz x64 Linux checksum

Verifying GitHub Artifact Attestations

The artifacts in this release have attestations generated with GitHub Artifact Attestations. These can be verified by using the GitHub CLI:

gh attestation verify <file-path of downloaded artifact> --repo vericto/vericto-proxy

You can also download the attestation from GitHub and verify against that directly:

gh attestation verify <file-path of downloaded artifact> --bundle <file-path of downloaded attestation>

v5.0.0

Choose a tag to compare

@vericto-admin vericto-admin released this 03 Nov 23:53
62aed43

[5.0.0] - 2026-11-03

Changed

  • License and major version. Version 5.0.0 and later is available under the
    GNU Affero General Public License, version 3 only (AGPL-3.0-only), or under
    a separate commercial license from Vericto S.A.S. LICENSE is the official
    AGPL text, unmodified. Versions 4.14.0 through 4.23.0 retain FSL-1.1-ALv2 and
    its future Apache-2.0 grant; versions 4.13.0 and earlier retain Elastic-2.0.
    Proxy behavior, protocols, configuration and telemetry are unchanged.
  • LICENSE_HISTORY.md records the tag and SHA of the last FSL release and the
    documented public dates used for its future-license schedule. Tag v5.0.0
    will identify the first AGPL release.
  • Version 5.0.0 pins vericto-engine 5.0.0. Both Vericto crates use
    AGPL-3.0-only in their public metadata and generated image notices.
  • Cargo.toml, image metadata and source headers declare AGPL-3.0-only.
    NOTICE, LICENSING.md, README, CONTRIBUTING and TRADEMARKS describe the
    new license without changing the AGPL text.
  • CLA 1.1 aligns the contribution grant with dual licensing, the actual GitHub
    comment-signature workflow, moral-right consent, enforcement cooperation,
    employer authorization and AI-assisted contributions. CLA 1.0 is preserved;
    new signatures use a separate v1.1 record.
  • deny.toml and third-party/about.toml allow AGPL-3.0-only only for
    vericto-proxy and vericto-engine. Third-party copyleft or source-available
    dependencies remain blocked from the commercially licensed binary.

v4.23.0

Choose a tag to compare

@vericto-admin vericto-admin released this 01 Nov 20:34
68f7272

[4.23.0] - 2026-10-31

Engine 4.7: existing rules catch the same destructive operation through more
equivalent SQL forms.
The proxy pins vericto-engine v4.7.1 (from v4.6.0). No rule,
severity or policy default changes, and the proxy's own code, settings, protocols and
telemetry are unchanged, but some statements that 4.22.0 forwarded are now flagged or
blocked by the rule they always should have matched. Minor release because verdicts
change.

Upgrade notes

  • dbt-snowflake's parenthesized incremental INSERT … (SELECT …) now matches
    VERICTO-040, and SQL Server SELECT … INTO #temp matches VERICTO-084. Both copy
    rows by design. Trial 4.23.0 with monitor_mode, then set the affected rule action
    explicitly if those copies are approved workflow operations.
  • An optional-filter expression rendered with a literal NULL branch, such as
    status = 'active' OR NULL IS NULL, now matches VERICTO-090 because it is
    unconditionally true. Keep runtime values as bind parameters when the branch is
    data-dependent; approve intentional all-row operations through policy rather than
    disguising them as a filter.
  • Business policies (CEL, preview): uint() of a negative double in (-1, 0), such as
    uint(-0.5), is now a range error, as uint(-1.0) already was; earlier releases
    returned 0u. A when / deny_if / require condition that reaches
    that case is now inconclusive, so the policy's on_unknown decides.

Engine 4.7.0

User-visible changes of vericto-engine 4.7.0 (engine CHANGELOG [4.7.0]), all of
which the proxy now enforces on both protocols and in MCP check_sql / execute_sql:

  • Constant predicates count as WHERE-less for VERICTO-003/030/042: NULL IS NULL,
    1 IS NOT NULL, NOT (1 IS NULL), (1=1) IS TRUE, TRUE IS TRUE,
    NULL IS UNKNOWN, 1 IS DISTINCT FROM NULL, NULL IS NOT DISTINCT FROM NULL.
    Inside an OR they reach VERICTO-090; on an INSERT … SELECT they are not a
    filter for VERICTO-040.
  • A known match makes a positive IN true: 1 IN (1, NULL) and 1 IN (1, id)
    no longer bypass those rules. 1 IN (2, id) and every NOT IN stay undecided.
  • VERICTO-084 covers table-copy syntax on every parser path: MySQL and Oracle
    CREATE TABLE … AS SELECT …, PostgreSQL / SQL Server SELECT … INTO <table>, and
    materialized-view creation on the sqlparser dialects. MySQL SELECT … INTO @variable
    and ordinary views are not table copies.
  • VERICTO-040 covers set-operation, parenthesized and TABLE t sources:
    INSERT … SELECT … UNION SELECT … and INSERT … TABLE t on MySQL / Oracle /
    SQL Server / Snowflake. An enclosing limit, effective filters on every UNION arm,
    INTERSECT / EXCEPT, TOP and fixed-row Snowflake SAMPLE keep the source bounded;
    literal VALUES inside parentheses or set operations stay VALUES inserts.
  • VERICTO-061 counts parenthesized VALUES batches above its 10,000-row threshold.
  • VERICTO-070 and custom func_name rules see every executed expression: a
    sleep-family call can no longer hide in JOIN … ON, GROUP BY / HAVING,
    ORDER BY, UPDATE … SET, INSERT … VALUES, window clauses, RETURNING,
    ON CONFLICT, MySQL SET, prepared statement bodies, PostgreSQL expression
    wrappers or a nested query. EXPLAIN ANALYZE is inspected; plain EXPLAIN is not.
  • VERICTO-051 treats a qualified wildcard (t.*) as SELECT *.
  • False-positive controls stay narrow: no function, arithmetic, correlated-subquery
    or row-dependent folding, so id IS NOT NULL, name LIKE '%', 1 IN (2, id) and
    NOT IN remain real filters.

Engine 4.7.1

  • The per-statement cost 4.7.0 added on the sqlparser path is recovered (MySQL,
    SQL Server, Oracle, Snowflake, SQLite): the complete expression walk visits the
    clauses statements are made of directly instead of running sqlparser's generic
    traversal over every node. Coverage and records are unchanged; on the MySQL perf-gate
    statements the engine is back to 4.6.0's instruction count.
  • CEL uint() of a negative double is a range error (see Upgrade notes).

Changed

  • vericto-engine v4.6.0 → v4.7.1 (git tag, 64e13ef). Cargo.lock changes only
    the engine entry; pg_query 6.2 and sqlparser 0.63 stay aligned with it. No
    public engine API the proxy uses changed, so no proxy code changes.
  • Image metadata for the official MCP Registry. Released images carry the label
    io.modelcontextprotocol.server.name=com.vericto/vericto-proxy, which the registry
    checks before it lists the vericto-proxy mcp server under that name, and the image
    description reads "Vericto: database guardrails for AI agents — deterministic AST
    parsing". A glama.json at the repository root names the maintainers for Glama's MCP
    directory. The install examples in the README and docs/MCP.md pin 4.23.0. The crate
    description (cargo metadata, crates listings) and the binary's module docs say
    "database guardrails for AI agents" instead of "SQL firewall".

v4.22.0

Choose a tag to compare

@vericto-admin vericto-admin released this 31 Oct 23:24
c96d9e1

[4.22.0] - 2026-10-31

Bounded parse cost before and after evaluation. The TCP proxy evaluates
statements up to 1 MiB by default (10 MiB before) and refuses, before any parser
runs, an expression with more than 10,000 binary operators. Log previews and
sanitized telemetry normalize a long statement on a stack sized for it. Ordinary
traffic is answered exactly as in 4.21.0.

Upgrade notes

  • Behavior change: the TCP default of VERICTO_MAX_QUERY_BYTES is 1 MiB, down
    from 10 MiB.
    A statement larger than 1 MiB that 4.21.0 evaluated is now refused
    before parsing with VERICTO-QUERY-TOO-LARGE: blocked under enforcement,
    forwarded unevaluated (and reported) under monitor_mode. Set
    VERICTO_MAX_QUERY_BYTES=10485760 to restore the previous value. MCP mode keeps
    its 64 KiB default.
  • Behavior change: long generated OR / CASE WHEN chains are refused before
    parsing.
    An expression with more than 10,000 binary operators outside
    parentheses (roughly 5,000 col = value OR … terms) is a VERICTO-PARSE-ERROR:
    blocked under fail-closed (parse_error: block, a block or mask sensitive-column
    policy, an enforced allowlist or an applicable enforced business policy),
    forwarded with a parse-error flag under the fail-open default. Raise
    VERICTO_MAX_BINARY_OPERATORS for reviewed SQL, or send such a list as
    col IN (…) or col = ANY($1), which the guard does not count as one chain.

Security

  • Linear pre-parse complexity guard. Before either SQL parser sees untrusted text,
    the proxy counts binary operators in each unparenthesized expression and stops at
    operator 10,001 by default (VERICTO_MAX_BINARY_OPERATORS). This bounds a
    left-associative expression whose parse time grows quadratically, independently of
    statement size. Strings, quoted identifiers and ordinary comments do not count;
    MySQL executable comments do. A refusal is VERICTO-PARSE-ERROR, so the existing
    fail-closed / fail-open policy decides whether it is blocked or forwarded with a flag.
    Both TCP protocols and MCP check_sql / execute_sql use the guard. Telemetry
    and the block log report a refusal by the statement's size only, never its text.
    A refusal is recognized by the guard's exact message, so an ordinary parse error
    that quotes the guard's wording is reported as the parse error it is.
  • Bound the stack used by log previews and sanitized telemetry. The block log's
    query_preview and sanitized telemetry normalize a PostgreSQL statement with
    libpg_query, which needs stack in proportion to the statement's depth. A
    statement longer than 1 KiB is now normalized on a thread whose stack is sized
    for its length, as its evaluation already was, instead of on an async worker
    (8 MiB) or the telemetry builder thread (2 MiB); shorter statements are
    unchanged. A statement the complexity guard refused is never normalized: the log
    names only its size, as telemetry already did. Logs and events still carry no
    literal, and text that cannot be normalized is still the fixed redaction marker.
    MySQL text is sanitized by a linear, non-recursive tokenizer and is unchanged.

Changed

  • The TCP default of VERICTO_MAX_QUERY_BYTES is 1 MiB, down from 10 MiB (see
    Upgrade notes). Ordinary ORM traffic, migrations and analytical queries fit; a
    batch loader or generated query that legitimately needs more can raise the
    variable up to the protocol cap.

v4.21.0

Choose a tag to compare

@vericto-admin vericto-admin released this 31 Oct 04:28
e2d56e6

[4.21.0] - 2026-10-30

MCP Proxy mode: an agent runs SQL through Vericto, and what is checked is what
runs.
vericto-proxy mcp is an MCP server in the same binary and image. An AI agent
(Claude Code, Cursor, Codex, any MCP client) gets execute_sql and no database
credential: every statement is evaluated against the workspace's rules, masks,
allowlists and business policies, and the server runs exactly the bytes it evaluated
(or the policy's own rewrite) on PostgreSQL, read-only, with row, size and time caps.
This is milestone M1 of the design "MCP execution modes" (vericto-fmw
docs/design/mcp-proxy-mode.md, revision 3.1), the read tier only. The TCP proxy
answers every statement exactly as in 4.20.0. See docs/MCP.md.

Added

  • vericto-proxy mcp (src/mcp/), over stdio (the default; stdout carries
    JSON-RPC only and every log line goes to stderr; the process exits when stdin
    closes) or stateless Streamable HTTP (--transport http, POST /mcp, 127.0.0.1:8808
    by default). One PostgreSQL database per process; the TCP listener is off in this
    mode. Every VERICTO_MCP_* setting is also a flag (vericto-proxy mcp --help).
  • execute_sql, the exact-text guarantee (design §7). One statement per call (a
    second one, a NUL byte, an empty or oversized statement, or params that do not match
    $1…$n is INVALID_INPUT before evaluation); evaluation under one snapshot with the
    MCP identity as the principal; the evaluator's bytes, or its mask / LIMIT rewrite,
    sent as one unnamed Parse with the values in Bind, inside
    BEGIN TRANSACTION ISOLATION LEVEL REPEATABLE READ, READ ONLY with SET LOCAL
    timeouts and pinned settings, ending in ROLLBACK every time. The PostgreSQL client is
    the low-level postgres-protocol crate on the proxy's own connect_upstream (TLS
    verify-full by default for any host that is not loopback; SCRAM-SHA-256; MD5 only with
    VERICTO_MCP_ALLOW_MD5; no driver-issued catalog lookups). The only SQL of its own is
    in src/mcp/control.rs, with a test that fails if SQL appears anywhere else.
  • The read tier, enforced twice (§8.4, §9.1): the statement class from the parse
    tree (reads only; a data-modifying WITH anywhere raises the tier; a statement the
    parser cannot read is refused whatever the parse-error policy), a denylist of
    side-effect functions found anywhere in the tree (pg_terminate_backend,
    set_config, dblink*, lo_*, query_to_xml*, table_to_xml*, nextval …), and the
    READ ONLY transaction. Above read: TIER_NOT_ENABLED; never-run statements (SET,
    COPY, DO …): INVALID_INPUT.
  • Bounded results (§8): rows (200, cap 1000; fetched with Execute{max_rows+1}),
    serialized bytes (256 KiB, cap 1 MiB), bytes per value (8 KiB, cap 64 KiB), statement
    time (15 s, cap 60 s), lock wait (2 s), each cut said in truncated, the text and a
    refine_query next step; values converted by type (int8/numeric as exact strings,
    JSON as JSON, arrays as arrays, bytea as base64 with its length). A connection that
    broke or is not idle after a call is never reused (VERICTO_MCP_POOL_SIZE, default 4).
  • Database errors sanitized (VERICTO_MCP_RESULT_DETAIL=sanitized, §15 T5):
    DETAIL, HINT, WHERE, CONTEXT dropped and quoted values redacted for SQLSTATE
    classes 21, 22, 23 and P0, so a cast cannot print a masked value.
  • describe_schema (tables, columns, keys from fixed catalog queries; masked and
    blocked columns marked; filtered by an enforced allowlist), a local check_sql
    (the hosted tool's answer, evaluated here, no CI checks spent, events
    execution_status: dry_run), whoami with the execution block, and, with the
    control-plane link, list_rules/show_rule from the signed bundle.
  • The contract shared with the control plane in tests/mcp-contract/ (vendored from
    vericto-fmw PR #543; this repository is its home from now on, design §6.9): input,
    output, the 42 outcomes and their exact next steps, error codes, whoami.execution,
    ingest events and the sync section, all asserted by src/mcp/protocol_tests.rs.
  • Signed rule sync in mcp mode (§7.5, §11.2): every bundle must carry a valid
    signature whatever VERICTO_POLICY_RULES says (it defaults to enforce there; off is
    refused); the sync sends X-Vericto-Proxy-Mode: mcp and polls every 30 s by default;
    execute_sql answers NOT_READY until a signed bundle (or the verified rules cache)
    is in force (VERICTO_MCP_REQUIRE_CONTROL_PLANE). The bundle's mcp section (tiers,
    limits that can only lower this process's, the key's own kill-switch block, and the
    agent keys by SHA-256) is read fail-safe.
  • HTTP authentication and guards (§5.4): Host/Origin validated before
    authentication (VERICTO_MCP_ALLOWED_HOSTS, VERICTO_MCP_ALLOWED_ORIGINS), a bearer
    token mandatory also on loopback (the bundle's agent keys, or
    VERICTO_MCP_AUTH_TOKENS_FILE), TLS (PROXY_TLS_MODE=require) or
    VERICTO_MCP_ALLOW_PLAINTEXT_HTTP for a non-loopback listener, a bounded body and a
    header read timeout. The kill switch applies by key, by database user and to the
    workspace, and cancels a statement already running.
  • Credentials (§12.1): VERICTO_MCP_DATABASE_URL_FILE (preferred),
    VERICTO_MCP_DATABASE_URL (warned about) or UPSTREAM_*; --database-url is refused;
    the password never prints. At startup, and in whoami, the server warns
    (agent_environment_has_db_credentials) when its environment also exposes a database
    credential (DATABASE_URL*, PGPASSWORD, POSTGRES_URL*, SUPABASE_DB_*, NEON_*,
    ~/.pgpass, a secret file other users can read).
  • Telemetry (§14): one event per call, refused ones included, source: mcp_proxy,
    with execution_status, tier, rows_returned, bytes_returned, truncated,
    sqlstate, execution_ms, mcp_client_name/version, statement_sha256 and, over
    HTTP, api_key_id; counts and hashes only, never a result value. Input refused before
    evaluation is status: INVALID with its hash. An ingest that refuses the new source is
    sent the same events as source: mcp (once detected, for the life of the process).
  • A principal signal mcp_credential (strong) in the principals section, matched by
    the key an MCP call presents; a TCP session never has one.
  • Try it without an account: the local mode. With none of VERICTO_API_URL,
    VERICTO_API_KEY and VERICTO_DATABASE_ID set, vericto-proxy mcp starts on the
    built-in ruleset the TCP proxy runs standalone, read tier only, with every safety of a
    linked server (exact text, read-only twice, limits, sanitized errors, TLS
    verify-full), and sends nothing anywhere (no event, heartbeat or sync). The startup
    log says so (mode=local); whoami reports control_plane.mode: "none",
    control_plane.ruleset: "built-in" and control_plane.reporting: false (new fields,
    also ruleset: "signed_bundle", "rules_cache", or "none" while NOT_READY when
    linked; whoami-execution.json gains proxy_unlinked_control_plane and
    control_plane_values); the server instructions and whoami say once that an account
    adds custom rules, business policies, sensitive-column masking, audit and the
    dashboard. There is no dashboard kill switch in this mode. docs/MCP.md starts with a
    quick start without an account (Claude Code, Cursor, Codex; Docker or a source build),
    then "Connect to Vericto".

Security

  • A configured control plane is never replaced by the built-in rules in mcp mode.
    VERICTO_API_KEY links the server (VERICTO_DATABASE_ID optional, as on the TCP
    path); it then answers NOT_READY until a signed bundle or the verified rules cache is
    in force, also when the control plane is unreachable or a bundle fails the signature
    check. VERICTO_API_URL or VERICTO_DATABASE_ID without a key, a key with an empty
    VERICTO_API_URL, and VERICTO_MCP_REQUIRE_CONTROL_PLANE=true without a key are
    startup errors (the TCP proxy keeps its behaviour: it runs standalone).

  • HTTP without a control plane needs bearer tokens: --transport http in the local
    mode does not start unless VERICTO_MCP_AUTH_TOKENS_FILE lists at least one token
    (before, it started and refused every request).

  • Parsing on a large stack. In mcp mode every parse of agent text runs on a thread
    with a large stack (reserved, committed as touched), at most 8 at a time, and
    statements are limited to 64 KiB by default (at most 1 MiB), so a deeply nested
    statement cannot exhaust a worker's stack.

  • TCP proxy: evaluation of very large statements runs on threads with enough
    stack.
    A statement over VERICTO_INLINE_EVAL_MAX_BYTES is evaluated on a thread
    of its own whose stack is sized from the statement's length (reserved address space,
    committed only as a deep parse touches it), two per CPU at a time, at least 8,
    instead of on the blocking pool's 2 MiB threads; the async runtime's threads get an
    8 MiB stack. Verdicts are unchanged. A statement that could not be given a thread is
    not forwarded and its session ends.

Changed

  • TelemetryEvent gains optional MCP fields (omitted on every TCP event, so a TCP
    event's JSON is what 4.20.0 sent); the principal map, the rule sync and the telemetry
    reporter gain the hooks mcp mode uses, each a no-op on the TCP path.
  • VERICTO_INLINE_EVAL_MAX_BYTES is at most 4096: a larger value is used as 4096, with a
    warning (a statement evaluated inline uses the worker's stack). The default (1024) is
    unchanged.

Dependencies

  • postgres-protocol 0.6 (MIT OR Apache-2.0; already in the tree as a dependency of the
    tokio-postgres dev-dependency), and the server half of hyper 1 with hyper-util
    and http-body-util (MIT; already compiled in as reqwest's client). Newly shipped
    transitive crates are MIT, Apache-2.0 or Unicode-3.0 licensed (cargo-den...
Read more

v4.20.0

Choose a tag to compare

@vericto-admin vericto-admin released this 28 Oct 21:09
132a60b

[4.20.0] - 2026-10-27

The proxy says when the database is a newer PostgreSQL than its parser. The
engine reads PostgreSQL with the PostgreSQL 17 parser; a PostgreSQL 18 database
accepts syntax that parser cannot read, which the proxy handles as a parse error.
The proxy now compares the server_version the database reports with the parser's
version and, when the database is newer, logs one warning per upstream and shows
it on /metrics and in the rule-sync heartbeat. Observability only: every
statement is answered exactly as in 4.19.0, and nothing runs per statement.

Added

  • A warning when the database is a newer PostgreSQL than the parser
    (src/tcp/upstream_version.rs). The engine parses PostgreSQL with libpg_query,
    the grammar of one major version (17 with pg_query 6.x); a newer database
    accepts syntax it cannot read, and such a statement is a parse error
    (VERICTO-PARSE-ERROR: refused when parse errors fail closed, forwarded and
    flagged under the fail-open default). The proxy now reads the server_version
    the database sends at startup and, when its major is newer than the parser's
    (read from pg_query itself, not a constant), logs one warning per upstream
    host:port for the life of the process, under alert="upstream_newer_than_parser"
    with server_version, server_major and parser_major; again only for a still
    newer major. Equal and older versions, and a server_version that cannot be
    read, are logged at debug. The same state is in /metrics
    (vericto_proxy_upstream_newer_than_parser,
    vericto_proxy_upstream_server_major_version, vericto_proxy_parser_major_version)
    and in the rule-sync heartbeat (X-Vericto-Telemetry-Stats, new field
    upstream; v stays 1), so the dashboard can show it. MySQL: the greeting's
    server version is recorded there too and logged at debug, with no comparison
    (sqlparser has no grammar per server version). Observability only: no verdict
    and no relayed byte changes, the check runs once per connection during startup
    and never per statement, and the table holds at most 16 upstreams. No new
    setting. See docs/CONFIGURATION.md.

Performance

  • PostgreSQL: a message the client read already holds is framed without an
    allocation.
    The interception loop read every frontend message through the
    protocol trait's async read, whose future is boxed: one allocation and one free
    per message. Under mimalloc (4.19.0's allocator) that alternation misses the
    allocator's fast path every time, so a prepared statement's Bind, Execute
    and Sync cost more than under glibc, and the CI performance gate measured
    pg oltp_prepared at +3.6% instructions per statement over 4.18.0 on x86_64.
    The loop now frames a message the read buffer holds whole directly; only the
    first message of a client read goes through the async read. Nothing read,
    relayed or answered changes.

[4.19.0] - 2026-10-26

Less CPU per statement, with nothing answered differently. A statement is
evaluated on its connection's task instead of being handed to the blocking pool
and back, the trivial statements of every transaction (BEGIN, COMMIT,
SELECT 1…) reuse the decision their session's full evaluation reached for them,
sanitized telemetry is built off the query path, the allocator is mimalloc, MySQL
reads a command in one system call, the database hop keeps one TLS configuration
(and resumes MySQL sessions), and the published images are built with
profile-guided optimization. Every change keeps verdicts, forwarded bytes and
telemetry as they were (the per-change tests say how), and a new CI gate fails a
pull request that costs more than 3% more instructions per statement on any of
15 workloads, or answers any statement of its corpus differently. Measured
against 4.18.0 with that gate (callgrind, linux/arm64, one worker, same corpus):

workload PostgreSQL MySQL
trivial (BEGIN, SELECT 1, COMMIT) -87.5% -82.0%
TPC-B transaction, text / extended protocol -13.5% / -13.3% -27.8% (text)
TPC-B, prepared statements +0.3% -63.7%
2,000-row result -3.2% -19.3%
a connection per statement -12.9% -17.0%
policy mix, control plane on, sanitized telemetry -15.5% -28.8%
trivial with the control plane on -12.8% -19.3%

With the release images' profile-guided optimization on top: -89.2% / -16.0% /
-16.1% / -15.4% / -8.6% / -15.8% / -18.5% / -17.7% on PostgreSQL and -84.5% /
-37.2% / -69.4% / -27.6% / -22.2% / -39.6% / -25.8% on MySQL, in the same order.
System calls per statement: 9.9 -> 6.0 (PostgreSQL), 12.0 -> 6.0 (MySQL). Every
statement of the corpus is answered exactly as 4.18.0 answers it (equal outcome
digests on all 15 workloads). Instruction counts leave out the kernel, memory
stalls and contention: the CPU per transaction on the EC2 bench is the release
criterion.

Performance

  • Statements up to 1 KiB are evaluated on the connection's task, not on the
    blocking pool
    (VERICTO_INLINE_EVAL_MAX_BYTES, default 1024; 0 = every
    statement on the pool, as up to 4.18.0). The pool cost two thread hand-offs per
    statement: system calls per statement 9.9 -> 6.0 on PostgreSQL and 12.0 -> 8.0 on
    MySQL (strace -f -c), user-space instructions -2.5% to -7.9% (callgrind gate),
    and proxy CPU per transaction -26% (pgbench select-only, extended, 8 clients, one
    worker; -33% with 1 client) and -41% (sysbench point select, MySQL text) in
    interleaved local runs. Verdicts, forwarded bytes and telemetry are the same
    either way (inline_and_pool_evaluation_give_the_same_outcome). The check of the
    StartupMessage's settings takes the same way, so a connection no longer hands
    its start-up to the pool either (futex calls per PostgreSQL connection 6 -> 4).
  • Trivial statements reuse their session's earlier decision
    (VERICTO_TRIVIAL_FAST_PATH, default on; src/tcp/fast_path.rs). BEGIN,
    COMMIT, ROLLBACK, END, START TRANSACTION, SELECT 1, SET autocommit=0/1
    and SET NAMES utf8mb4 (after trimming ASCII whitespace and one trailing ;,
    any ASCII case) are evaluated in full the first time a session sends them; the
    same bytes, sent the same way, under the same ruleset and effective policy
    (the same Arcs, held so they cannot be reused) then get that decision without a
    parse. Never under business policy rules. A cache of the engine's own answer
    (evaluation is a pure function of the statement, the rules and the policy), not
    a table of verdicts: fast_path_tests sends every entry and thirty near misses
    (comments, BEGIN; DROP …, whitespace, case, Unicode look-alikes, SET ROLE,
    SET SESSION AUTHORIZATION…) twice through a session with and one without it,
    under the built-in rules, monitor mode, parse errors blocked, sensitive columns,
    an enforced allowlist and a custom rule against SELECT, raw and sanitized
    telemetry, simple query, Parse, COM_QUERY and COM_STMT_PREPARE, and requires the
    same bytes, answers and events (but latency_ms); a ruleset or policy swap is
    answered from the new one. Callgrind: -86.3% instructions per statement on
    pg trivial, -78.3% on mysql trivial, -8.1% / -8.4% on pg oltp_extended /
    oltp_simple, -11.1% on mysql oltp_text, -57.2% on mysql oltp_prepared
    (BEGIN and COMMIT as text), +1% on connect (the first SELECT 1 of each
    session is kept).
  • Sanitized telemetry events are built off the query path
    (VERICTO_TELEMETRY_BUILD_QUEUE, default 4096 waiting events; 0 = on the query
    path, as up to 4.18.0). The second normalization of the query text (libpg_query /
    the MySQL tokenizer), the violation mapping and the event id now run on the
    vericto-telemetry-build thread, which collects events for up to 25 ms at a time
    so that handing one over costs the query path a lock and no system call. Bounded:
    a full queue drops the event and counts it in dropped_queue_full; the query path
    never waits. Same event content and order (deferred_events_equal_the_query_path_ones_in_sanitized_mode,
    the event time is taken on the query path), and the shutdown flush waits for the
    events still being built. Callgrind, one worker, sanitized mode, with the 4.19.0
    allocator (mimalloc, below): query-path
    instructions per statement -11.3% (pg trivial_cp), -9.9% (pg policy_mix),
    -7.2% (mysql trivial_cp), -14.2% (mysql policy_mix); the whole process
    +0.6% to +1.8%. Raw-mode events stay on the query path (deferring them saved less
    than the hand-over costs). Export batches were already gzip-compressed
    (VERICTO_TELEMETRY_GZIP).
  • mimalloc is the global allocator (the default mimalloc cargo feature;
    --no-default-features keeps the system allocator). Callgrind gate against
    glibc's malloc: -2.1% to -3.3% instructions per statement on the PostgreSQL OLTP
    and large-result workloads, -10.8% / -14.9% on pg trivial_cp / pg policy_mix,
    -6.7% to -28.2% on every MySQL workload. jemalloc measured the same within a
    point and was not taken (needs make; bundles BSD-2-Clause sources the license
    policy does not list). Peak RSS about 7 MB higher (17 to 18 MB under 8 to 64
    connections). Cargo.lock: mimalloc 0.1.52 and libmimalloc-sys 0.1.49 (MIT).
  • MySQL: the client is read through a 16 KiB buffer, into one reused packet
    buffer
    (codec_mysql::read_packet_into), as PostgreSQL is since 4.17.3. A
    command cost two reads of the socket (header, then payload) and one allocation;
    it now costs one read and none. Each packet is still forwarded and flushed on its
    own (nothing is coalesced upstream), now from the sender's reused buffer instead
    of a new Vec per packet. System calls per statement 8.0 -> 6.0
    (strace -f -c, COM_QUERY and COM_STMT_EXECUTE), instructions -0.2% to -5.2% on
    the MySQL workloads of the gate.
  • **The database hop reus...
Read more

4.18.0 - 2026-10-25

Choose a tag to compare

@donkan168 donkan168 released this 25 Oct 22:29
57e8dde

The kill switch is VERICTO-105 on the wire, for every statement. Up to 4.17.x a
dashboard "Block all statements" reached the proxy only as a deny-all agent-access
allowlist for the blocked database user: refusals were reported as VERICTO-087, and
statements that read no table (SELECT 1, SET, BEGIN) still passed. 4.18.0 reads
the new kill_switch field of /sync/rules and refuses every statement of a blocked
user (or of every user, under the workspace switch) with the control plane's
kill-switch message. Requires 4.17.3 to be tagged first (this release is built on it;
4.17.1 and 4.17.2 were not released).

Added

  • kill_switch in the sync bundle ({"workspace": {block_id, target_type, message}, "db_users": {"<user>": {…}}}, present only while a block is active;
    part of the signed body). Applied with the rest of each sync, restored from the
    rules cache after a restart, cleared by the first sync without it. A malformed
    entry is skipped and logged (alert=kill_switch_malformed) and never turns the
    bundle away: its deny-all allowlist still blocks that user as VERICTO-087.
  • Every statement of a blocked session is refused before anything else, in
    every mode (monitor_mode, observe windows and VERICTO_POLICY_RULES included):
    Postgres Query, Parse, and Bind/Execute of a statement prepared before the
    block, through the ordered response coordinator; MySQL COM_QUERY,
    COM_STMT_PREPARE, COM_STMT_EXECUTE/COM_STMT_FETCH, COM_INIT_DB,
    COM_FIELD_LIST and COM_CHANGE_USER (no way out to another user). The error is
    a normal one (Postgres 42501, MySQL 1142) whose text is the block's message.
    Protocol plumbing (Sync, Describe, Close, ping, statement close/reset, quit)
    passes. A user's own block wins over the workspace switch. The check comes before
    every verdict: an Execute that keeps its statement's time-free business-policy
    verdict (4.17.3) is refused by a block like any other.
  • Telemetry kill_switch_id: each refusal is a BLOCKED event with VERICTO-105,
    severity critical, path KillSwitch > <target>, the one violation, and the block
    id, which the control plane links to the block; one event per statement.
  • docs/AGENT_ACCESS.md "Kill switch (VERICTO-105)"; README.

Changed

  • vericto-engine v4.5.0 -> v4.6.0 (git tag): every VERICTO-087 finding carries a
    deterministic suggestion (what is not in the identity's allowlist, and that an
    admin must grant it in Dashboard > Agent access), so the proxy's 087 error now
    ends with . Suggestion: …. Nothing else changes in the engine's decisions or
    paths. In sanitized telemetry, when a MySQL name is redacted from access_denied,
    the suggestion is rebuilt from the redacted names
    (vericto_engine::access_suggested_fix), so a double-quoted literal never leaves
    in it. Cargo.lock: only the engine entry and this crate's version change.

Performance

  • Plumbing messages (Sync, Describe, ping…) pay one match; any other message one
    atomic load and an is_none while no block is active, and one hash lookup by the
    session user while blocks are. Callgrind, pgbench select-only -M extended, one
    session, one worker, linux/arm64 release builds, marginal user-space instructions
    per statement over 4,000 statements, 2 runs each: 4.17.1 227,669 / 227,760, 4.18.0
    227,706 / 228,955 (no block; no control plane); with a control plane, 211,365 /
    211,336 without a block and 212,237 / 212,340 with another user blocked (+0.4%).
    On 4.17.3 (pgbench -n -S -c 1, TLS on both legs, no control plane, 2 runs):
    extended 206,486 / 205,909 -> 207,020 / 206,393 (+0.3%), prepared 20,371 /
    20,356 -> 20,799 / 20,796 (+2.1%: the kill-switch check on the Parse, Bind and
    Execute messages).