AI SQL 权限校验拦截插件 — DeepSeek Harness 通用 AI 数据库权限管控插件。 拦截智能体(Agent)生成的越权 SQL:不静默改写、直接拒绝执行,并把结构化权限 原因返回给模型,让模型自主剔除越权字段、更换统计口径,或用自然语言向用户解释权限不足。 插件 ID:dsh-plugin-sql-security-validate 适用框架:DeepSeek Harness(Cordis) 适配版本:DSH >= 0.1.x(本仓库验证于 0.2.0-rc.1) 开源协议:MIT
Install verification: sandbox install ok, web smoke failed (L5) · tested on dsh 0.2.1-rc.3 · last checked Install verification details →
What it does
AI SQL 权限校验拦截插件 — DeepSeek Harness 通用 AI 数据库权限管控插件。 拦截智能体(Agent)生成的越权 SQL:不静默改写、直接拒绝执行,并把结构化权限 原因返回给模型,让模型自主剔除越权字段、更换统计口径,或用自然语言向用户解释权限不足。 插件 ID:dsh-plugin-sql-security-validate 适用框架:DeepSeek Harness(Cordis) 适配版本:DSH >= 0.1.x(本仓库验证于 0.2.0-rc.1) 开源协议:MIT
Installation
dsh plugin --profile web add dsh-plugin-sql-security-validate@1.0.0-rc.1security scan passed · npm package v1.0.0-rc.1
Install method: npm · sandbox install ok, web smoke failed (L5)
Verification & Compatibility
Grouped by plugin version: each card lists the dsh versions actually tested against that artifact version and their install verdicts (L5 wins). Untested combinations are omitted — absence means untested, never assumed compatible. L1–L3 are a plugin-level static archive (independent of the dsh version — the same verdict on every dsh row): they sit in each row's level grid next to L4/L5, marked "static", while their evidence is stored once per plugin inside that row's "checks & evidence" instead of being duplicated per version.
External credentials (plugin-level): none detected
package manifest not collected — the declared range is unknown.
| plugin \ dsh | dsh 0.2.1-rc.3 current |
|---|---|
| 7d1c2f | ✗ |
7d1c2fgithub1 failed2026-10-28
https://github.com/huangzuting/dsh-plugin-sql-security-validate
✗dsh 0.2.1-rc.3current2026-10-28L5 · failed
- • Node.js: v24.14.0
- • DSH: 0.2.1-rc.3
- • Plugin artifact: github · https://github.com/huangzuting/dsh-plugin-sql-security-validate (version unstated)
ID: dsh-plugin-sql-security-validate@7d1c2f@dsh0.2.1-rc.3 · profile: l4-sandbox
Issued: 2026-10-28 · expires: 2026-11-04
View checks & evidence
L1–L3 are plugin-level static conclusions (baseline, identical across dsh versions): evidence is stored once per plugin.
Author badges
Embed the official badges in your README to showcase security & install-test status:
`[](https://www.dsh.so/artifact/dsh-plugin-sql-security-validate/)`Security Report
Two automated layers, neither a manual review: a static scan (per-plugin rule checks) and a model-driven dynamic security audit that covers only the subset static-flagged at warn or above and never executes plugin code.
Static low; dynamic no conclusion (static stands) → overall low.
v1.0.0-rc.1dsh manifest1.0.0-rc.1npm2026-10-281.0.0-rc.1same versionclean · npmVet is an AST static scan (npm artifact or git source).
not in the dynamic queue (the queue only covers plugins whose static tier is medium or above — medium/high/critical; since 2026-10-24 entries rated low are not audited even when dsh-only rules logged warnings) — this does not mean the dynamic audit found it safe.
Rule (2026-10-28): when a dynamic conclusion exists it is authoritative (it may raise or lower the level); the static scan tier (vet primary, dsh backstop) applies only when there is none (not queued / audit failed / withdrawn). The audit never writes the exemption list (exemptions are manual only); a wrong conclusion is withdrawn by human review and the tier falls back to the static scan tier.
Disclaimer: the static scan and the dynamic security audit are both automated analysis, not a security guarantee. Always review what you install.
Activity
Last commit 2026-10-28 · activity: Active
• Repo created: 2026-10-27
• Stars: ★ 1 · Forks: 0
• Health: Active — committed within last 30 days
Source
GitHub: github.com/huangzuting/dsh-plugin-sql-security-validate
Author README
View on GitHub ↗The author's original README from the repository — fetched live, unedited (the English page loads the default README).
