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.
Install
$ dsh plugin --profile <name> add /path/to/dsh-db-connectorPlugin 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.
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.
Security Signals
Objective signals discovered from package metadata and source inspection. These are not a guarantee that a plugin is safe.
package.json declares 0 runtime, 5 development, 2 peer, and 0 optional dependencies.
package.json declares DSH bundle metadata.
GitHub reports the repository license as MIT.
A root package.json was captured and can be inspected by the registry.
Public GitHub source metadata is available for this registry snapshot.
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
Related DSH Plugins
Ranked by overlapping capabilities, use cases, plugin type, categories, and DSH profile.
Import and resume conversation histories from 25+ AI coding agents directly into DeepSeek Harness.
View plugin →Agent-native multi-market trading terminal and quantitative research plugin bundle for DeepSeek Harness.
View plugin →Local cross-agent memory and session history recall integration for DeepSeek Harness.
View plugin →Full office suite integration for DeepSeek Harness supporting spreadsheets, docs, slides, bases, and canvases.
View plugin →