插件中心

DBX SQL Guard

v0.4.1

zaojiaoci · Apache-2.0 · 更新于 2026年10月12日

简介

为 DBX 提供 SQL 风险评审与审批留痕。

sqlsecurityauditreview

权限

4 项权限

host.aihost.plans:readhost.schema:readhost.storage

权限代码在安装时授予,此处按 manifest 原文展示。

在 DBX 中安装

点击“在 DBX 中安装”并在应用中确认即可。也可以手动安装:打开 DBX 插件中心,选择“从 URL 安装”,粘贴对应平台的链接——安装前会校验制品签名。

在 DBX 中安装
平台大小SHA-256下载
macOS(Apple Silicon)1.3 MB61d457c724d8e019…下载
macOS(Intel)1.4 MB87695980e8ed6b75…下载
Linux(ARM64)1.4 MB6cead02d412abfa0…下载
Linux(x64)1.5 MB5a95e46d11f81b7f…下载
Windows(x64)1.3 MB8780cd5464422487…下载

版本历史

  • v0.4.12026年10月12日最新

    Screen-copy release: the engine, the SQLite store, the hash chain, the CSV export, the rule set and the declared permissions are unchanged, so installing it does not re-ask for consent. The audit database's path moved off the review header — the screen people screenshot — to under the audit list, folded to ~, with the absolute path one hover or one *Copy full path* away; guard/ping gained a display form and no MCP tool result may carry the file location. The host card is renamed to *Connection metadata & estimated rows* and lost its developer-only paragraph, and the AI progress line now says only *Generating…*. Requires DBX >= 0.6.38. Advisory only: DBX has no pre-execution hook, so nothing here blocks a statement from running. Verified with 106 Rust tests and five jsdom harnesses driving the real sidecar, run again against the packaged binary.

  • v0.4.02026年10月10日

    First store release. A Rust sidecar rates SQL statements offline (lexical risk engine with dialect-aware statement splitting and full-width punctuation detection) and writes an immutable hash-chained audit record to SQLite; a sandboxed workbench reviews, approves or rejects it and exports the trail as CSV. Opened from a table it reads that table's real column list and the optimizer's estimated row count from the host, so the large-scan finding is the database's own answer. Three MCP tools let the built-in DBX AI self-check before proposing destructive SQL. Advisory only: DBX has no pre-execution hook, so nothing here blocks a statement from running.

    安装包