Testing DeepSeek Harness on a Sanitized Browser-Game Fixture: Plugins, Safety, and Developer Workflow

Independent hands-on engineering note · Tested against pinned release 0.1.2-alpha.4

Testing DeepSeek Harness on a Sanitized Browser-Game Fixture: Plugins, Safety, and Developer Workflow

DeepSeek Harness is a modern, plugin-composed coding-agent runtime. This test asks a narrower question: can its Web UI start safely around a sanitized browser-game fixture without exposing credentials or production data?

What was tested

The test used the official npm release pinned exactly to @deepseek-ai/dsh@0.1.2-alpha.4. It did not use the production game repository. Instead, the workspace contained a synthetic three-file “dot game”: one HTML button, a tiny JavaScript score counter, and a README. It contained no network calls, user data, repository history, environment files, or credentials.

The Harness process received a clean environment with an isolated HOME and DSH_HOME. No DeepSeek, Anthropic, OpenAI, AWS, Google, GitHub, or other provider key was supplied. The release requires Node 22.19+ (or Node 24+), so a temporary Node 22.19 runtime was used instead of the host's older Node 20.

Installation and launch

# Illustrative safe pattern — use a disposable environment
npm install @deepseek-ai/dsh@0.1.2-alpha.4
dsh --help
dsh web --host 127.0.0.1 --port 0 --no-open

The CLI help loaded successfully and exposed the documented profile launcher. The Web profile selected a random free port and printed a one-time URL carrying a generated token. No model provider was required merely to start and inspect the local UI.

Observed security behavior

  • Loopback binding passed: the tested listener bound to 127.0.0.1, not 0.0.0.0.
  • Unauthenticated request rejected: requesting the root page without the generated token returned HTTP 401 and Cache-Control: no-store.
  • Token exchange behaved defensively: the token URL returned a redirect, Referrer-Policy: no-referrer, and a session cookie marked HttpOnly and SameSite=Strict.
  • Authenticated page loaded: following the redirect with the session cookie returned the DeepSeek Harness HTML interface.
  • Clean shutdown passed: SIGINT stopped the process and removed its listener.

Network observation without a provider

After installation, Linux syscall tracing was used during a short no-provider launch. The trace showed the expected local socket bind and listen calls. It showed no outbound connect call during that observation window. This is useful evidence, but it is not a universal privacy guarantee: selecting a cloud model, installing a plugin, enabling feedback or telemetry, or invoking a network tool will necessarily change network behavior.

The host did not permit creation of a separate network namespace, so the test could not enforce kernel-level offline mode. Invalid proxy endpoints were supplied as an additional guard, and no provider credential was present.

Files created locally

Running help and the Web profile initialized the isolated Harness home. The small persistent files included:

  • an anonymous-user identifier;
  • a credentials YAML file containing a generated browser-session secret, stored with mode 0600;
  • a workspace storage JSON file, also mode 0600;
  • Web profile composition files such as cordis.yml, cordis.patch.yml, and package/workspace metadata;
  • a large profile dependency tree assembled from the installed plugin packages.

No secret value is reproduced here. The practical lesson is that DSH_HOME is sensitive application state: protect it with filesystem permissions, exclude it from Git, back it up only if required, and never place it inside a public web root.

What “everything is a plugin” means in practice

The official architecture document describes a Cordis plugin tree. Model adapters, session persistence, tool registration, the agent loop, approvals, sandbox policy, and the Web application are mounted as replaceable services. Profiles such as Web, headless, SDK, SDK-minimal, and ACP are ordered compositions rather than separate monolithic applications.

That architecture is attractive for game development: a team can replace a model provider, restrict filesystem access, add a game-specific inspection tool, or run a headless review workflow without rewriting the whole agent loop. It also increases the supply-chain and configuration surface. Every third-party plugin is executable code and must be reviewed and pinned.

A safe browser-game workflow

  1. Create a sanitized fixture or a throwaway branch containing no secrets, database, player data, deployment configuration, or private assets.
  2. Run Harness in a disposable VM/container as an unprivileged user.
  3. Mount only that fixture workspace. Start with read-only access; grant workspace write only when a specific edit is needed.
  4. Keep command approval enabled. Never select danger/full-access for routine review.
  5. Use a restricted provider key with spend limits. Do not inherit the production process environment.
  6. Keep the Web server on loopback and reach it through SSH forwarding. Do not expose the raw port publicly.
  7. Review the fixture diff and run browser tests outside the agent before manually recreating approved changes in a separately reviewed project branch.

Maturity verdict

Version 0.1.2-alpha.4 demonstrated a thoughtful local Web bootstrap, authentication fence, profile composition, and clean shutdown in this limited test. Its architecture and test surface are substantially more advanced than a simple command-script assistant.

It is still an alpha developer preview, not a production security boundary. This test did not authorize model calls, command execution, plugin installation, filesystem mutation by an agent, remote exposure, or work beyond the sanitized browser-game fixture. Those are the highest-risk capabilities and require a separate, carefully controlled evaluation.

Official references

Comments

Popular posts from this blog

Color Crash 3D – Free Browser Game

SPACE WAR

Welcome to Flagship Bot Games