dsh-cyber-pet
github.com/BorisShaw6/dsh-cyber-pet
v0.3.1
界面与主题
发起网络请求
给 DeepSeek Harness 的赛博鲸鱼宠物:一只悬浮在 Web 页面里、可以投喂、可以换色的鲸鱼,实时播报 token 用量、额度、上下文占用、交互次数与对话框数量——自带三种聊天后端、成长等级、情绪系统、里程碑庆祝与一键 PNG 报告卡。
作者原文(英文)
Cyber whale pet for DeepSeek Harness: a floating, feedable, color-customizable whale over shell.overlay that reports token usage, quota, interactions, and session counts — one dsh-plugin bundle carrying the host chat brain and the browser surface
中文简介由 DeepSeek 模型翻译,仅供参考。
deepseekdeepseek-harnessdsh-plugincyber-petweb-ui
源仓库已改名 仓库已改名,页面上的地址是旧名(GitHub 会自动跳转)。
现在的地址:BorisXiao/dsh-cyber-pet
检测报告
有一定能力。命中了若干能力模式,大多是插件正常工作时会用到的。
1需留意3一般20未命中
高关注需留意一般
能力清单
- 发起网络请求
network需留意2 处命中lib/client.js:344const response = await fetch(`${config.baseUrl}/chat/completions`, {lib/index.js:144const response = await fetch(url, { headers: { authorization: `Bearer ${apiKey}` } });- 看请求发往哪些域名。发往作者自己的后端是常见做法。
- 接触凭据或密钥
credentials一般27 处命中lib/client.js:349...config.apiKey === "" ? {} : { authorization: `Bearer ${config.apiKey}` }lib/client.js:1008apiKey: stats.chat.apiKey,lib/client.js:1175type: "password",lib/client.js:1177value: stats.chat.apiKey,- 看它读取哪些凭据、发往哪里。用于登录自己的服务是正常的。
- 动态加载模块
dynamic-import一般4 处命中lib/types/client/CyberPet.d.ts:13export declare function CyberPet({ usePetStats, setSkin, setColor, setView, setQuota, setQuotaSource, setTokensPerUnit, …lib/types/client/PetPanel.d.ts:17export declare function PetPanel(props: PetPanelProps & PropsLocale<'pet'>): import("react").JSX.Element;lib/types/client/whale.d.ts:18export declare function PixelWhale({ color, className }: WhaleProps): import("react").JSX.Element;lib/types/client/whale.d.ts:24export declare function SkeuoWhale({ color, className }: WhaleProps): import("react").JSX.Element;- 动态导入本身无害,但会让依赖关系难以静态审阅。
- 读取环境变量
reads-env一般2 处命中lib/index.js:134const apiKey = process.env.DEEPSEEK_API_KEY?.trim() ?? "";lib/index.js:142const url = process.env.DEEPSEEK_BALANCE_URL?.trim() || DEFAULT_BALANCE_URL;- 环境变量里常混有密钥。看它是否把整个 env 都读走。
逐条扫描明细
| 能力 | 标识 | 关注度 | 命中次数 |
|---|---|---|---|
| 发起网络请求 | network | 需留意 | 2 |
| 接触凭据或密钥 | credentials | 一般 | 27 |
| 动态加载模块 | dynamic-import | 一般 | 4 |
| 读取环境变量 | reads-env | 一般 | 2 |
这份报告的口径
扫描读的是包里的源码,全程不执行第三方代码。 本次读了 19 个文件,扫描于 2026-10-14。 命中次数只说明源码里出现过这类调用,不说明行为好坏——一个插件读写文件 500 次和 1 次 都会被记为「读取文件」。这是能力清单,不是信任评分,也不是安全结论: 没扫出来的能力可能只是写法没被规则覆盖。