D

dsh-codebuddy

github.com/tnnevol/fn-os-apps

v0.1.2-rc.1.2 模型与账号 发起网络请求写入文件

腾讯 CodeBuddy 模型接入插件(DeepSeek Harness / dsh),由 `dsh-llm-codebuddy` 移植进 fn-os-apps monorepo。

作者原文(英文)

Tencent CodeBuddy provider plugin for DeepSeek Harness, with browser OAuth sign-in and quota display.

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

分类
model
发布
2026-09-06
版本
v0.1.2-rc.1.2

检测报告

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

能力清单

  • 发起网络请求network需留意8 处命中
    • lib/index.js:118const response = await fetch(`${CODEBUDDY_ENDPOINT}/v2/plugin/auth/state?platform=CLI`, {
    • lib/index.js:153response = await fetch(`${CODEBUDDY_ENDPOINT}/v2/plugin/auth/token?state=${encodeURIComponent(state)}`, {
    • lib/index.js:181const response = await fetch(`${CODEBUDDY_ENDPOINT}/v2/plugin/login/account?state=${encodeURIComponent(state)}`, {
    • lib/index.js:236response = await fetch(`${CODEBUDDY_ENDPOINT}/v2/plugin/auth/token/refresh`, {
    • 看请求发往哪些域名。发往作者自己的后端是常见做法。
  • 写入文件writes-files需留意5 处命中
    • lib/index.js:796await promises.mkdir(dirname(path), { recursive: true });
    • lib/index.js:799await promises.writeFile(temp, JSON.stringify(storage, null, 2), {
    • lib/index.js:803await promises.rename(temp, path);
    • lib/index.js:805await promises.unlink(temp).catch(() => {});
    • 看写入位置。写自己的配置目录是正常的,写系统目录不是。
  • 接触凭据或密钥credentials一般21 处命中
    • lib/index.js:175* @param accessToken - the freshly issued access token.
    • lib/index.js:180async function getLoginAccount(state, accessToken, domain) {
    • lib/index.js:185"Authorization": `Bearer ${accessToken}`,
    • lib/index.js:225async function refreshAccessToken(identity, refreshToken) {
    • 看它读取哪些凭据、发往哪里。用于登录自己的服务是正常的。
  • 动态加载模块dynamic-import一般2 处命中
    • lib/index.js:873async require() {
    • lib/index.js:896const storage = await this.require();
    • 动态导入本身无害,但会让依赖关系难以静态审阅。
  • 读取文件reads-files一般1 处命中
    • lib/index.js:754const raw = await promises.readFile(path, "utf-8");
    • 读文件是绝大多数插件的正常工作方式,本身不构成顾虑。
  • 读取环境变量reads-env一般1 处命中
    • lib/index.js:711const override = process.env.DSH_CODEBUDDY_AUTH_FILE;
    • 环境变量里常混有密钥。看它是否把整个 env 都读走。
逐条扫描明细
能力标识关注度命中次数
发起网络请求network需留意8
写入文件writes-files需留意5
接触凭据或密钥credentials一般21
动态加载模块dynamic-import一般2
读取文件reads-files一般1
读取环境变量reads-env一般1

这份报告的口径

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

依赖安全公告

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

← 返回全部插件