验证
L2 · 结构化
安全
中风险
健康
活跃
信任
银
功能介绍AI
Database connector for SQLite/PostgreSQL/MySQL with schema introspection, read-only safety, write approval, and audit trail.
- Connects to SQLite, PostgreSQL, and MySQL
- Schema introspection and read-only safety
- Write approval gate with JSONL audit trail
由 AI 基于 README 自动生成,仅供参考。
安装
dsh plugin --profile web add github:JohnXu22786/db-connectorInstall method: GitHub · 尚未在容器中测试 (L3+)
兼容性
| DSH Version | Status |
|---|---|
| not stated | Declared — not tested |
要求
- • Node.js: not stated
- • DSH: declared "not stated"
- • External credentials: none detected
安全报告
自动静态扫描,非人工审核。
DSH.SO AUDIT需注意a74e24
安全审查自动审查 · 每日更新
需注意
非阻断类别中的严重发现(动态执行、shell 执行、安装脚本、混淆)。在 CLI/终端插件中常见,但值得审查。
3 严重·0 警告·7 提示·15 扫描文件数
code-exec ×3插件版本
0.1.0dsh 清单扫描版本
a74e249270472026-08-20当前版本
a74e24927047扫描结果仅对「扫描版本」有效。扫描后 7 天内的新提交不会触发 outdated,评级仍然有效;超过 7 天未重新扫描才显示 outdated。
免责声明:这是自动化静态分析,不构成安全保证。安装前请自行审查。
第二意见扫描(vet · 并行评估期)
vet:可疑vet 判定:vet:可疑 · score 54
- R10 · info [heuristic] — 依赖清单:4 项(@types/node, typescript, pg, mysql2,供 LLM 审计供应链;已知漏洞核对见后续 OSV 精确版本查询(网络失败静默降级))
- R12 · info [certain] (downgraded) — 入口文件缺失:./dist/index.js
- R3 · info [certain] — 只读 process 成员(能力触达面):process.hrtime
- R9 · info [heuristic] — 循环内 += 累加(字符串拼接可能 O(n²))
- R3 · info [certain] — 只读 process 成员(能力触达面):process.env
vet 仅作参考,不改变 dsh 的四档等级。
风险:中风险3 critical · 0 warning · 7 info
• 静态启发式扫描:已完成(15 个文件)
• 依赖漏洞:需深度审计(L3+)
• 权限沙箱:需运行时测试(L4+)
高危发现 · 3 / 3
- critical使用 child_process 子进程模块(Node.js)src/drivers/sqlite.ts:21import { fork, type ChildProcess } from 'node:child_process';
- critical使用 child_process 子进程模块(Node.js)src/drivers/sqlite.ts:48private child: ChildProcess | null = null;
- critical使用 child_process 子进程模块(Node.js)src/drivers/sqlite.ts:53{ child: ChildProcess; resolve: (v: unknown) => void; reject: (e: unknown) => void }
静态启发式扫描,可能误报——使用前请自行审查源码。
活跃度
最近提交 2026-08-20 · 活跃度:活跃
• 仓库创建: 2026-08-20
• 星标: ★ 0 · 复刻: 0
• 健康度: 活跃 — 近 30 天有提交
