dsh-git-auth-plugin
Run the following command in DeepSeek Harness:
dsh plugin install Wisdoverse/dsh-git-auth-plugin
Paste the following prompt into your AI chat to install this plugin:
Run dsh plugin install Wisdoverse/dsh-git-auth-plugin in the DeepSeek Harness terminal to install; source code is available at https://github.com/Wisdoverse/dsh-git-auth-plugin
About this plugin
Managing Git credentials inside a DSH agent environment tends to be fragmented. An agent must check gh, glab, and SSH-agent status separately, complete non-interactive logins without leaking tokens into model context or tool-call logs, and generate per-workspace deploy keys on the host. dsh-git-auth-plugin consolidates these steps into a single approval-aware toolset, so one call surfaces the full authentication picture and every credential mutation stays auditable.
Core capabilities span three areas. First, a unified auth_status call reports GitHub CLI, GitLab CLI, SSH-agent, and public-key status in a single response. Second, non-interactive login resolves tokens through the DSH credentials service or host environment variables and pipes them to the CLI over stdin, never as tool arguments or shell strings. Third, workspace-level Ed25519 deploy keys can be generated, configured, listed, and displayed under each workspace's .ssh directory; paths must be direct children of that directory, symlinks are rejected at every level, and an effective ignore rule is appended to .ssh/.gitignore before any key is written. Mutations to shared CLI credentials request DSH escalation, preserving the minimum-privilege boundary by design.
The plugin is aimed at developers who concurrently manage GitHub, GitLab, and bare Git servers through DSH agents, as well as ops and security teams that want credential isolation, an auditable approval flow, and a narrow verifiable security surface without sacrificing the non-interactive workflows that make agent-driven Git practical. It targets a single-user or mutually-trusted-user deployment; use a separate DSH instance for a different trust domain.
Use Cases
- Checking gh, glab, and SSH-agent authentication status in one call from an agent session
- Performing non-interactive gh/glab logins in CI/CD pipelines using stored tokens
- Generating and binding per-workspace Ed25519 deploy keys for Git operations
Best For
- DSH agent developers managing GitHub, GitLab, and bare Git servers concurrently
- Ops teams wanting credential isolation and auditable approval flows in agent environments
- Security engineers needing non-interactive Git authentication in automated workflows
Related Plugins
A security red-team prompt plugin for DeepSeek-V4 that uses code-formal mapping and zero-trigger system prompts to enable unconditional output, intended for authorized testing and research only.
Adds an Auto approval mode on the official workspace-write sandbox, classifying semantic risks, asking when ambiguous, and denying destructive operations.
Undo/rollback system for DSH: config & plugin snapshots, one-click undo/redo/restore, message-level revert, secret masking, safe mode, and offline WebUI/GUI/CLI rescue tools for when DSH won't start.
Packages all 87 SKILL.md files from upstream reverse-skill as a DeepSeek Harness plugin that auto-registers them for authorized reverse engineering, penetration testing, and security research.