← DeepSeek Harness Plugins
DeepSeek Harness PluginManifest Valid

db-connector

Database connector bundle for DeepSeek Harness supporting SQLite, PostgreSQL, and MySQL with schema introspection, read-only safety, write approval gates, and JSONL audit logging.

Developer ToolsSecurity & PolicyRemote Execution
2GitHub Stars1ForksUpdated2026-09-29

Install

$ dsh plugin --profile <name> add /path/to/dsh-db-connector

Plugin Overview & Capabilities

AI-assisted organization based on the public repository snapshot. The content must be grounded in source evidence and does not replace compatibility or security verification.

source-grounded
dsh-db-connector is a database connector bundle designed for DeepSeek Harness (dsh) built on Cordis. It equips agents and human operators with safe, audited database access across SQLite, PostgreSQL, and MySQL. Featuring five model-facing tools (`db_connect`, `db_schema`, `db_query`, `db_exec`, `db_audit`) and a `/db` slash command, it enforces strict read-only query checks, a mandatory write confirmation gate, parameter binding to prevent SQL injection, and a structured JSONL audit trail.

Key Capabilities

  • Named database connections for SQLite, PostgreSQL, and MySQL with lazy opening and connection pooling/reuse
  • Automated schema introspection with configurable snapshot caching (tables, views, columns, keys, and indexes)
  • Strict read-only query enforcement rejecting DML, DDL, and data-modifying CTEs prior to execution
  • Explicit write approval gate (`allowWrite: true`) with automated transaction management (COMMIT/ROLLBACK)
  • Comprehensive JSONL SQL audit trail logging statement digests, query status, execution duration, and caller source
  • Slash command `/db` for interactive command-line database management and querying inside DSH
  • Credential security referencing secrets via environment variables or the DSH credentials service without logging passwords

Useful For

  • Enabling LLM agents to safely inspect database schemas and generate read-only reporting queries
  • Performing controlled, auditable database updates and migrations with human-in-the-loop write confirmation
  • Querying local SQLite databases or remote PostgreSQL/MySQL databases directly from within DSH workflows
  • Tracking compliance and auditing agent-driven database actions via append-only JSONL logs

Who It Fits

  • DeepSeek Harness agent developers building data-driven workflows
  • Backend developers and DBA teams integrating AI agents with relational databases
  • Security-focused teams requiring strict write gating and immutable audit logs for AI database access

Documented Limitations

  • Executes only one SQL statement per call; multi-statement inputs are rejected
  • Requires optional peer dependencies (`pg` for PostgreSQL, `mysql2` for MySQL)
  • Requires Node.js >= 22.16 for built-in `node:sqlite` support

DSH Compatibility

Version-specific runtime evidence collected by DSH Plugin. A missing result means we have not tested that combination yet.

Not tested yetNo runtime compatibility tests have been published yet.

Security Signals

Objective signals discovered from package metadata and source inspection. These are not a guarantee that a plugin is safe.

Dependency Counts

package.json declares 0 runtime, 5 development, 2 peer, and 0 optional dependencies.

info
Dsh Bundle Declared

package.json declares DSH bundle metadata.

info
License Declared

GitHub reports the repository license as MIT.

info
Package Manifest Available

A root package.json was captured and can be inspected by the registry.

info
Source Available

Public GitHub source metadata is available for this registry snapshot.

info

Source & Registry Notes

Public provenance, Registry classification, and the latest source check for this entry, kept separate from runtime verification.

Source repository
JohnXu22786/db-connector
Registry source
GitHub · dsh-plugin topic
Registry classification
Plugin Bundle
Source checked
5ac9a07 · 2026-10-18

This project is independently indexed from public source information. DSH Plugin is not affiliated with DeepSeek or the plugin author. Always check the author repository before installation.

Repository Activity

GitHub stars
2GitHub stars
Forks
1
Open issues
0
Last commit
2026-09-29
Last release
No release detected
For maintainers

Maintaining this plugin?

This listing is generated from public repository data. If you maintain this project, you can review the information and share this listing with your users if you find it useful.

Add to README
Listed on DSHPlugin.app