dsh-plugin-tool-management@0.22.8
CAUTION· install onlyPublisher claims: "一个设置面板,统一管理 MCP、技能、记忆、子智能体、提示词和归档会话;可自定义搭配场景,一个场景即可切换整个环境;Agent也能帮你操作这个插件。" Observed in sandbox: no network, touches nothing outside the project, writes no memory.
Coverage
Nothing executable in the bundle ran; the trace covers the install step only.- Tested
- every file read, file written and host contacted by what ran
- Not tested
- use of the skill by an agent
Is [email protected] safe to install?
KillerSkills ran it in the KillerSkills honeypot sandbox (1 scenario; nothing executable in the bundle ran; the trace covers the install step only) on 2026-11-13 and scored it 68/100 (Caution). It is not known to be malicious, but it has behaviour or code a security policy should decide on before install. Notable findings: URL with embedded credentials; Auto-update or dynamic fetch configuration; URL with embedded credentials. Summary: no network, touches nothing outside the project, writes no memory.
Behavior trace
Honeypot run · 0 s · 1 scenarios · 0 deviationsStatic findings
* 轮询等它的工具注册(npx 冷启动要下载,上限 TOOLS_REFRESH_TIMEOUT_MS),拿到名单后就Fix: Pin versions and sources; vendor anything fetched at install time.// 的话,`https://user:pass@host/mcp`(Basic-Auth 形态)与 `https://host/mcp#access_token=…`Fix: Stop enumerating or reading credential locations; take secrets from a declared environment variable the user sets on purpose.await writeFileAtomically(docPath, rewriteFrontmatterFields(text, { auto_status: status, auto_updated: nowIso, auto_confidence: null }));Fix: Pin versions and sources; vendor anything fetched at install time.// 导出文件含明文 env / headers 凭据:POSIX 上收窄到 0600。Windows 的 chmod 基本Fix: Request the narrowest permission that works; replace wildcards with the exact paths or hosts.* "这条 URL 是打码形态 ⇒ 不能写回盘"。只判查询串的话,`https://user:pass@host/mcp`Fix: Stop enumerating or reading credential locations; take secrets from a declared environment variable the user sets on purpose.* 那一层没有 `dsh` 自己;按同级包判会把全局安装整体跳过,退到 npx 缓存里另一代宿主上Fix: Pin versions and sources; vendor anything fetched at install time.* `npm_config_cache`、`~/.npmrc` 的 `cache=`、`%LOCALAPPDATA%\npm-cache` —— probe 全程同步,Fix: Stop enumerating or reading credential locations; take secrets from a declared environment variable the user sets on purpose.// npx 首次启动要下载包,慢的那次可能要好几秒;给 30 秒上限,超了就如实报"没等到"。Fix: Pin versions and sources; vendor anything fetched at install time.lines.push('日志: ' + input.log.path + ' ' + (typeof input.log.bytes === 'number' ? String(input.log.bytes) + ' B' : '大小未知'));Fix: Remove the call, or declare the host in frontmatter and explain in the README what is sent and why.// ③ **安全门没有例外、不清洗**。`curl … | sh` 不会因为"用户确实这么说了"就变成无害;Fix: Build commands from fixed arguments, never from interpolated strings; prefer an API client over shelling out.// 破坏性删除:根目录之外,家目录与顶层目录同样是灾难(`rm -rf ~`、`rm -rf /home`)。Fix: Build commands from fixed arguments; do not interpolate untrusted strings into a shell.* ① 桌面版归档(`resources/app.asar`)—— 必须排在 npx 缓存**之前**,否则装过 web 版的Fix: Pin versions and sources; vendor anything fetched at install time.// ③ **安全门没有例外、不清洗**。`curl … | sh` 不会因为"用户确实这么说了"就变成无害;Fix: Build commands from fixed arguments, never from interpolated strings; prefer an API client over shelling out.// 管道进 shell 的变体:`| sudo bash`、`| /bin/bash`、`| sh -s`。原判据要求 `|` 后紧跟Fix: Build commands from fixed arguments; do not interpolate untrusted strings into a shell.* 只替换 `search` 的话,`https://user:pass@host/mcp` 与 `https://host/mcp#access_token=…`Fix: Stop enumerating or reading credential locations; take secrets from a declared environment variable the user sets on purpose.// 「把 `npx A` 改成 `npx B`」与「新增一台跑 `npx B` 的」是两件不同的事,Fix: Pin versions and sources; vendor anything fetched at install time.* ④ npx 缓存(`dsh web` 经 npx 跑时的落点;多命中取最新)。Fix: Pin versions and sources; vendor anything fetched at install time.// `\b` 在 `_` 前不成立(下划线是词字符),于是 `OPENAI_API_KEY=…` 这种最典型的 `.env` 写法Fix: Stop enumerating or reading credential locations; take secrets from a declared environment variable the user sets on purpose.* 于是在桌面宿主上要么报 "host installation not found",要么拿 npx 缓存里**另一代宿主**Fix: Pin versions and sources; vendor anything fetched at install time.// 凭据走 ~/.npmrc(宿主安装器的口径),不跟着地址进缓存与界面。Fix: Stop enumerating or reading credential locations; take secrets from a declared environment variable the user sets on purpose.// **不调 `mcpm-tools-refresh`**:那个会临时起进程(npx 冷启动可能几十秒),Fix: Pin versions and sources; vendor anything fetched at install time.Cost to the agent
Tokens estimated at four characters each. Skills load their instruction text when triggered; the figure is what that costs.
Known vulnerabilities
No advisories in OSV for dsh-plugin-tool-management@0.22.8 as of 30 h ago. This is the package itself, not its dependencies.
What would make this Verified
12 points to 80 · weights: behavior 45%, static 25%, prompt 15%, publisher 15%- Pipe-to-shell pattern≈ +9 on the totalBuild commands from fixed arguments, never from interpolated strings; prefer an API client over shelling out.
- Unclaimed publisher≈ +8 on the totalClaim ouli-1242: a verified publisher gets +50 on publisher trust. It is free and usually instant with GitHub sign-in.
- URL with embedded credentials≈ +4 on the totalStop enumerating or reading credential locations; take secrets from a declared environment variable the user sets on purpose.
- Auto-update or dynamic fetch configuration≈ +4 on the totalPin versions and sources; vendor anything fetched at install time.
- References a credential file in the home directory≈ +4 on the totalStop enumerating or reading credential locations; take secrets from a declared environment variable the user sets on purpose.
- Destructive file system command detected≈ +4 on the totalBuild commands from fixed arguments; do not interpolate untrusted strings into a shell.