D

dsh-lark-claw

github.com/Illuminated2020/dsh-lark-claw

v0.1.5 其他 写入文件发起网络请求R013 清单可疑
认证 L1已扫描 ✓健康 A/90周下载 329

私聊或在群里 @ 机器人,就能让它查看项目、分析文件、安排提醒。执行过程实时显示在卡片中,你可以在同一话题里继续追问。

作者原文(英文)

A standalone Lark/Feishu gateway and persistent cron bundle for DeepSeek Harness

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

deepseek-harnessdshfeishularkcordisagent
分类
other
发布
2026-09-12
版本
v0.1.5

检测报告

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

能力清单

  • 写入文件writes-files需留意6 处命中
    • lib/gateway-CYwrdly3.js:735await mkdir(dir, { recursive: true });
    • lib/gateway-CYwrdly3.js:743await writeFile(path, data, { flag: "wx" });
    • …pes/gateway/message-resources.js:7await mkdir(dir, { recursive: true });
    • …pes/gateway/message-resources.js:18await writeFile(path, data, { flag: 'wx' });
    • 看写入位置。写自己的配置目录是正常的,写系统目录不是。
  • 发起网络请求network需留意3 处命中
    • lib/types/gateway/card.js:116const response = await fetch(reference);
    • lib/gateway-CYwrdly3.js:113const response = await fetch(reference);
    • src/gateway/card.ts:139const response = await fetch(reference)
    • 看请求发往哪些域名。发往作者自己的后端是常见做法。
  • R013 清单可疑manifest-obfuscation需留意1 处命中
    • 安装脚本: prepare
    • 清单被刻意写乱时,加载行为会难以预测。看原文而不是看渲染结果。
  • 读取环境变量reads-env一般94 处命中
    • lib/config/index.js:52return process.env.DSH_HOME === void 0 || process.env.DSH_HOME === "" ? join(homedir(), ".dsh") : resolve(process.env.DS…
    • lib/config/index.js:59const resolved = process.env[name];
    • lib/config/index.js:144const raw = process.env.FEISHU_CHANNELS ?? process.env.DSH_FEISHU_CHANNELS;
    • lib/config/index.js:161const workspace = process.env.FEISHU_WORKSPACE ?? process.env.DSH_FEISHU_WORKSPACE ?? process.cwd();
    • 环境变量里常混有密钥。看它是否把整个 env 都读走。
  • 接触凭据或密钥credentials一般9 处命中
    • lib/gateway-CYwrdly3.js:1106const secret = channelConfig.appSecret ?? (channelConfig.appSecretEnv === void 0 ? void 0 : (await this.ctx.credentials.…
    • lib/config/index.js:169const apiToken = process.env.FEISHU_CRON_API_TOKEN ?? process.env.DSH_FEISHU_CRON_API_TOKEN;
    • lib/types/config/index.js:194const apiToken = process.env.FEISHU_CRON_API_TOKEN ?? process.env.DSH_FEISHU_CRON_API_TOKEN;
    • lib/types/gateway/index.js:368: (await this.ctx.credentials.resolve(credentialRef(channelConfig.appSecretEnv)))?.value);
    • 看它读取哪些凭据、发往哪里。用于登录自己的服务是正常的。
  • 读取文件reads-files一般7 处命中
    • lib/types/gateway/card.js:128data = await readFile(path);
    • lib/gateway-CYwrdly3.js:123data = await readFile(path);
    • lib/gateway-CYwrdly3.js:1778await transport.sendFile(live.target, await readFile(path), basename(path), {
    • lib/config/index.js:231const text = await readFile(configPath, "utf8");
    • 读文件是绝大多数插件的正常工作方式,本身不构成顾虑。
  • 动态加载模块dynamic-import一般6 处命中
    • lib/types/cron/index.d.ts:90schedules: import("@deepseek-ai/dsh-storage-domain").DomainTableSpec<string, FeishuCronRecord>;
    • lib/types/gateway/state.d.ts:8channels: import("@deepseek-ai/dsh-storage-domain").DomainTableSpec<string, FeishuChannelRecord>;
    • lib/types/gateway/state.d.ts:9threads: import("@deepseek-ai/dsh-storage-domain").DomainTableSpec<string, FeishuThreadRecord>;
    • lib/types/gateway/state.d.ts:10messages: import("@deepseek-ai/dsh-storage-domain").DomainTableSpec<string, FeishuMessageRecord>;
    • 动态导入本身无害,但会让依赖关系难以静态审阅。
逐条扫描明细
能力标识关注度命中次数
写入文件writes-files需留意6
发起网络请求network需留意3
R013 清单可疑manifest-obfuscation需留意1
读取环境变量reads-env一般94
接触凭据或密钥credentials一般9
读取文件reads-files一般7
动态加载模块dynamic-import一般6

这份报告的口径

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

依赖安全公告

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

等级依赖包编号摘要
中yamlCVE-2023-2251Uncaught Exception in yaml
修复版本:2.2.2 详情 →
低yamlCVE-2026-33532yaml is vulnerable to Stack Overflow via deeply nested YAML collections
修复版本:1.10.3, 2.8.3 详情 →
低zodCVE-2023-4316Zod denial of service vulnerability
修复版本:3.22.3 详情 →

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

← 返回全部插件