D

dsh-ditto

github.com/darrien1998/dsh-ditto

v0.3.0 技能包 可执行外部程序写入文件发起网络请求

Review-first batch automation for DeepSeek Harness: evidence-backed Code to Spec plus safe bulk file organisation with complete manifests, reviewed sidecars, and deterministic ZIP delivery.

该插件尚未翻译,显示作者原文。

dsh-plugindeepseek-harnessdshdeepseekharnessplugincordisagent-skill
分类
skill
发布
2026-09-20
版本
v0.3.0

检测报告

关注度高。命中了不少能力模式,其中可能有需要留意的。逐条看下面的清单。
1高关注3需留意4一般16未命中
高关注需留意一般

能力清单

  • 可执行外部程序spawns-processes高关注1 处命中
    • dist/doctor.js:1import { spawnSync } from 'node:child_process';
    • 看它调用哪些程序。调用本机已有的工具是常见做法。
  • 写入文件writes-files需留意25 处命中
    • dist/core/apply.js:153await writeFile(temporary, content, { encoding: 'utf8', flag: 'wx' });
    • dist/core/apply.js:156await copyFile(temporary, destination, constants.COPYFILE_EXCL);
    • dist/core/apply.js:210await copyFile(prepared.temporary, prepared.target, constants.COPYFILE_EXCL);
    • dist/core/apply.js:256await copyFile(source, temporary, constants.COPYFILE_EXCL);
    • 看写入位置。写自己的配置目录是正常的,写系统目录不是。
  • 发起网络请求network需留意4 处命中
    • dist/ui/spec-workbench.js:80const request=async(path,body)=>{const response=await fetch(api(path),{method:'POST',credentials:'same-origin',headers:{…
    • dist/ui/workbench.js:64async function request(path,body){const response=await fetch(api(path),{method:'POST',credentials:'same-origin',headers:…
    • dist/ui/workbench.js:65async function refresh(){const response=await fetch(api('/api/plan'),{credentials:'same-origin'});if(!response.ok)throw …
    • dist/ui/workbench.js:69async function loadRecipes(){const list=$('#recipe-list');try{const response=await fetch(api('/api/recipe'),{credentials…
    • 看请求发往哪些域名。发往作者自己的后端是常见做法。
  • 可终止进程kills-processes需留意1 处命中
    • dist/core/state-paths.js:184process.kill(saved.pid, 0);
    • 看它终止的是自己启动的进程,还是按名字匹配到的任意进程。
  • 读取文件reads-files一般27 处命中
    • dist/spec/apply.js:57if (hash(await readFile(source)) !== item.sourceHash)
    • dist/spec/apply.js:65if (hash(await readFile(temporary, 'utf8')) !== item.renderedHash || hash(await readFile(source)) !== item.sourceHash)
    • dist/spec/apply.js:68if (hash(await readFile(output, 'utf8')) !== item.renderedHash) {
    • dist/spec/apply.js:97if (hash(await readFile(source)) !== item.sourceHash)
    • 读文件是绝大多数插件的正常工作方式,本身不构成顾虑。
  • 接触凭据或密钥credentials一般12 处命中
    • dist/demo.js:11['src/config/env.ts', `export interface Env { port: number; databaseUrl: string; webhookSecret?: string }\n\nexport func…
    • dist/demo.js:22['src/utils/validate.ts', `import { createHmac, timingSafeEqual } from 'node:crypto'\n\nexport function isEmail(value: s…
    • dist/ui/spec-workbench.js:80const request=async(path,body)=>{const response=await fetch(api(path),{method:'POST',credentials:'same-origin',headers:{…
    • dist/dsh/tools/spec.js:99metadata: { type: 'object', additionalProperties: true, description: 'Optional bounded string-only audit metadata about …
    • 看它读取哪些凭据、发往哪里。用于登录自己的服务是正常的。
  • 动态加载模块dynamic-import一般12 处命中
    • dist/doctor.js:130return require(`${name}/package.json`).version;
    • dist/doctor.js:142import('@deepseek-ai/cordis'),
    • dist/doctor.js:143import('@deepseek-ai/dsh-skill'),
    • dist/doctor.js:144import('@deepseek-ai/dsh-system-prompt'),
    • 动态导入本身无害,但会让依赖关系难以静态审阅。
  • 读取环境变量reads-env一般5 处命中
    • dist/demo.js:11['src/config/env.ts', `export interface Env { port: number; databaseUrl: string; webhookSecret?: string }\n\nexport func…
    • dist/demo.js:22['src/utils/validate.ts', `import { createHmac, timingSafeEqual } from 'node:crypto'\n\nexport function isEmail(value: s…
    • dist/doctor.js:16const env = options.env ?? process.env;
    • 环境变量里常混有密钥。看它是否把整个 env 都读走。
逐条扫描明细
能力标识关注度命中次数
可执行外部程序spawns-processes高关注1
写入文件writes-files需留意25
发起网络请求network需留意4
可终止进程kills-processes需留意1
读取文件reads-files一般27
接触凭据或密钥credentials一般12
动态加载模块dynamic-import一般12
读取环境变量reads-env一般5

这份报告的口径

扫描读的是包里的源码,全程不执行第三方代码。 本次读了 80 个文件,扫描于 2026-10-15。 命中次数只说明源码里出现过这类调用,不说明行为好坏——一个插件读写文件 500 次和 1 次 都会被记为「读取文件」。这是能力清单,不是信任评分,也不是安全结论: 没扫出来的能力可能只是写法没被规则覆盖。

依赖安全公告

已查询这个插件声明的全部依赖,没有匹配到已公开的安全公告。(含 DSH 框架包在内的 @deepseek-ai/* 不作查询——那是运行时自己的问题,不是插件的。)

← 返回全部插件