dsh-taskboard
v0.1.8
其他
写入文件发起网络请求动态执行代码
为 DeepSeek Harness 提供的原生、本地项目任务管理。SQLite 是唯一的任务权威来源。Harness 的 Agent Session、Goal、Workspace、工具、权限以及 Web Client 仍然是执行与对话的归属方。
作者原文(英文)
Native local project taskboard bundle for DeepSeek Harness
中文简介由 DeepSeek 模型翻译,仅供参考。
检测报告
有一定能力。命中了若干能力模式,大多是插件正常工作时会用到的。
3需留意5一般16未命中
高关注需留意一般
能力清单
- 写入文件
writes-files需留意16 处命中lib/cli.js:281writeFileSync(path, downloaded.bytes, { flag: 'wx', mode: 0o600 });lib/sqlite/paths.js:154const write = options.write ?? ((path, content) => { writeFileSync(path, content, { flag: 'wx' }); });lib/sqlite/provider.js:1460mkdirSync(dirname(path), { recursive: true });lib/sqlite/provider.js:1470renameSync(temporary, path);- 看写入位置。写自己的配置目录是正常的,写系统目录不是。
- 发起网络请求
network需留意3 处命中lib/client.js:529const response = await fetch(ticket.url, {lib/client/controller.js:361const response = await fetch(ticket.url, { method: ticket.method, body: file, ...(signal === undefined ? {} : { signal }…src/client/controller.ts:463const response = await fetch(ticket.url, { method: ticket.method, body: file, ...(signal === undefined ? {} : { signal }…- 看请求发往哪些域名。发往作者自己的后端是常见做法。
- 动态执行代码
dynamic-code需留意1 处命中lib/client.js:1670new Function("");- 看 eval / new Function 的入参来自哪里。常量字符串和用户输入是两回事。
- 读取文件
reads-files一般18 处命中lib/service/attachments.js:109const stream = createReadStream(opened.path);lib/cli.js:267const size = statSync(path).size;lib/cli.js:274bytes: readFileSync(path),lib/sqlite/provider.js:818const bytes = readFileSync(this.storagePath(String(row['storage_key'])));- 读文件是绝大多数插件的正常工作方式,本身不构成顾虑。
- 读取环境变量
reads-env一般12 处命中lib/cli.js:126const layout = resolveTaskboardStorage(options.get('database') ?? process.env['DSH_TASKBOARD_DATABASE'] ?? DEFAULT_TASKB…lib/cli.js:130?? process.env['DSH_TASKBOARD_ATTACHMENTS']lib/cli.js:131?? process.env['DSH_TASKBOARD_ATTACHMENT_ROOT']lib/cli.js:140?? process.env['DSH_TASKBOARD_ALLOWED_CONTENT_TYPES']- 环境变量里常混有密钥。看它是否把整个 env 都读走。
- 动态加载模块
dynamic-import一般9 处命中lib/typert.host.js:290"declaration": "export interface SavedWorkflow {\n readonly id: TaskboardWorkflowId;\n readonly projectId: import('./ids…docs/install-plugin-prompt.zh.md:65"import('{{PKG_NAME}}').then(m=>console.log('OK', m.name, typeof m.apply)).catch(e=>{console.error(e.message);process.ex…README.md:133"import('@shengsheng/dsh-taskboard').then(m=>console.log('OK', m.name, typeof m.apply)).catch(e=>{console.error(e.messag…README.zh.md:133"import('@shengsheng/dsh-taskboard').then(m=>console.log('OK', m.name, typeof m.apply)).catch(e=>{console.error(e.messag…- 动态导入本身无害,但会让依赖关系难以静态审阅。
- 接触凭据或密钥
credentials一般8 处命中docs/acceptance-audit.md:3This file maps the 13 rows in the bilingual proposal's local functional acceptance matrix to current-state evidence. `PA…docs/acceptance-audit.md:11| Harness Sessions | OPERATOR | The worker creates or resumes the original root Session, persists task-sourced user mess…docs/acceptance-audit.md:33The deterministic browser fixture is `examples/taskboard/browser-fixture.html`. The real-Host keyless smoke artifact is …docs/browser-e2e.md:3The deterministic browser fixture loads the production `lib/client.js` bundle and supplies a stateful in-memory Remote. …- 看它读取哪些凭据、发往哪里。用于登录自己的服务是正常的。
- 文中出现远程脚本地址
remote-url-reference一般7 处命中docs/install-plugin-prompt.zh.md:75curl -s -o /dev/null -w '%{http_code}\n' http://127.0.0.1:{{PORT}}/plugins/{{PKG_NAME}}/client.js # 期望 200docs/install-plugin-prompt.zh.md:130echo "bundle http: $(curl -s -o /dev/null -w '%{http_code}' "http://127.0.0.1:$PORT/plugins/$PLUGIN/client.js")"docs/install-plugin-prompt.zh.md:156curl -s -o /dev/null -w '%{http_code}\n' http://127.0.0.1:{{PORT}}/plugins/{{PKG_NAME}}/client.jsREADME.md:146curl -s -o /dev/null -w '%{http_code}\n' http://127.0.0.1:3080/plugins/@shengsheng/dsh-taskboard/client.js- 只是文本里出现了远程脚本地址,没有看到加载它的调用。多半是文档或注释;若确实可疑,搜一下这个地址在包里的其他出现位置。
逐条扫描明细
| 能力 | 标识 | 关注度 | 命中次数 |
|---|---|---|---|
| 写入文件 | writes-files | 需留意 | 16 |
| 发起网络请求 | network | 需留意 | 3 |
| 动态执行代码 | dynamic-code | 需留意 | 1 |
| 读取文件 | reads-files | 一般 | 18 |
| 读取环境变量 | reads-env | 一般 | 12 |
| 动态加载模块 | dynamic-import | 一般 | 9 |
| 接触凭据或密钥 | credentials | 一般 | 8 |
| 文中出现远程脚本地址 | remote-url-reference | 一般 | 7 |
这份报告的口径
扫描读的是包里的源码,全程不执行第三方代码。 本次读了 95 个文件,扫描于 2026-10-14。 命中次数只说明源码里出现过这类调用,不说明行为好坏——一个插件读写文件 500 次和 1 次 都会被记为「读取文件」。这是能力清单,不是信任评分,也不是安全结论: 没扫出来的能力可能只是写法没被规则覆盖。