Back to directory

dsh-passwords

Curated pickMaintenance: Active

slywalker2006/dsh-passwords

Server-grade gateway that turns DeepSeek Harness into a multi-tenant platform: remote access + auto HTTPS, subuser permissions & quotas, sandbox enforcement, encrypted auth, audit log.

View on GitHubHomepage
$ curl -fsSL https://raw.githubusercontent.com/slywalker2006/dsh-passwords/main/install.sh | bash

44

stars

11

forks

TypeScript

Language

GPL-3.0

License

2026-08-14

Created

2026-09-03

Last push

GPL-3.0 auth gateway for DeepSeek Harness (dsh): login auth, automatic HTTPS, multi-tenant permissions & quotas, session authorization and encrypted audit logs, with host / npm / Docker install paths.

DSH integration

Compatible

Author-claimed

Safety audit

Unaudited

Last verified

2026-09-04

License

GPL-3.0

01What can it help you accomplish?

  • Add login & access control to a public dsh deployment

    A gateway that shows only a login page to unauthenticated visitors and enforces per-account permissions and quotas after login

    Operators who expose DeepSeek Harness (dsh) on a public network and need authentication, multi-tenant access and audit

  • Run dsh as a multi-tenant platform with audit

    Per-subuser permissions (workspace allowlist, per-session grant, token/time caps, sandbox tiers, upload/download toggles, ban) and audit logs with SQLite static encryption

    Teams and self-hosters needing quota, session authorization and a secure audit trail for shared dsh instances

02How to install into DeepSeek Harness

Prerequisites

  • Node.js 22.19+ or 24+ with a working dsh and git (the plugin must share dsh host’s Node major version)
  • For Docker: a `.env` containing at least `DEEPSEEK_API_KEY`

Installation steps

  1. 01

    Linux / macOS one-line install: `curl -fsSL https://raw.githubusercontent.com/slywalker2006/dsh-passwords/main/install.sh | bash`

    $ curl -fsSL https://raw.githubusercontent.com/slywalker2006/dsh-passwords/main/install.sh | bash

  2. 02

    Any platform, npm global: `npm install -g dsh-passwords` then `dsh-passwords install`

    $ npm install -g dsh-passwords

  3. 03

    Docker: `docker run -d --name dsh-passwords --env-file .env -p 127.0.0.1:3088:3088 -v dsh-home:/data/dsh -v dsh-passwords-state:/data/dsh-passwords skywalker237234/dsh-passwords`

Verify the integration

Not specified by the author

Rollback

  • Host uninstall: `node dist/cli.js uninstall` (or `dsh-passwords uninstall` for npm global) — only removes the dsh-passwords link/bundle and rolls back its dsh patch, keeping other plugins

03DSH integration and capability boundaries

DSH integrationCompatible

Integrates with dsh through a compatibility layer + gateway: deploys a login-auth gateway in front of the dsh web UI and registers a dsh plugin applying a remote-settings patch.

  • Login authentication gateway

    HTTP requests to the dsh web UIUnauthenticated visitors see only a login page; sessions valid 12 hours; per-account permission & quota control after login

  • Automatic HTTPS

    Public deployment with ports 80/443 reachableAuto-issues and renews Let’s Encrypt certificates, redirects port 80 to 443, no manual configuration

    Refuses to start (no plaintext downgrade) if certificate issuance fails
  • Multi-tenant permissions & quotas

    Main user plus sub-users managed in dsh settingsWorkspace allowlist, per-session grant, hourly token cap, daily duration cap, 3 sandbox tiers, upload/download toggles, ban

  • Audit & security

    Login and session eventsLogin rate-limiting & lockout, audit logs, SQLite static encryption, server-side session revocation on logout

04Who is it for? When not to use it?

Good for

  • Operators who expose DeepSeek Harness (dsh) on a public network and need authentication, multi-tenant access and audit
  • Teams and self-hosters needing quota, session authorization and a secure audit trail for shared dsh instances

Not for

  • Public HTTPS needs ports 80/443 open for ACME and a domain (or uses `<IP>.sslip.io`); plain-IP HTTPS shows a hostname mismatch unless entered via port 80.

05Compatibility, maintenance and safety notes

  • Public HTTPS needs ports 80/443 open for ACME and a domain (or uses `<IP>.sslip.io`); plain-IP HTTPS shows a hostname mismatch unless entered via port 80.
  • Host install requires Node.js 22.19+ or 24+ on the same major line as dsh; on Linux, binding a port below 1024 without root requires switching to a high port.
  • Uninstall does not delete the install dir, `.env`, database, TLS/ACME certs or other plugins — back up `.env` together with the database since the encryption key lives there.
2026-08-142026-09-03v2.6.9

GPL-3.0 · actively maintained (latest release v2.6.9, 2026-09-02)

06Frequently asked questions

How do I install dsh-passwords?

On Linux/macOS run the one-line installer `curl -fsSL https://raw.githubusercontent.com/slywalker2006/dsh-passwords/main/install.sh | bash`; on any platform use `npm install -g dsh-passwords` then `dsh-passwords install`; or run the published Docker image `skywalker237234/dsh-passwords`.

Does it require modifying dsh itself?

No. It runs a gateway in front of the dsh web UI and integrates by registering a dsh plugin and applying a remote-settings patch — it does not fork or modify dsh’s source.

How are credentials stored?

Account passwords are stored only as bcrypt hashes; usernames, IPs and audit records are encrypted at rest; certificate issuance failure refuses to start. Without the `.env` key the database cannot be decrypted.

What happens on uninstall?

Uninstall only removes dsh-passwords’ link/bundle from the dsh web profile and rolls back its managed dsh patch; it keeps the install dir, `.env`, database, TLS/ACME certs and other plugins.

Which dsh versions are supported?

v2.6.9 is verified against DSH `0.1.2-alpha.5`; the compatibility layer covers DSH `alpha.1` through `alpha.5`.

08Data and sources

  • Author-claimedgithub.com62486f2465bc…

    dsh-passwords 在 dsh 前面运行一个网关:未登录访问只见到登录页,登录后按账号执行权限与配额控制。

  • Author-claimedgithub.com62486f2465bc…

    当前版本 2.6.9。

This page is generated from the project’s public documentation, repository metadata and a structured parse of DSH Plugins; last verified on 2026-09-04. Found an error? Submit a correction.

🏆

Best DeepSeek Harness Plugins

Twelve plugins worth installing first — picked from the whole catalog, across every category.

DSH Plugins is an independent community directory of DeepSeek Harness plugins. Not affiliated with or endorsed by DeepSeek. Third-party plugins are not security-audited — review the source before installing.

New DeepSeek Harness plugins, weekly. No spam.