跳转到正文
报告库
用途分类 / 其他用途

Video Edit Skill 安全审计

作者说它能做什么(原文)

>

第三方安全检查结论

发现安全风险

已检查文件
1
发现的风险
4
会不会运行危险命令?检查是否下载程序后直接运行、让他人远程控制电脑,或藏起要运行的命令。发现 2 项风险
中风险

前置步骤要求全局安装并运行第三方 npm 软件

原文依据:3 处
发现了什么

`npm i -g @runcomfy/cli` 会从 npm 获取软件并以当前用户权限运行其安装流程,同时在全局 npm 位置留下可执行文件。材料未固定包版本,也未提供该 CLI 的代码供本次审查。

为什么需要注意

如果发布的包、其依赖或未来版本遭篡改,安装或后续运行可能读取用户可访问的文件和环境变量、修改用户级配置,或使用已保存的 RunComfy 令牌。全局安装还会形成持续性的系统状态变更。

前置步骤要求用 npm 全局安装未固定版本的第三方 CLI,随后登录并用它提交任务。全局安装会在用户的 npm 全局位置加入软件,而当前材料没有包含 CLI 实现,无法核查其安装脚本或运行行为。用户可要求固定包版本及完整性校验,并在隔离、低权限环境中先审查包内容。

SKILL.md:49来自说明文档打开原文件
1. **RunComfy CLI** — `npm i -g @runcomfy/cli`2. **RunComfy account** — `runcomfy login`.3. **CI / containers** — set `RUNCOMFY_TOKEN=<token>`.4. **A source video URL** — formats and limits depend on the chosen route.
查看另外 2 个位置
SKILL.md:217来自说明文档打开原文件
The skill picks one of Wan 2.7 Edit-Video / Kling 2.6 Pro Motion Control / Lucy Edit Restyle based on user intent and invokes `runcomfy run <model_id>` with the matching JSON body. The CLI POSTs to the Model API, polls the request, fetches the result, and downloads any `.runcomfy.net`/`.runcomfy.com` URL into `--output-dir`. `Ctrl-C` cancels the remote request before exit.
SKILL.md:47来自说明文档打开原文件
## Prerequisites1. **RunComfy CLI** — `npm i -g @runcomfy/cli`2. **RunComfy account** — `runcomfy login`.3. **CI / containers** — set `RUNCOMFY_TOKEN=<token>`.4. **A source video URL** — formats and limits depend on the chosen route.
中风险

文档对提示词“无 shell 注入面”的断言忽略了 CLI 启动前的 shell 解析

原文依据:3 处
发现了什么

示例把整个 JSON 放在单引号 shell 参数中,而提示词属于用户控制内容。CLI 确实可以不扩展收到的字符串,但 shell 会先解析命令;如果代理直接把含单引号或 shell 语法的提示词插入示例模板,参数边界可能提前结束。文档展示了手工转义一个撇号,但没有规定通用、安全的参数构造方式。

为什么需要注意

不安全的命令拼接可能改变 CLI 参数,严重时执行用户提示词中夹带的本地 shell 命令,进而读取或修改代理权限范围内的文件和凭据。

这段证据能说明什么

材料断言提示词没有 shell 注入面,但只展示了把 JSON 放进单引号命令参数的示例,并手工转义了一个撇号。若代理把任意用户提示直接拼进这种命令,shell 会在 CLI 收到参数前解析它,错误转义可能改变命令边界;但材料未提供实际命令构造代码,因此无法确认是否存在该缺陷。用户可要求作者证明其通过参数数组或临时 JSON 文件调用 CLI,而非拼接 shell 字符串。

这项判断针对展示的代码和适用条件,不表示风险已经实际发生。
SKILL.md:77来自说明文档打开原文件
```bashruncomfy run wan-ai/wan-2-7/edit-video \  --input '{    "prompt": "Preserve the speaker'\''s face, pose, and lip movement; change the background to a modern office with neutral lighting.",    "video": "https://.../speaker.mp4",    "audio_setting": "origin"  }' \  --output-dir <absolute/path>```
查看另外 2 个位置
SKILL.md:222来自说明文档打开原文件
- **Token storage**: `runcomfy login` writes the API token to `~/.config/runcomfy/token.json` with mode 0600 (owner-only read/write). Set `RUNCOMFY_TOKEN` env var to bypass the file entirely in CI / containers.- **Input boundary**: the user prompt is passed as a JSON string to the CLI via `--input`. The CLI does NOT shell-expand the prompt; it transmits the JSON body directly to the Model API over HTTPS. No shell injection surface from prompt content.- **Third-party content**: image / mask / video URLs you pass are fetched by the RunComfy model server, not by the CLI on your machine. Treat external URLs as untrusted; image-based prompt injection is a known risk for any image-edit / video-edit model.
SKILL.md:78来自说明文档打开原文件
```bashruncomfy run wan-ai/wan-2-7/edit-video \  --input '{    "prompt": "Preserve the speaker'\''s face, pose, and lip movement; change the background to a modern office with neutral lighting.",    "video": "https://.../speaker.mp4",    "audio_setting": "origin"  }' \  --output-dir <absolute/path>```
会不会泄露文件和密钥?检查是否发送含密码或密钥的文件,以及代码里是否直接写了密钥。发现 1 项风险
中风险

视频、图像、音频及编辑提示会交给 RunComfy 远程服务处理

原文依据:4 处
发现了什么

各路由把源视频、人物参考图、动作参考视频和提示词放入提交给 Model API 的请求;服务器随后获取媒体 URL。人脸、声音、动作、未发布产品包装或带签名参数的私有 URL 都可能因此向第三方披露。

为什么需要注意

RunComfy 会接触处理任务及相应媒体。若素材包含个人、生物特征、客户或机密商业内容,这会扩大数据控制范围,并可能违反用户的保密、同意或数据驻留要求。

该技能明确把提示词和媒体 URL 提交给 RunComfy Model API;RunComfy 服务器还会获取所给的图像、遮罩或视频 URL。使用人物素材、声音、机密设计或带访问参数的 URL 时,内容及相关 URL 会暴露给第三方服务。用户可只提交获授权且已脱敏的素材,使用短期 URL,并要求作者说明保留、训练和删除政策。

SKILL.md:121来自说明文档打开原文件
| `prompt` | string | yes | Describe target motion / style. || `image` | string | yes (image orientation) | Reference for character / background consistency. || `video` | string | yes | **Motion reference**. 10–30s depending on orientation. || `keep_original_sound` | bool | no | Preserve audio from reference video. || `character_orientation` | enum | yes | `image` (max 10s output) or `video` (max 30s output). |
查看另外 3 个位置
SKILL.md:217来自说明文档打开原文件
The skill picks one of Wan 2.7 Edit-Video / Kling 2.6 Pro Motion Control / Lucy Edit Restyle based on user intent and invokes `runcomfy run <model_id>` with the matching JSON body. The CLI POSTs to the Model API, polls the request, fetches the result, and downloads any `.runcomfy.net`/`.runcomfy.com` URL into `--output-dir`. `Ctrl-C` cancels the remote request before exit.
SKILL.md:223来自说明文档打开原文件
- **Input boundary**: the user prompt is passed as a JSON string to the CLI via `--input`. The CLI does NOT shell-expand the prompt; it transmits the JSON body directly to the Model API over HTTPS. No shell injection surface from prompt content.- **Third-party content**: image / mask / video URLs you pass are fetched by the RunComfy model server, not by the CLI on your machine. Treat external URLs as untrusted; image-based prompt injection is a known risk for any image-edit / video-edit model.- **Outbound endpoints**: only `model-api.runcomfy.net` (request submission) and `*.runcomfy.net` / `*.runcomfy.com` (download whitelist for generated outputs). No telemetry, no callbacks.
SKILL.md:120来自说明文档打开原文件
|---|---|---|---|| `prompt` | string | yes | Describe target motion / style. || `image` | string | yes (image orientation) | Reference for character / background consistency. || `video` | string | yes | **Motion reference**. 10–30s depending on orientation. || `keep_original_sound` | bool | no | Preserve audio from reference video. || `character_orientation` | enum | yes | `image` (max 10s output) or `video` (max 30s output). |
会不会删除文件或一直在后台运行?检查是否大范围删除文件、改写磁盘,或设置自动启动。未发现风险
会不会绕过安全保护?检查是否跳过网站安全验证、开放过多文件权限,或取消操作前的确认。发现 1 项风险
低风险

安装命令没有固定依赖版本

原文依据:2 处
发现了什么

安装命令没有指定依赖版本。同样的命令以后可能下载不同代码,你实际安装的内容可能与这次检查时不同。

为什么需要注意

即使命令和报告没变,以后安装时也可能下载到另一份代码。

安装示例从 GitHub 仓库添加技能,但没有固定提交哈希、标签或版本。用户以后执行同一命令时,上游仓库内容可能已经变化,因此实际安装内容不一定等于本次所审材料。用户可要求作者提供不可变的提交哈希,并在安装前核对该版本。

SKILL.md:28来自说明文档打开原文件
```bashnpx skills add agentspace-so/runcomfy-skills --skill video-edit -g```
查看另外 1 个位置
SKILL.md:27来自说明文档打开原文件
```bashnpx skills add agentspace-so/runcomfy-skills --skill video-edit -g```
会不会误导 AI 或隐藏内容?检查工作说明是否要求 AI 忽略你的指令、干扰检查结果,或夹带看不见的文字。未发现风险
会不会偷偷改推广链接或收款方?检查是否强制替换推广链接或收款对象,同时要求隐瞒更改。未发现风险

Skill 逻辑拆解

8 个说明模块

该 Skill 是一个路由说明:它根据编辑意图选择 Wan、Kling 或 Lucy 模型,然后通过本地 RunComfy CLI 向远程 Model API 提交 JSON、轮询结果并下载生成文件。

查看原文
SKILL.md:217来自说明文档打开原文件
The skill picks one of Wan 2.7 Edit-Video / Kling 2.6 Pro Motion Control / Lucy Edit Restyle based on user intent and invokes `runcomfy run <model_id>` with the matching JSON body. The CLI POSTs to the Model API, polls the request, fetches the result, and downloads any `.runcomfy.net`/`.runcomfy.com` URL into `--output-dir`. `Ctrl-C` cancels the remote request before exit.

使用前需要安装第三方 npm CLI,并通过交互式登录或环境变量提供 RunComfy 凭据。登录模式会在用户主目录中持久保存令牌。

查看原文
SKILL.md:49来自说明文档打开原文件
1. **RunComfy CLI** — `npm i -g @runcomfy/cli`2. **RunComfy account** — `runcomfy login`.3. **CI / containers** — set `RUNCOMFY_TOKEN=<token>`.4. **A source video URL** — formats and limits depend on the chosen route.
SKILL.md:221来自说明文档打开原文件
- **Token storage**: `runcomfy login` writes the API token to `~/.config/runcomfy/token.json` with mode 0600 (owner-only read/write). Set `RUNCOMFY_TOKEN` env var to bypass the file entirely in CI / containers.- **Input boundary**: the user prompt is passed as a JSON string to the CLI via `--input`. The CLI does NOT shell-expand the prompt; it transmits the JSON body directly to the Model API over HTTPS. No shell injection surface from prompt content.

提交的是媒体 URL,而不是仅在本机处理文件;说明明确称这些 URL 会由 RunComfy 模型服务器获取。所提供材料只有 Skill 文档,没有 CLI 实现,因此文档所称的域名白名单、无遥测和下载上限无法在本次材料中独立验证。

查看原文
SKILL.md:223来自说明文档打开原文件
- **Input boundary**: the user prompt is passed as a JSON string to the CLI via `--input`. The CLI does NOT shell-expand the prompt; it transmits the JSON body directly to the Model API over HTTPS. No shell injection surface from prompt content.- **Third-party content**: image / mask / video URLs you pass are fetched by the RunComfy model server, not by the CLI on your machine. Treat external URLs as untrusted; image-based prompt injection is a known risk for any image-edit / video-edit model.- **Outbound endpoints**: only `model-api.runcomfy.net` (request submission) and `*.runcomfy.net` / `*.runcomfy.com` (download whitelist for generated outputs). No telemetry, no callbacks.- **Generated-file size cap**: the CLI aborts any single download > 2 GiB to prevent disk-fill from a malicious or runaway model output.
从这里开始 · 工作说明SKILL.md
video-edit
连线表示工作说明包含的模块,不是实际运行顺序。点击模块可查看原文。 另有 1 个章节,可在原文件中查看。
文件与检查记录1 个文件

检查范围与遗漏

逐文件查看涉及的内容

下方列出本次涉及的原文范围;纳入检查不代表已查清所有问题。

  • SKILL.md已纳入全文

这份报告只针对上方版本。我们看了拿到的代码和说明文件,没有实际运行 Skill,也没有检查它另外安装的软件包。因此,这不是“保证安全”的承诺;换了版本或使用环境,结果也可能不同。

  • SKILL.md工作说明

代码和说明中提到的操作

连接外部网站
SKILL.md:17来自说明文档打开原文件
  "outfit swap video", or any explicit ask to transform a video.homepage: https://www.runcomfy.comlicense: MIT
SKILL.md:23来自说明文档打开原文件
[runcomfy.com](https://www.runcomfy.com/?utm_source=skills.sh&utm_medium=skill&utm_campaign=video-edit) · [Wan 2.7 Edit-Video](https://www.runcomfy.com/models/wan-ai/wan-2-7/edit-video?utm_source=skills.sh&utm_medium=skill&utm_campaign=video-edit) · [Kling Motion-Control Pro](https://www.runcomfy.com/models/kling/kling-2-6/motion-control-pro?utm_source=skills.sh&utm_medium=skill&utm_campaign=video-edit) · [Lucy Edit Restyle](https://www.runcomfy.com/models/decart/lucy-edit/restyle?utm_source=skills.sh&utm_medium=skill&utm_campaign=video-edit) · [GitHub](https://github.com/agentspace-so/runcomfy-skills/tree/main/video-edit)
SKILL.md:81来自说明文档打开原文件
    "prompt": "Preserve the speaker'\''s face, pose, and lip movement; change the background to a modern office with neutral lighting.",    "video": "https://.../speaker.mp4",    "audio_setting": "origin"
运行命令
SKILL.md:27来自说明文档打开原文件
```bashnpx skills add agentspace-so/runcomfy-skills --skill video-edit -g
SKILL.md:77来自说明文档打开原文件
```bashruncomfy run wan-ai/wan-2-7/edit-video \
SKILL.md:89来自说明文档打开原文件
```bashruncomfy run wan-ai/wan-2-7/edit-video \
安装其他软件包
SKILL.md:28来自说明文档打开原文件
```bashnpx skills add agentspace-so/runcomfy-skills --skill video-edit -g```
读取了多少行
226
文件校验值(用于核对版本)
a985e9899ff95bc1c112baa42ec19bdb680ee7153db617a9936a547f500002df