luodeb/dsh-web-auth-gateway
Authentication reverse-proxy gateway plugin for DeepSeek Harness Web
이것은 DeepSeek Harness(DSH) 플러그인입니다. 이 사이트는 GitHub README, 설치 정보, 유지보수 상태, 공개 보안 시그널을 모아 보여줍니다.
업스트림에서 중국어 README를 제공하지 않아 저장소 원본 내용을 표시합니다.
dsh-web-auth-gateway
A standalone authentication reverse-proxy gateway plugin for DeepSeek Harness Web.
The plugin serves a login page on a separate loopback port. After authentication, it proxies the complete DSH Web surface, including normal pages, plugin assets, API requests, and WebSocket upgrades.
Features
- First-run administrator account creation
- scrypt salted password hashing; plaintext passwords are never stored
- HttpOnly and SameSite=Strict session cookie
- Server-side in-memory sessions
- HTTP, API, and WebSocket authentication gate
- Settings card under
Settings > Plugins > Web UI Plugins - Configurable gateway port and session lifetime
- Official
@deepseek-ai/*NPM SDK only - No changes to DeepSeek Harness source code
Install
Requires Node.js 22 or newer and DeepSeek Harness.
dsh plugin --profile web add github:luodeb/dsh-web-auth-gateway
Restart DSH Web:
dsh web --host 127.0.0.1 --port 3080
Then open:
http://127.0.0.1:3090
On first access, create the administrator account. Later visits require that account.
Settings
Open Settings > Plugins > Web UI Plugins > Login gateway.

Defaults:
enabled: true
port: 3090
sessionTtlHours: 12
Settings are persisted through the official DSH Settings service in ~/.dsh/settings.yaml.
Login page

The password credential is stored at:
~/.dsh/web-auth-gateway/credential.json
The file contains only the username, random salt, and scrypt password hash. Its mode is 0600.
Security boundary
The original DSH Web port must remain bound to 127.0.0.1 or another trusted interface. If the upstream port is exposed to untrusted clients, they can bypass the gateway.
This plugin currently listens on 127.0.0.1. Use a TLS reverse proxy or a secure tunnel in front of the gateway for remote access. Do not expose plaintext HTTP directly to an untrusted network.
Sessions are stored in memory and are invalidated when DSH restarts.
Development
corepack enable
pnpm install
pnpm build
pnpm typecheck
pnpm test
Install the local checkout into the Web profile:
dsh plugin --profile web add link:$(pwd)
License
BSD-3-Clause
보안 및 설치 증거
이 점수는 공개 저장소 메타데이터와 이 사이트에 등록된 설치 증거에만 기반하며, 코드 보안 감사와 다릅니다.
공개 플러그인 카탈로그에서 왔으며, 공개 GitHub 저장소로 연결됩니다.
저장소가 BSD-3-Clause 라이선스를 선언했습니다.
최근 180일 내 코드 업데이트가 있습니다.
재현 가능한 정확한 설치 메타데이터가 아직 등록되지 않았습니다. 저장소 설명에 따라 직접 확인하세요.
prepare이(가) 감지되었습니다. 설치 전에 스크립트를 검토하세요.
lifecycle-scripts