Linxiushen/dsh-workflow-isolate

Linxiushen★ 0TypeScript最后同步: 2026-08-17

在 GitHub 打开

QuickJS/WASM-isolated workflow engine for DeepSeek Harness with bounded resource controls

README 摘要

dsh-workflow-isolate 简体中文 Architecture Security model Compatibility dsh-workflow-isolate is a drop-in WorkflowEngine for DeepSeek Harness that runs model-written orchestration scripts in QuickJS/WASM. It preserves the DSH workflow hooks and lifecycle events while adding an independent JavaScript runtime, bounded guest memory and stack, interrupt fuel, a host wall deadline, forced worker termination, and child-agent budgets. DeepSeek Harness's official worker-thread engine deliberately uses node:vm as an API-shaping mechanism. Its documentation states that it is not a security boundary and calls for a different engine when scripts are not trusted. This project explores that engine seam without changing the model-facing workflow tool. [!IMPORTANT] QuickJS/WASM is a stronger language boundary than node:vm , not a claim of perfect isolation. The host-side subagent provider remains trusted and can use its configured model, tools, network, and credentials. Runtime vulnerabilities, side channels, supply-chain compromise, and host denial of service remain relevant. Read the security model before deploying it across trust boundaries. Why this exists Model-written workflow code sits in an un…

在 GitHub 查看完整 README →
工具/开发agentic-aideepseek-harnessdsh-pluginquickjssandboxtypescriptwebassemblyworkflow-engine

分类