← Back to list

dsh-tool-pwsh-safe

DeepSeek Harness Tools & Capabilities Low risk

Runs PowerShell scripts through base64 encoding, so quotes, $, backslashes and CJK survive as written. Same sandbox channel as the built-in pwsh tool.

把 PowerShell 脚本 base64 编码后执行,引号、$、反斜杠、中文全部原样传递,免去转义地狱。走与内置 pwsh 工具相同的沙箱通道。

How to install

DeepSeek Harness dsh plugin add dsh-tool-pwsh-safe

About

🥊 dsh-tool-pwsh-safe **你是否见过 dsh 疯狂肘击 PowerShell?** 单引号、双引号、反斜杠、$ 展开、反引号、换行、中文…… 每个 AI agent 都曾在 PowerShell 转义地狱里被肘击到怀疑人生。 这是什么 dsh-tool-pwsh-safe 是一个 DSH 工具插件:模型要跑 PowerShell 时,把整个脚本**原样**交给我,剩下的转义问题我来扛。 text 你的脚本(多行随便写) ↓ base64 编码(纯 ASCII,引号/$/反斜杠全部变安全字符) ↓ 走 DSH 沙箱化 pwsh 执行器(ctx.shell,和内置 pwsh 同一条通道) ↓ 结果带沙箱标记 / 完整输出 spill 落盘路径 / 退出码 对比:肘击 vs 不肘击 | 场景 | 内置 pwsh 的日常 | pwsh_safe | | --- | --- | --- | | 想输出 他说:"你好" | 转义套转义,祈祷能跑 | 原样写,原样跑 | | 多行脚本 | 每行拼接、层层转义 | 整段直接贴 | | $env:PATH -replace ';',';' | 连环事故 | 没事发生 | | 中文输出 | 乱码/编码错误 | UTF-8 编码,稳 | 特性 走 **DSH 沙箱通道**:和内置 pwsh 工具同一执行器,沙箱策略 / Constr…

Recommendation signals

58 Tool quality · Based on stars, downloads, maintenance, security and docs
User interest · Adjusted by in-site views, install copies and download clicks
58 Overall
0views
0unique visitors
0install copies
0download clicks
0outbound clicks

Meta

License
NOASSERTION
Language
JavaScript
GitHub stars
2
mo. downloads
244
Last push
2026-08-25
Created
2026-08-20

Links

Basic safety check

Findings
None
Sources
curated:awesome-dsh-plugin.com, curated:awesome-dsh-plugin/awesome-dsh-plugin
Topics
dsh, dsh-plugin

Related plugins

MCP Server
Score100

openclaw

openclaw/openclaw

The AI that really does things. Any OS. Any Platform. The lobster way. 🦞

☆ 389.7K ↓ 12.6M Tools & Capabilities
MCP Server
Score95

Figma-Context-MCP

GLips/Figma-Context-MCP

MCP server to provide Figma layout information to AI coding agents like Cursor

☆ 15.9K ↓ 307.5K Tools & Capabilities
MCP Server
Score93

fastmcp

punkpeye/fastmcp

A TypeScript framework for building MCP servers.

☆ 3.3K ↓ 2.1M Tools & Capabilities
MCP Server
Score90

mobile-mcp

mobile-next/mobile-mcp

Model Context Protocol Server for Mobile Automation and Scraping (iOS, Android, Emulators, Simulators and Real Devices)

☆ 6.7K ↓ 73.4K Tools & Capabilities