db-connector avatar

db-connector

Database connector bundle for DeepSeek Harness (dsh): SQLite/PostgreSQL/MySQL connections, schema introspection, read-only safety, a write approval gate and a JSONL SQL audit trail.

PluginDataKnowledgeSecurityStorageDatabase
Verification
L2 · Structured
Security
Medium
Health
Active
Trust
Silver

What it doesAI

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-generated from the repo README — for reference only.

Installation

dsh plugin --profile web add github:JohnXu22786/db-connector

Install method: GitHub · not yet tested in container (L3+)

Compatibility

DSH VersionStatus
not statedDeclared — not tested

Requirements

  • • Node.js: not stated
  • • DSH: declared "not stated"
  • • External credentials: none detected

Security Report

Automated static scan, not manual review.

DSH.SO AUDITMEDIUMa74e24
Automated review · daily
MEDIUM

Critical findings in non-blocking categories (dynamic code execution, shell execution, install scripts, obfuscation). Common in CLI/terminal plugins but worth reviewing.

3 critical·0 warning·7 info·15 files scanned
code-exec ×3
plugin version0.1.0dsh manifest
scanned commita74e249270472026-08-20
latest commita74e24927047

The scan result is valid for the scanned commit. New commits within 7 days are tolerated (the rating still counts); after 7 days without a rescan the badge shows outdated.

Disclaimer: automated static analysis, not a security guarantee. Always review what you install.

Second-opinion scan (vet · parallel evaluation)
vet: suspicious

vet verdict: vet: suspicious · 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 is advisory and does not change dsh’s four-tier level.

Risk: Medium3 critical · 0 warning · 7 info

• Static heuristic scan: done (15 files)

• Dependency vulnerabilities: requires deep audit (L3+)

• Permission sandboxing: requires runtime testing (L4+)

High-risk findings · 3 / 3

  • criticalChild process module usage (Node.js)src/drivers/sqlite.ts:21
    import { fork, type ChildProcess } from 'node:child_process';
  • criticalChild process module usage (Node.js)src/drivers/sqlite.ts:48
    private child: ChildProcess | null = null;
  • criticalChild process module usage (Node.js)src/drivers/sqlite.ts:53
    { child: ChildProcess; resolve: (v: unknown) => void; reject: (e: unknown) => void }

Heuristic static scan — may produce false positives. Review the source yourself before trusting.

Activity

Last commit 2026-08-20 · activity: Active

• Repo created: 2026-08-20

• Stars: ★ 0 · Forks: 0

• Health: Active — committed within last 30 days

Source

GitHub: github.com/JohnXu22786/db-connector

Was this page helpful?