dsh-pet
github.com/zhu1090093659/dsh-pet
v0.4.6
市场与管理
写入文件发起网络请求R013 清单可疑
DeepSeek Harness(DSH)官方 Web GUI 与桌面客户端专属桌面宠物伴侣生态 智能体思考跟随 · Live2D / 精灵图桌宠 · 摸头喂食互动 · 实时状态气泡 · 创意工坊宠物下载
作者原文(英文)
Multi-pet companion plugin for the dsh web GUI: a registry-driven floating pet that reacts to model activity, with per-pet naming, petting/feeding interactions and an affinity score
中文简介由 DeepSeek 模型翻译,仅供参考。
检测报告
有一定能力。命中了若干能力模式,大多是插件正常工作时会用到的。
3需留意4一般17未命中
高关注需留意一般
能力清单
- 写入文件
writes-files需留意148 处命中lib/index.js:1656mkdirSync(dir, { recursive: true });lib/index.js:1659writeFileSync(tmp, JSON.stringify(data, null, 2), "utf8");lib/index.js:1660renameSync(tmp, target);lib/types/persist.js:224mkdirSync(dir, { recursive: true });- 看写入位置。写自己的配置目录是正常的,写系统目录不是。
- 发起网络请求
network需留意17 处命中lib/client.js:2460const response = await fetch(url);lib/client.js:3549const response = await fetch("/api/pet/pets");lib/client.js:3555const response = await fetch("/api/pet/state");lib/client.js:3665const response = await fetch("/api/pet/set-pet", {- 看请求发往哪些域名。发往作者自己的后端是常见做法。
- R013 清单可疑
manifest-obfuscation需留意1 处命中- 安装脚本: prepare
- 清单被刻意写乱时,加载行为会难以预测。看原文而不是看渲染结果。
- 读取文件
reads-files一般100 处命中lib/index.js:1610const raw = readFileSync(join(dir, "pet.json"), "utf8");lib/index.js:4080statSync(modelFile);lib/index.js:4083model3 = JSON.parse(readFileSync(modelFile, "utf8"));lib/index.js:4093for (const reference of references) if (!existsSync(join(dir, reference))) record("warning", "pet " + manifest.id + ": l…- 读文件是绝大多数插件的正常工作方式,本身不构成顾虑。
- 接触凭据或密钥
credentials一般10 处命中lib/client.js:3486if (this.specOf(field).secret) return true;lib/types/client/settings-form.js:44* A free-text field the Host treats as a secret and redacts from the read-backlib/types/client/settings-form.js:45* (role('secret') in the section schema). The card still edits it like text,lib/types/client/settings-form.js:47* by the mutation settling (see {@link FieldSpec.secret}).- 看它读取哪些凭据、发往哪里。用于登录自己的服务是正常的。
- 动态加载模块
dynamic-import一般8 处命中lib/client.js:16engine = require(platform);lib/client.js:18engine = require(legacy);…ypes/client/PetSettingsCard.d.ts:127export declare function PetSettingsCard(props: PetSettingsCardProps): import("react").JSX.Element;…s/client/PluginSettingsCard.d.ts:62export declare function PluginSettingsCard<TKey extends string = string>(props: PluginSettingsCardProps<TKey>): import("…- 动态导入本身无害,但会让依赖关系难以静态审阅。
- 读取环境变量
reads-env一般6 处命中lib/types/dsh-home.js:26export function resolveDshHome(env = process.env, home = homedir()) {lib/index.js:1481function resolveDshHome(env = process.env, home = homedir()) {lib/index.js:3769function codexPetsDir(env = process.env, home = homedir()) {lib/types/registry.js:70export function codexPetsDir(env = process.env, home = homedir()) {- 环境变量里常混有密钥。看它是否把整个 env 都读走。
逐条扫描明细
| 能力 | 标识 | 关注度 | 命中次数 |
|---|---|---|---|
| 写入文件 | writes-files | 需留意 | 148 |
| 发起网络请求 | network | 需留意 | 17 |
| R013 清单可疑 | manifest-obfuscation | 需留意 | 1 |
| 读取文件 | reads-files | 一般 | 100 |
| 接触凭据或密钥 | credentials | 一般 | 10 |
| 动态加载模块 | dynamic-import | 一般 | 8 |
| 读取环境变量 | reads-env | 一般 | 6 |
这份报告的口径
扫描读的是包里的源码,全程不执行第三方代码。 本次读了 205 个文件,扫描于 2026-10-14。 命中次数只说明源码里出现过这类调用,不说明行为好坏——一个插件读写文件 500 次和 1 次 都会被记为「读取文件」。这是能力清单,不是信任评分,也不是安全结论: 没扫出来的能力可能只是写法没被规则覆盖。
依赖安全公告
已查询这个插件声明的全部依赖,没有匹配到已公开的安全公告。(含 DSH 框架包在内的 @deepseek-ai/* 不作查询——那是运行时自己的问题,不是插件的。)