dsh-autopilot
github.com/canhta/dsh-autopilot
v0.1.0-alpha.1
工具与效率
写入文件可终止进程发起网络请求
Autopilot 把已批准的跟踪系统工作转化为有边界的 agent 运行和可供评审的拉取请求,全部在 DeepSeek Harness(DSH)内完成。
作者原文(英文)
Turn approved tracker tickets into review-ready pull requests with DeepSeek Harness.
中文简介由 DeepSeek 模型翻译,仅供参考。
coding-agentdeepseek-harnessdsh-pluginissue-trackerpull-request-automationself-hostedworkflow-automation
检测报告
有一定能力。命中了若干能力模式,大多是插件正常工作时会用到的。
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一般244 处命中AGENTS.md:9- Autopilot is a DSH plugin. Before implementing a capability, inspect supported DSH services, plugins, presets and exte…AGENTS.md:14- Deliver production-ready behavior: validate external inputs, propagate actionable failures, own resource cleanup, prot…AGENTS.md:25Each rule has one public documentation owner. Keep reusable behavior in specs; record work progress, open questions, rev…CONTEXT.md:18**Provider binding**: A selected provider implementation and configured connection identity, excluding secret values.- 看它读取哪些凭据、发往哪里。用于登录自己的服务是正常的。
- 读取文件
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 | 一般 | 244 |
| 读取文件 | reads-files | 一般 | 4 |
| 文中出现远程脚本地址 | remote-url-reference | 一般 | 1 |
这份报告的口径
扫描读的是包里的源码,全程不执行第三方代码。 本次读了 315 个文件,扫描于 2026-10-14。 命中次数只说明源码里出现过这类调用,不说明行为好坏——一个插件读写文件 500 次和 1 次 都会被记为「读取文件」。这是能力清单,不是信任评分,也不是安全结论: 没扫出来的能力可能只是写法没被规则覆盖。