浏览全部

工具与效率 · v0.1.0-alpha.1

dsh-autopilot

github.com/canhta/dsh-autopilot

能力写入文件可终止进程发起网络请求

Autopilot 在 DeepSeek Harness(DSH)中将已批准的 tracker 工作转化为有边界的 agent 运行和可供审查的 pull request。

作者原文(英文)

Autopilot turns approved tracker work into bounded agent runs and review-ready pull requests inside DeepSeek Harness (DSH).

简介取自插件 README 开头,由 DeepSeek 模型翻译,仅供参考。

coding-agentdeepseek-harnessdsh-pluginissue-trackerpull-request-automationself-hostedworkflow-automation
认证 L0已扫描 ✓健康 S/95周下载 94
8 项能力
许可
MIT
发布
2026-09-12
维护者
canhta
插件 ID
125

安装命令

dsh plugin --profile web add @canhta/dsh-autopilot@0.1.0-alpha.1

强装可用 · 需绕过门禁

当前 DSH 版本上 CLI 拒绝安装这个包。用 --accept-risk 绕过门禁之后,它能装上并挂载——限制来自版本策略,不是包坏了。要用它,得自己决定这个风险值不值得承担。

检测报告

有一定能力。命中了若干能力模式,大多是插件正常工作时会用到的。
4需留意4一般16未命中
高关注需留意一般

能力清单

  • 写入文件writes-files需留意9 处命中
    • lib/dispatch/execute.js:21await mkdir(dirname(run.execution.worktreePath), { recursive: true });
    • lib/operations/runtime-owner.js:112await rename(owned.lockPath, releasePath);
    • lib/operations/runtime-owner.js:123await mkdir(dirname(absolute), { recursive: true, mode: 0o700 });
    • lib/operations/runtime-owner.js:134await mkdir(dirname(lockPath), { recursive: true, mode: 0o700 });
    • 看写入位置。写自己的配置目录是正常的,写系统目录不是。
  • 可终止进程kills-processes需留意1 处命中
    • lib/operations/runtime-owner.js:235process.kill(owner.pid, 0);
    • 看它终止的是自己启动的进程,还是按名字匹配到的任意进程。
  • 发起网络请求network需留意1 处命中
    • lib/providers/notification-http.js:31response = await fetch(destination.url, {
    • 看请求发往哪些域名。发往作者自己的后端是常见做法。
  • 动态执行代码dynamic-code需留意1 处命中
    • lib/client.js:137new Function("");
    • 看 eval / new Function 的入参来自哪里。常量字符串和用户输入是两回事。
  • 动态加载模块dynamic-import一般388 处命中
    • lib/admission/model.d.ts:274readonly payload: Extract<import('../tracker.js').TrackerOutboundDelivery, {
    • lib/admission/model.d.ts:280readonly payload: Extract<import('../tracker.js').TrackerOutboundDelivery, {
    • lib/admission/model.d.ts:285readonly providerId: import('../notification.js').NotificationProviderId;
    • lib/admission/model.d.ts:286readonly destinationId: import('../notification.js').NotificationDestinationId;
    • 动态导入本身无害,但会让依赖关系难以静态审阅。
  • 接触凭据或密钥credentials一般10 处命中
    • lib/admission/deliveries.js:130if (url.protocol !== 'https:' || url.username !== '' || url.password !== '') {
    • lib/client.js:6779"credential": "gRqt2a_credential"
    • lib/client.js:7900describeCredentials: async (refs) => unwrap(await ctx.remote.credentials.describe([...refs])),
    • lib/client.js:7901setCredential: async (ref, value) => unwrap(await ctx.remote.credentials.set(ref, value)),
    • 看它读取哪些凭据、发往哪里。用于登录自己的服务是正常的。
  • 读取文件reads-files一般4 处命中
    • lib/operations/runtime-owner.js:201const parsed = JSON.parse(await readFile(`${lockPath}/${OWNER_FILE}`, 'utf8'));
    • lib/operations/runtime-owner.js:244return (await readFile('/proc/sys/kernel/random/boot_id', 'utf8')).trim();
    • lib/operations/runtime-owner.js:252const value = await readFile(`/proc/${String(pid)}/stat`, 'utf8');
    • lib/publication/git.js:67const bytes = await readFile(absolute);
    • 读文件是绝大多数插件的正常工作方式,本身不构成顾虑。
  • 文中出现远程脚本地址remote-url-reference一般1 处命中
    • docs/specs/integrations.md:87Primary sources: [Atlassian MCP supported tools](https://support.atlassian.com/atlassian-ai-gateway/docs/supported-tools…
    • 只是文本里出现了远程脚本地址,没有看到加载它的调用。多半是文档或注释;若确实可疑,搜一下这个地址在包里的其他出现位置。
逐条扫描明细
能力标识关注度命中次数
写入文件writes-files需留意9
可终止进程kills-processes需留意1
发起网络请求network需留意1
动态执行代码dynamic-code需留意1
动态加载模块dynamic-import一般388
接触凭据或密钥credentials一般10
读取文件reads-files一般4
文中出现远程脚本地址remote-url-reference一般1

这份报告的口径

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

可信度

95 健康分 S 扣分项下方逐条附证据
  • -5cordis entry id「autopilot」被 2 个包共用,同时安装会互相替换warn:dsh-ai-team

认证等级 L0

  • L0静态结构与契约✓sha512-K71LZEwIm5bFpYGg… 与本地 tarball 复算一致,补丁与入口齐备
  • L1配置组合与依赖图—entry id autopilot 被 2 个包共用
  • L2隔离沙箱冒烟—试装未通过(forced-ok)
  • L3运行时健康监控—未抽样(本层是抽样检测:没有会话不等于干净)
评分口径与作者信息

从 100 分开始按规则扣减:fail −20 / major −10 / warn −5 / minor −2;star 数、下载量、LLM 输出都不参与评分

维护者
canhta
仓库
https://github.com/canhta/dsh-autopilot
许可
MIT
最后发布
2026-09-12
周下载
94
star
0

扫描状态:已扫描。能力是事实,不是缺陷; 周下载与 star 只作参考,不参与评分。

认证等级只回答四件事:包本身是否完整可解析(L0)、能不能与别的插件组合(L1)、隔离环境里装不装得上并起得来(L2)、抽样运行时有没有异常(L3)。依赖漏洞、仓库存活、下载量都不参与评级,只作为独立信号标注。可信 ≠ 无漏洞,上架 ≠ 推荐。

DSH peer 依赖18 个cordisdsh-agentdsh-agent-default-modeldsh-agent-presetsdsh-credentialsdsh-host-webserverdsh-llmdsh-permission-presetsdsh-scopedsh-sessiondsh-session-persistencedsh-settings等 18 个均为 @deepseek-ai/ 下的包
Node 要求>=24.0.0
第三方依赖20 个
bundle patch./cordis.patch.yml
依赖安全公告1 条,见下方

这个插件声明的依赖中,有 1 条已公开的安全公告 (最高等级:低):

等级依赖包编号摘要
低zodCVE-2023-4316Zod denial of service vulnerability
修复版本:3.22.3 详情

查询的是依赖声明范围的下界(如 ^4.2.0 查 4.2.0), 不是实际安装到的版本。真正装的时候如果解析到了修复版本,就不受影响—— 所以这是「可能受影响」,不是「这个插件有漏洞」。数据来自 OSV.dev。

元数据

主页https://github.com/canhta/dsh-autopilot#readme
仓库最近提交2026-09-14
仓库创建2026-09-11

返回首页