Y

yotta-skills-plugin

github.com/YottaMeta/yotta-skills-plugin

v0.30.2 技能包 可执行外部程序以 shell 执行命令写入文件

YuanGe (元阁) — orchestration and routing for the YottaMeta skill family, packaged as a YottaMeta Agent Plugin and DeepSeek Harness profile bundle.

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

yottametaagent-pluginsagent-skillsmcpyotta-skillsdshdeepseek-harness
分类
skill
发布
2026-10-12
版本
v0.30.2

检测报告

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

能力清单

  • 可执行外部程序spawns-processes高关注5 处命中
    • …lls/yotta-skills/lib/hub-scan.js:12const { spawnSync } = require('child_process');
    • …-skills/lib/install-lifecycle.js:4const { spawnSync } = require('child_process');
    • …lls/yotta-skills/lib/provider.js:11const { spawnSync } = require('child_process');
    • …tta-skills/lib/registry-fetch.js:19const { spawnSync } = require('child_process');
    • 看它调用哪些程序。调用本机已有的工具是常见做法。
  • 以 shell 执行命令shell-exec高关注2 处命中
    • …yotta-skills/bin/yotta-skills.js:140return { bin: custom, prefix: [], shell: true };
    • …yotta-skills/bin/yotta-skills.js:153return { bin: 'npm.cmd', prefix: [], shell: true };
    • 看命令字符串是拼出来的还是写死的。拼接用户输入才是真正的风险。
  • 写入文件writes-files需留意117 处命中
    • …ls/yotta-skills/lib/copy-tree.js:30fs.mkdirSync(d, { recursive: true });
    • …ls/yotta-skills/lib/copy-tree.js:33fs.copyFileSync(s, d);
    • …yotta-skills/lib/hook-adapter.js:252fs.mkdirSync(path.dirname(file), { recursive: true });
    • …yotta-skills/lib/hook-adapter.js:257fs.appendFileSync(file, JSON.stringify(record) + '\n', 'utf8');
    • 看写入位置。写自己的配置目录是正常的,写系统目录不是。
  • 发起网络请求network需留意4 处命中
    • …tta-skills/lib/registry-fetch.js:3* lib/registry-fetch.js —— 无 npm 内置拉包通道(元阁 0.24.0,方案 A.1)。
    • …tta-skills/lib/registry-fetch.js:140const connectReq = http.request({
    • …tta-skills/lib/registry-fetch.js:155const req = https.request({
    • …tta-skills/lib/registry-fetch.js:176const req = http.request({
    • 看请求发往哪些域名。发往作者自己的后端是常见做法。
  • 可终止进程kills-processes需留意1 处命中
    • …yotta-skills/bin/yotta-skills.js:2840process.kill(data.pid, 0);
    • 看它终止的是自己启动的进程,还是按名字匹配到的任意进程。
  • 读取文件reads-files一般162 处命中
    • …ta-skills/lib/agent-discovery.js:40return fs.statSync(dir).isDirectory();
    • …ta-skills/lib/agent-discovery.js:48return fs.readdirSync(dir, { withFileTypes: true });
    • …ta-skills/lib/agent-discovery.js:61if (fs.statSync(path.join(child, SKILL_FILE)).isFile()) count++;
    • …ls/yotta-skills/lib/copy-tree.js:24for (const entry of fs.readdirSync(src, { withFileTypes: true })) {
    • 读文件是绝大多数插件的正常工作方式,本身不构成顾虑。
  • 读取环境变量reads-env一般73 处命中
    • …s/yotta-skills/lib/agent-dirs.js:126return (options && options.env) || process.env;
    • …ta-skills/lib/agent-discovery.js:31return (options && options.env) || process.env;
    • …s/yotta-skills/lib/host-purge.js:55const env = opts.env || process.env;
    • …tta-skills/lib/hosts-registry.js:28const env = options.env || process.env;
    • 环境变量里常混有密钥。看它是否把整个 env 都读走。
  • 接触凭据或密钥credentials一般15 处命中
    • skills/yotta-skills/lib/route.js:67{ slug: 'yotta-secret', order: 4, role: '扫描密钥与凭据泄露源头。' },
    • …ls/yotta-skills/scan-policy.json:193"category": "credential-harvest",
    • …ls/yotta-skills/scan-policy.json:395"category": "credential-harvest",
    • …ls/yotta-skills/scan-policy.json:496"category": "credential-access",
    • 看它读取哪些凭据、发往哪里。用于登录自己的服务是正常的。
  • 动态加载模块dynamic-import一般1 处命中
    • …yotta-skills/bin/yotta-skills.js:66try { VERSION = require(path.join(PKG_ROOT, 'package.json')).version; } catch (_) { /* keep fallback */ }
    • 动态导入本身无害,但会让依赖关系难以静态审阅。
逐条扫描明细
能力标识关注度命中次数
可执行外部程序spawns-processes高关注5
以 shell 执行命令shell-exec高关注2
写入文件writes-files需留意117
发起网络请求network需留意4
可终止进程kills-processes需留意1
读取文件reads-files一般162
读取环境变量reads-env一般73
接触凭据或密钥credentials一般15
动态加载模块dynamic-import一般1

这份报告的口径

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

依赖安全公告

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

← 返回全部插件