浏览全部

其他 · v0.3.12

dsh-plugin

github.com/AgentConnect/dsh-awiki

能力含混淆或编码代码写入文件发起网络请求

DeepSeek Harness 的 AWiki 账户、授权、恢复与消息传递。

作者原文(英文)

AWiki account, authorization, recovery, and messaging for DeepSeek Harness.

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

awikideepseekdeepseek-harnessdshdsh-pluginagent-messaging
认证 L0已扫描 ✓健康 B/85周下载 367
7 项能力
许可
MIT
发布
2026-09-15
维护者
liuzhuocheng、chgaowei 等 3 人
插件 ID
102

安装命令

dsh plugin --profile web add @awiki/dsh-plugin@0.3.12

强装可用 · 需绕过门禁

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

检测报告

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

能力清单

  • 含混淆或编码代码obfuscated-code需留意76 处命中
    • …lient/AwikiDeviceJoinReminder.js:72return (_jsxs(_Fragment, { children: [_jsx(Modal, { open: request !== null, onClose: dismiss, title: "\u6709\u65B0\u8BBE…
    • lib/types/client/AwikiDevices.js:137return (_jsxs("section", { className: css.page, "aria-label": "AWiki \u8BBE\u5907\u7BA1\u7406", children: [_jsxs("header…
    • lib/types/client/AwikiDevices.js:139&& _jsxs("div", { className: css.revokePanel, children: [_jsxs("div", { className: css.field, children: [_jsx("label", {…
    • …ypes/client/AwikiGroupDetails.js:136return (_jsxs("aside", { className: css.groupDetails, "aria-label": "\u7FA4\u804A\u8BE6\u60C5", children: [_jsxs("header…
    • 混淆本身不是恶意,但公开源码里出现大段混淆值得问一句为什么。
  • 写入文件writes-files需留意73 处命中
    • lib/types/attachment-cache.js:34await unlink(path).catch(() => undefined);
    • lib/types/attachment-cache.js:40await unlink(path).catch(() => undefined);
    • lib/types/attachment-cache.js:69await writeFile(temporary, JSON.stringify(payload), { flag: 'wx', mode: 0o600 });
    • lib/types/attachment-cache.js:70await rename(temporary, path);
    • 看写入位置。写自己的配置目录是正常的,写系统目录不是。
  • 发起网络请求network需留意16 处命中
    • lib/index.js:104for (const endpoint of endpoints) connection.fetch.register({
    • lib/index.js:108async fetch(request) {
    • lib/index.js:662const response = await this.auth.dispatch(request, (signed) => fetch(signed));
    • lib/index.js:910const response = await this.auth.dispatch(request, (signed) => fetch(signed));
    • 看请求发往哪些域名。发往作者自己的后端是常见做法。
  • 读取文件reads-files一般26 处命中
    • lib/types/attachment-cache.js:37const parsed = JSON.parse(await readFile(path, 'utf8'));
    • lib/types/attachment-cache.js:141const entries = await readdir(this.directory, { withFileTypes: true });
    • …ypes/conversation-preferences.js:214const text = await readFile(path, 'utf8');
    • lib/index.js:1834if (await readFile(this.markerPath, "utf8") !== SIGNED_OUT_MARKER) throw new TypeError("awiki: local session marker is i…
    • 读文件是绝大多数插件的正常工作方式,本身不构成顾虑。
  • 读取环境变量reads-env一般22 处命中
    • lib/index.js:4161const configuredDshHome = process.env.DSH_HOME?.trim();
    • lib/types/index.js:337const configuredDshHome = process.env.DSH_HOME?.trim();
    • cordis.patch.yml:9userServiceUrl: !!js process.env.DSH_AWIKI_USER_SERVICE_URL
    • cordis.patch.yml:10userServiceDomain: !!js process.env.DSH_AWIKI_USER_SERVICE_DOMAIN
    • 环境变量里常混有密钥。看它是否把整个 env 都读走。
  • 动态加载模块dynamic-import一般13 处命中
    • …ent/AwikiDeviceJoinReminder.d.ts:14export declare function AwikiDeviceJoinReminder(props: AwikiDeviceJoinReminderProps): import("react").JSX.Element;
    • lib/types/client/AwikiDevices.d.ts:32export declare function AwikiDevices(props: AwikiDevicesProps): import("react").JSX.Element;
    • …ient/AwikiGroupAccessNotice.d.ts:11}): import("react").JSX.Element | null;
    • …es/client/AwikiGroupDetails.d.ts:21}): import("react").JSX.Element;
    • 动态导入本身无害,但会让依赖关系难以静态审阅。
  • 接触凭据或密钥credentials一般9 处命中
    • lib/types/builtin-tenant-config.js:14if ((origin.protocol !== 'https:' && !loopback) || origin.username !== '' || origin.password !== ''
    • lib/types/desktop-distribution.js:38if (url.protocol !== 'https:' || url.username !== '' || url.password !== '' || url.origin !== view.policyOrigin)
    • lib/types/external-http-auth.js:151credentials: original.credentials,
    • lib/index.js:30if (origin.protocol !== "https:" && !loopback || origin.username !== "" || origin.password !== "" || origin.pathname !==…
    • 看它读取哪些凭据、发往哪里。用于登录自己的服务是正常的。
逐条扫描明细
能力标识关注度命中次数
含混淆或编码代码obfuscated-code需留意76
写入文件writes-files需留意73
发起网络请求network需留意16
读取文件reads-files一般26
读取环境变量reads-env一般22
动态加载模块dynamic-import一般13
接触凭据或密钥credentials一般9

这份报告的口径

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

可信度

85 健康分 B 扣分项下方逐条附证据
  • -10声明与实物不符:peer-static-import-unsatisfiedmajor:{'@deepseek-ai/dsh-llm': '0.1.5-rc.2', '@deepseek-ai/dsh-agent': '0.1.5-rc.2', '@deepseek-ai/dsh-tools': '0.1.5-rc.2', '@deepseek-ai/dsh-ses
  • -5目录内 peer @agent-network-protocol/dsh-anp-identity 的版本范围不覆盖已发布版本warn:0.1.3 vs 0.1.4

认证等级 L0

  • L0静态结构与契约✓sha512-DlkZcQb0zeJGqUP1… 与本地 tarball 复算一致,补丁与入口齐备,另有 1 项声明不一致(计入健康扣分)
  • L1配置组合与依赖图—目录内 peer @agent-network-protocol/dsh-anp-identity 的版本范围 0.1.3 不覆盖已发布 0.1.4
  • L2隔离沙箱冒烟—试装未通过(forced-ok)
  • L3运行时健康监控—未抽样(本层是抽样检测:没有会话不等于干净)
评分口径与作者信息

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

维护者
liuzhuocheng、chgaowei、howardchan
仓库
https://github.com/AgentConnect/dsh-awiki
许可
MIT
最后发布
2026-09-15
周下载
367
star
19

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

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

DSH peer 依赖21 个cordisdsh-agentdsh-agent-default-modeldsh-api-remotesdsh-branddsh-client-connectiondsh-client-localedsh-client-storedsh-client-ui-layoutdsh-client-ui-primitivesdsh-client-ui-rendererdsh-client-ui-settings等 21 个均为 @deepseek-ai/ 下的包
Node 要求^22.19.0 || >=24.0.0
第三方依赖4 个
bundle patch./cordis.patch.yml
依赖安全公告2 条,见下方

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

等级依赖包编号摘要
中semverCVE-2022-25883semver vulnerable to Regular Expression Denial of Service
修复版本:5.7.2, 6.3.1, 7.5.2 详情
低zodCVE-2023-4316Zod denial of service vulnerability
修复版本:3.22.3 详情

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

元数据

主页https://github.com/AgentConnect/dsh-awiki#readme
仓库最近提交2026-10-13
仓库创建2026-08-14

返回首页