C

cli

github.com/Aident-AI/aident.ai

v0.3.1 技能包 可执行外部程序写入文件发起网络请求

默认提供对 Aident Loadout 的 Agent 友好访问,同时以包的形式提供 Playbook 和 Intern。

作者原文(英文)

Aident CLI — umbrella access to Loadout integrations, Playbook automation, Intern tools, and the Aident platform.

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

aidentcliautomationintegrationsplaybooksagentaiskill
分类
skill
发布
2026-10-06
版本
v0.3.1
源仓库已无法访问 这个仓库已经删除、改名或转为私有,看不到源码了。npm 上的包仍然可以安装——安装走的是 npm,不读 GitHub——但无法审阅代码,装之前请自行判断。

检测报告

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

能力清单

  • 可执行外部程序spawns-processes高关注2 处命中
    • dist/dsh.mjs:2455import { spawn } from "node:child_process";
    • dist/dsh.mjs:7364import { execFile } from "node:child_process";
    • 看它调用哪些程序。调用本机已有的工具是常见做法。
  • 写入文件writes-files需留意7 处命中
    • dist/dsh.mjs:3043await mkdir(dirname(configFile), { recursive: true, mode: 448 });
    • dist/dsh.mjs:3044await writeFile(configFile, JSON.stringify(config, null, 2) + `
    • dist/dsh.mjs:7403await rename(path, stalePath);
    • dist/dsh.mjs:7428await unlink(join4(path, LOCK_OWNER_FILE)).catch(() => {
    • 看写入位置。写自己的配置目录是正常的,写系统目录不是。
  • 发起网络请求network需留意6 处命中
    • dist/dsh.mjs:2572const res = await fetch(`${baseUrl}/api/mcp/oauth/token`, {
    • dist/dsh.mjs:2584await fetch(`${baseUrl}/api/mcp/oauth/revoke`, {
    • dist/dsh.mjs:2691const res = await fetch(`${baseUrl}/api/mcp/oauth/register`, {
    • dist/dsh.mjs:2728const res = await fetch(`${baseUrl}/api/mcp/oauth/token`, {
    • 看请求发往哪些域名。发往作者自己的后端是常见做法。
  • 可终止进程kills-processes需留意1 处命中
    • dist/dsh.mjs:7492process.kill(pid, 0);
    • 看它终止的是自己启动的进程,还是按名字匹配到的任意进程。
  • 接触凭据或密钥credentials一般107 处命中
    • README.md:42To revoke the stored OAuth token and remove `~/.aident/credentials.json`:
    • README.md:61shares `~/.aident/credentials.json` and `AIDENT_TOKEN` with the CLI. Run `aident login` before starting DSH, or ask the
    • README.md:110`integrations migrate-local` scans known local MCP/agent config files, redacts secret-like values, maps supported
    • README.md:142Settings live in `~/.aident/config.json`; OAuth credentials live in `~/.aident/credentials.json`.
    • 看它读取哪些凭据、发往哪里。用于登录自己的服务是正常的。
  • 读取环境变量reads-env一般30 处命中
    • dist/dsh.mjs:2457function getBrowserOpenCommand(url, platform = process.platform, env = process.env) {
    • dist/dsh.mjs:2915function shouldUseLoopbackBrowserHandoff(env = process.env) {
    • dist/dsh.mjs:2918function isRemoteSessionEnvironment(env = process.env) {
    • dist/dsh.mjs:3018function getAidentDir(home = process.env.HOME || process.env.USERPROFILE || homedir()) {
    • 环境变量里常混有密钥。看它是否把整个 env 都读走。
  • 读取文件reads-files一般6 处命中
    • dist/dsh.mjs:3031const text = await readFile(configFile, "utf-8");
    • dist/dsh.mjs:7200const repositoryRoot = projectRoots.find((root) => existsSync(join3(root, ".git")));
    • dist/dsh.mjs:7253const detectedRoots = getWorkBuddySkillHostRoots(home, env).filter((root) => root === configuredRoot || existsSync(root)…
    • dist/dsh.mjs:7278if (existsSync(join3(current, ".git")))
    • 读文件是绝大多数插件的正常工作方式,本身不构成顾虑。
逐条扫描明细
能力标识关注度命中次数
可执行外部程序spawns-processes高关注2
写入文件writes-files需留意7
发起网络请求network需留意6
可终止进程kills-processes需留意1
接触凭据或密钥credentials一般107
读取环境变量reads-env一般30
读取文件reads-files一般6

这份报告的口径

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

依赖安全公告

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

← 返回全部插件