dsh
github.com/zenstory-ai/oh-story-dsh
v0.1.15
技能包
可执行外部程序R010 向其他插件注入含混淆或编码代码
一套以原著为依据的小说改编游戏工作流:改编设计、目标运行时构建,以及基于实证的 QA。
作者原文(英文)
A DSH plugin for fiction, short-drama, interactive-game, and video-recap production
中文简介由 DeepSeek 模型翻译,仅供参考。
deepseek-harnessdsh-pluginoh-storydrama-skillsnovel-to-gamecreative-writingfiction-writingnovel-writing
检测报告
关注度高。命中了不少能力模式,其中可能有需要留意的。逐条看下面的清单。
2高关注3需留意5一般14未命中
高关注需留意一般
能力清单
- 可执行外部程序
spawns-processes高关注1 处命中lib/index.js:471import { execFile } from "node:child_process";- 看它调用哪些程序。调用本机已有的工具是常见做法。
- R010 向其他插件注入
plugin-tree-injection高关注1 处命中- @oh-story/dsh
- 看 patch 里 insert 的包是不是本项目自己的。插入第三方代码要格外留意。
- 含混淆或编码代码
obfuscated-code需留意294 处命中lib/client.js:713for (let item of items) add({ severity: "error", code: "duplicate_id", path: item.path, offset: item.offset, targetId: i…lib/client.js:715visual.stableId || add(visual.declaredId === void 0 ? { severity: "warning", code: "generated_visual_id", path: visual.p…lib/client.js:733for (let motion of motions) add({ severity: "error", code: "multiple_motions", path: motion.path, offset: motion.offset,…lib/client.js:966return /* @__PURE__ */ (0, import_jsx_runtime3.jsxs)("section", { className: "oh-story-canvas-shell", "aria-label": "\u7…- 混淆本身不是恶意,但公开源码里出现大段混淆值得问一句为什么。
- 写入文件
writes-files需留意207 处命中lib/index.js:74await mkdir(path, { recursive: true, mode: 448 });lib/index.js:98await writeFile(staging, `${JSON.stringify(dramaAdapterConfigDocument(skillRoot, options.python ?? "python3"), null, 2)}lib/index.js:100await rename(staging, location.path);…scripts/normalize-punctuation.js:80fs.writeFileSync(fullPath, result.output, 'utf8');- 看写入位置。写自己的配置目录是正常的,写系统目录不是。
- 发起网络请求
network需留意10 处命中lib/client.js:1284return fetch(endpoint("drama-preflight", sessionId), { signal: controller.signal }).then(async (response) => {lib/client.js:1966return setContent(void 0), setError(void 0), fetch(endpoint("file", sessionId, selected), { signal: controller.signal })…lib/client.js:2016fetch(endpoint("video-preflight", sessionId)).then(async (response) => {lib/client.js:3604return setError(void 0), fetch(endpoint("workspace", sessionId), { signal: controller.signal }).then((response) => json(…- 看请求发往哪些域名。发往作者自己的后端是常见做法。
- 动态加载模块
dynamic-import一般912 处命中…deo-understanding/scripts/asr.py:11from asr_timing_evidence import (…ts/adoption/audio_mix_binding.py:12from adoption.strict_inputs import (…eo-assemble/scripts/audio_mix.py:7from audio_automation import (…/scripts/author_memory_commit.py:104def require(condition: bool, message: str) -> None:- 动态导入本身无害,但会让依赖关系难以静态审阅。
- 接触凭据或密钥
credentials一般382 处命中lib/client.js:1998/* @__PURE__ */ (0, import_jsx_runtime5.jsxs)("span", { "data-ready": preflight.credentials.mimo || void 0, children: [lib/client.js:2000preflight.credentials.mimo ? "\u5DF2\u914D\u7F6E" : "\u672A\u914D\u7F6E"lib/client.js:2002(preflight.credentials.ttsProvider === "fish-audio" || preflight.credentials.ttsProvider === "auto" && !preflight.creden…lib/client.js:2004preflight.credentials.fish ? "\u5DF2\u914D\u7F6E" : "\u672A\u914D\u7F6E"- 看它读取哪些凭据、发往哪里。用于登录自己的服务是正常的。
- 读取文件
reads-files一般38 处命中…lop/scripts/check-ai-patterns.js:368input = fs.readFileSync(fullPath, 'utf8');…ite/scripts/check-ai-patterns.js:368input = fs.readFileSync(fullPath, 'utf8');…iew/scripts/check-ai-patterns.js:368input = fs.readFileSync(fullPath, 'utf8');…ite/scripts/check-ai-patterns.js:368input = fs.readFileSync(fullPath, 'utf8');- 读文件是绝大多数插件的正常工作方式,本身不构成顾虑。
- 读取环境变量
reads-env一般5 处命中lib/index.js:67function dramaAdapterConfigPath(skillRoot, env = process.env, temporaryRoot = tmpdir()) {lib/index.js:89const location = dramaAdapterConfigPath(skillRoot, options.env ?? process.env, options.temporaryRoot ?? tmpdir());lib/index.js:106function dramaAdapterStatuses(env = process.env) {lib/index.js:1389return names.some((name2) => (process.env[name2] ?? "") !== "");- 环境变量里常混有密钥。看它是否把整个 env 都读走。
- 文中出现远程脚本地址
remote-url-reference一般1 处命中…n-ping-mei/build/app/vercel.json:2"$schema": "https://openapi.vercel.sh/vercel.json",- 只是文本里出现了远程脚本地址,没有看到加载它的调用。多半是文档或注释;若确实可疑,搜一下这个地址在包里的其他出现位置。
逐条扫描明细
| 能力 | 标识 | 关注度 | 命中次数 |
|---|---|---|---|
| 可执行外部程序 | spawns-processes | 高关注 | 1 |
| R010 向其他插件注入 | plugin-tree-injection | 高关注 | 1 |
| 含混淆或编码代码 | obfuscated-code | 需留意 | 294 |
| 写入文件 | writes-files | 需留意 | 207 |
| 发起网络请求 | network | 需留意 | 10 |
| 动态加载模块 | dynamic-import | 一般 | 912 |
| 接触凭据或密钥 | credentials | 一般 | 382 |
| 读取文件 | reads-files | 一般 | 38 |
| 读取环境变量 | reads-env | 一般 | 5 |
| 文中出现远程脚本地址 | remote-url-reference | 一般 | 1 |
这份报告的口径
扫描读的是包里的源码,全程不执行第三方代码。 本次读了 812 个文件,扫描于 2026-10-14。 命中次数只说明源码里出现过这类调用,不说明行为好坏——一个插件读写文件 500 次和 1 次 都会被记为「读取文件」。这是能力清单,不是信任评分,也不是安全结论: 没扫出来的能力可能只是写法没被规则覆盖。