D

dsh-hackatime

github.com/namandhakad712/dsh-hackatime

v0.3.10 其他 可执行外部程序发起网络请求写入文件

Track your DeepSeek Harness coding time on Hackatime (WakaTime-compatible heartbeats).

该插件尚未翻译,显示作者原文。

dsh-plugindeepseek-harnesshackatimewakatimecoding-timetime-tracking
分类
other
发布
2026-10-13
版本
v0.3.10

检测报告

关注度高。命中了不少能力模式,其中可能有需要留意的。逐条看下面的清单。
1高关注2需留意3一般18未命中
高关注需留意一般

能力清单

  • 可执行外部程序spawns-processes高关注1 处命中
    • lib/index.js:25import { spawn as nodeSpawn } from "node:child_process";
    • 看它调用哪些程序。调用本机已有的工具是常见做法。
  • 发起网络请求network需留意3 处命中
    • lib/index.js:753const res = await fetch("https://registry.npmjs.org/dsh-hackatime/latest", { cache: "no-store" });
    • lib/index.js:944const res = await fetch("https://registry.npmjs.org/dsh-hackatime/latest", { cache: "no-store" });
    • lib/index.js:1106const response = await fetch(url, {
    • 看请求发往哪些域名。发往作者自己的后端是常见做法。
  • 写入文件writes-files需留意2 处命中
    • lib/index.js:568await fs.writeFile(tmp, String(document), { mode: 0o600 });
    • lib/index.js:569await fs.rename(tmp, profileContext.patchPath);
    • 看写入位置。写自己的配置目录是正常的,写系统目录不是。
  • 接触凭据或密钥credentials一般48 处命中
    • lib/client.js:36{ key: "apiKey", label: "Hackatime API key", kind: "secret",
    • lib/client.js:204const [showSecret, setShowSecret] = React.useState(false);
    • lib/client.js:321const hasKey = String(draft("apiKey") ?? "").trim().length > 0 || Boolean(status?.hasApiKey);
    • lib/client.js:442const secretRow = (field) => row(field, React.createElement("div", { style: { display: "flex", gap: "6px", maxWidth: "28…
    • 看它读取哪些凭据、发往哪里。用于登录自己的服务是正常的。
  • 读取文件reads-files一般3 处命中
    • lib/index.js:323const text = await fs.readFile(file, "utf8");
    • lib/index.js:448const text = await fs.readFile(marker, "utf8");
    • lib/index.js:524before = await fs.readFile(profileContext.patchPath, "utf8");
    • 读文件是绝大多数插件的正常工作方式,本身不构成顾虑。
  • 动态加载模块dynamic-import一般1 处命中
    • lib/index.js:519const mod = await import(yamlUrl);
    • 动态导入本身无害,但会让依赖关系难以静态审阅。
逐条扫描明细
能力标识关注度命中次数
可执行外部程序spawns-processes高关注1
发起网络请求network需留意3
写入文件writes-files需留意2
接触凭据或密钥credentials一般48
读取文件reads-files一般3
动态加载模块dynamic-import一般1

这份报告的口径

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

依赖安全公告

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

← 返回全部插件