DSH Plugins Marketplace

DSH Plugins

Plugins

/

dsh-cross-platform

W

dsh-cross-platform

Discovered

Linux backend for dsh-witness/dsh-anchor: chattr + bubblewrap sandbox recipes. Every claim carries an experiment number.

dsh-cross-platform

Part of the DSH plugin suite — six Apache-2.0 plugins for DeepSeek Harness.

Linux backend for dsh-witness and dsh-anchor. Linux sandbox recipes and process-identity utilities — every capability claim carries an experiment number and a control group. (macOS edition: dsh-macos.)

中文版见 README.zh-CN.md。

license ci topic: dsh-plugin topic: dsh

Why

dsh-witness's Windows sandbox (six-dimension NTFS ACL closure) needs an equivalent on Linux. This package turns Linux sandbox recipes into components with measured backing:

CapabilityLinux recipeExperiment verdict
Overwrite-proofchattr +i + bubblewrap read-only viewEXP-1 / EXP-3 (with control group)
Delete-proofchattr +i + read-only viewEXP-1 / EXP-3
Forge-proof (lock/exit.txt)chattr +iEXP-1 / smoke 12/12
Filesystem isolationbubblewrap read-only view (EROFS) — host and task see two viewsEXP-3
Process identity (three evidence)/proc/<pid>/stat field 22 + btimeEXP-6
Exit protocolEXIT:<code> (aligned with Windows)smoke 12/12
Official recipeNode --experimental-permissionEXP-2

Experiments

All experiments live in EXPERIMENTS.md: 9 verdicts, each with a control group (false-positive elimination). Core results:

  • Witness 12-scenario acceptance · Linux edition: 34/34 ×3 stable (test/witness-final-linux-test.ts)
  • dsh-anchor Linux full suite: 37/37 (P1-P4, zero code changes)
  • Linux runner smoke: 12/12 (normal tasks / sandbox attacks / bwrap mode)

Components

src/
├── detach-runner-linux.cjs   # task runner (bash supervision + dual-mode sandbox, protocol fully aligned with Windows)
├── linux-backend.mjs         # sandbox backend (chattr apply/verify/restore + capability self-report)
└── linux-utils.mjs           # /proc start time + process liveness + exit-code protocol

Quick start

# Install (git source, pinned tag — the pre-npm installation path)
dsh plugin --profile <name> add "github:Wang-Lin-Chang/dsh-cross-platform#v0.1.0"
import { LinuxSandboxBackend } from 'dsh-cross-platform'

const backend = new LinuxSandboxBackend('/path/to/job-dir')
backend.apply()        // chattr +i evidence files (before task spawn)
backend.verify()       // fail-closed self-check (aligned Windows EXIT:-998 semantics)
backend.restore()      // restore after task death (registry terminal-state window)

Direct runner usage (same protocol as the Windows detach-runner.cjs):

node detach-runner-linux.cjs <jobDir> <outFile> <exitFile> <commandBase64> [bwrap]

Honest boundaries

  • Linux measured environment: WSL2 Ubuntu 26.04 LTS (kernel 6.6) + Node 25.8.1. Other distros/kernels are not measured, not claimed.
  • Non-bwrap degraded mode: out.log is not protected from task writes (chattr +i blocks all writes including pre-opened handles — EXP-8 architecture verdict). landlock is on the roadmap (EXP pending).
  • macOS: covered by dsh-macos — sandbox-exec deny view + uchg (12-scenario acceptance 34/34).
  • Offline applicability: all sandbox mechanisms are local syscalls (chattr/bwrap), no network components; multi-day offline runs are not measured, not claimed.
  • bwrap mount order is the truth-source order (EXP-9 lesson): ro-bind / → tmpfs /tmp → ro-bind jobDir.

Development

npm test   # 12-scenario acceptance, Linux edition (needs bubblewrap; see EXPERIMENTS.md environment prep)

License

Apache-2.0

Comments

Loading…

Similar plugins

dsh-podman

by Exagone313

Podman-backed execution for DeepSeek Harness (dsh)

Manifest valid

★ 4

↓ 992/wk

MIT

TypeScript

Oct 5, 2026

dsh plugin --profile web add @exagone313/dsh-podman

by g-yixuan

Codex-style side chat + selection annotations for DSH web.

UI & ExperienceManifest valid

★ 11

↓ 990/wk

MIT

TypeScript

Oct 10, 2026

dsh plugin --profile web add dsh-sidenote

by omdsh-dev

在 DeepSeek Harness 与 Codex、Claude Code、Pi、Reasonix、OpenCode 之间双向迁移对话记录,支持 CLI 与 Web UI

Manifest valid

★ 3

MIT

TypeScript

Aug 14, 2026

dsh plugin --profile web add @deepseek-ai/dsh-shuttle

by Me-Maped

面向 DeepSeek Harness 的终端直接问答模式:支持持久会话、流式输出,以及可选的 Fish、Bash、Zsh 和实验性 PowerShell 集成。

Manifest valid

★ 0

MIT

TypeScript

Sep 11, 2026

dsh plugin --profile web add @dsh-local/dsh-ask

by Chinesezjc

Cross-instance message/event handoff plugins for DSH (interconnect service + tools)

Tools & CapabilitiesManifest valid

★ 35

MIT

TypeScript

Sep 24, 2026

dsh plugin --profile agent add dsh-interconnect

by MkaliezZ

Lightweight read-only repository structure and symbol map for DSH; complements dsh-context-pack.

Development & InfrastructureManifest valid

★ 0

MIT

TypeScript

Aug 29, 2026

dsh plugin --profile web add @mkaliezz/dsh-repo-map