A

assistant-delivery

github.com/22-ai-00/dsh-enhanced

v0.1.48 其他 写入文件

本地安装初始化可使用 `ensurePrincipalLocally({ databasePath, principal })`:只在空库创建 owner,已有相同 active owner 时原样返回;不同身份、linked 或 revoked 均拒绝。它不具有 `pairPrincipalLocally()` 的 owner 交接副作用,适合可重复安装流程;显式交接继续使用原 API。

作者原文(英文)

A durable, policy-gated inbound/outbound message core for DeepSeek Harness.

中文简介由 DeepSeek 模型翻译,仅供参考。

deepseekdeepseek-harnessdsh-plugin
分类
other
发布
2026-09-26
版本
v0.1.48

检测报告

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

能力清单

  • 写入文件writes-files需留意5 处命中
    • lib/agent-runtime.js:813await mkdir(workspace, { recursive: true, mode: 0o700 });
    • lib/operator-snapshot.js:428unlinkSync(`${anchor}/${name}`);
    • lib/operator-snapshot.js:915rmSync(temporaryPath, { recursive: true, force: true });
    • lib/service.js:596mkdirSync(config.spoolPath, { recursive: true, mode: 0o700 });
    • 看写入位置。写自己的配置目录是正常的,写系统目录不是。
  • 动态加载模块dynamic-import一般11 处命中
    • lib/agent-runtime.d.ts:75principalLineage: Readonly<import('./types.js').DeliveryOwnerLineage>;
    • lib/agent-runtime.d.ts:76admissionCursor: Readonly<import('./types.js').DeliveryAdmissionCursor>;
    • lib/agent-runtime.d.ts:84dispatchObjectiveFeedback(binding: Readonly<ConversationBinding>, envelope: Readonly<InboundEnvelope>, objectiveStatus: …
    • lib/feedback-command.d.ts:58principalLineage: Readonly<import('./types.js').DeliveryOwnerLineage>;
    • 动态导入本身无害,但会让依赖关系难以静态审阅。
  • 接触凭据或密钥credentials一般9 处命中
    • lib/agent-runtime.js:137'auth', 'authorization', 'bearer', 'cookie', 'cookies', 'credential', 'credentials',
    • lib/agent-runtime.js:138'password', 'passwd', 'secret', 'session', 'token',
    • lib/agent-runtime.js:140|| ['apikey', 'accesskey', 'privatekey'].some(phrase => joined.includes(phrase))
    • lib/agent-runtime.js:144* Text credentials have no trustworthy terminator: quotes may be malformed or multiply escaped,
    • 看它读取哪些凭据、发往哪里。用于登录自己的服务是正常的。
  • 读取文件reads-files一般3 处命中
    • lib/operator-snapshot.js:26const directory = statSync(parent);
    • lib/operator-snapshot.js:307entries = readdirSync(operatorProcSelfFd);
    • lib/operator-snapshot.js:438entries = readdirSync(anchor);
    • 读文件是绝大多数插件的正常工作方式,本身不构成顾虑。
逐条扫描明细
能力标识关注度命中次数
写入文件writes-files需留意5
动态加载模块dynamic-import一般11
接触凭据或密钥credentials一般9
读取文件reads-files一般3

这份报告的口径

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

依赖安全公告

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

← 返回全部插件