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

Wan 2 7 Skill 安全审计

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

>

第三方安全检查结论

发现安全风险

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

安装步骤会在本机执行第三方 npm 软件并进行全局修改

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

说明要求用 npm 全局安装 @runcomfy/cli,另给出通过 npx 从远程仓库添加 Skill 的命令。npm/npx 软件包在安装或启动时可以执行发布者提供的代码;全局安装还会在用户的全局 npm 环境中留下可执行文件。

为什么需要注意

如果所解析的软件包版本或其依赖遭到破坏,第三方代码可能以当前用户权限读取可访问文件和凭据或更改本机环境。提供的命令没有固定版本、提交哈希或校验值。

文档提供两种会获取并运行第三方 npm 内容的安装命令,其中 CLI 被全局安装,会在用户的 npm 全局位置增加可执行软件。源码未说明固定版本、完整性校验或安装脚本限制;用户可在隔离环境中安装,并要求作者提供固定版本、校验值和所需权限说明。

SKILL.md:23来自说明文档打开原文件
```bashnpx skills add agentspace-so/runcomfy-skills --skill wan-2-7 -g```
查看另外 2 个位置
SKILL.md:43来自说明文档打开原文件
1. **RunComfy CLI** — `npm i -g @runcomfy/cli`2. **RunComfy account** — `runcomfy login` opens a browser device-code flow.
SKILL.md:24来自说明文档打开原文件
```bashnpx skills add agentspace-so/runcomfy-skills --skill wan-2-7 -g```
会不会泄露文件和密钥?检查是否发送含密码或密钥的文件,以及代码里是否直接写了密钥。发现 1 项风险
中风险

提示词和音频引用会被交给第三方 RunComfy 服务处理

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

CLI 会把整个 JSON 请求发送到 RunComfy 模型 API;若填写 audio_url,RunComfy 服务器还会获取该地址指向的音频。提示词可能包含未公开脚本、客户信息或品牌资料,音频地址也可能包含访问令牌或其他敏感查询参数。

为什么需要注意

RunComfy 将获得提交的文本、参数以及可访问的音频内容;带签名或令牌的 URL 还可能授予服务器额外的文件访问能力。源码没有提供 RunComfy 的保留、训练使用或删除政策。

调用会把包含提示词及可选 audio_url 的 JSON 发送给第三方 RunComfy API,音频地址用于口型同步。因此,提示词内容和服务器为完成处理而访问的音频会离开本机。不要提交机密文案;音频应使用不含长期令牌或敏感查询参数的受限 URL,并可向作者确认保留、日志和删除政策。

SKILL.md:54来自说明文档打开原文件
| `prompt` | string | yes | — | Up to ~5000 chars / ~1500 tokens. || `audio_url` | string | no | — | WAV/MP3, 3–30s, ≤15MB. **Drives lip-sync.** Omit → background music auto-generated. || `aspect_ratio` | enum | no | `16:9` | `16:9`, `9:16`, `1:1`, `4:3`, `3:4`. |
查看另外 2 个位置
SKILL.md:177来自说明文档打开原文件
The skill invokes `runcomfy run wan-ai/wan-2-7/text-to-video` with a JSON body matching the schema. The CLI POSTs to `https://model-api.runcomfy.net/v1/models/wan-ai/wan-2-7/text-to-video`, 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:183来自说明文档打开原文件
- **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.
会不会删除文件或一直在后台运行?检查是否大范围删除文件、改写磁盘,或设置自动启动。未发现风险
会不会绕过安全保护?检查是否跳过网站安全验证、开放过多文件权限,或取消操作前的确认。发现 1 项风险
低风险

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

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

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

为什么需要注意

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

安装示例使用未固定提交或版本的仓库引用。用户日后运行同一命令时,可能获得与本次审查不同的 Skill 内容。安装前可要求作者提供固定提交哈希或带版本的发布包,并核对来源。

SKILL.md:24来自说明文档打开原文件
```bashnpx skills add agentspace-so/runcomfy-skills --skill wan-2-7 -g```
会不会误导 AI 或隐藏内容?检查工作说明是否要求 AI 忽略你的指令、干扰检查结果,或夹带看不见的文字。发现 1 项风险
低风险

默认提示词扩展可能改变要求严格的文案或生成意图

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

enable_prompt_expansion 默认值为 true,文档明确说明短提示词会被自动改写。因此,提交给生成模型的有效指令可能不再逐字等同于用户输入。

为什么需要注意

品牌文案、法律措辞、产品声明或其他需要逐字一致的内容可能被增删或重新解释,使生成结果不符合审批稿。

提示词扩展默认开启,短提示词会被模型自动改写,所以实际生成所依据的文本可能不同于用户原文。这对品牌措辞、合规文案或其他必须逐字执行的要求有影响。不过文档明确披露并提供关闭选项;严格任务可要求设置 enable_prompt_expansion: false,并在提交前确认最终请求。

SKILL.md:59来自说明文档打开原文件
| `negative_prompt` | string | no | — | Up to 500 chars. Concrete issues to avoid. || `enable_prompt_expansion` | bool | no | true | Auto-rewrites short prompts. Disable for literal control. || `seed` | int | no | — | 0..2^31-1. Reuse for variants. |
查看另外 1 个位置
SKILL.md:105来自说明文档打开原文件
**Prompt expansion is on by default.** Short prompts get auto-rewritten by the model. For terse / literal prompts (e.g. brand-strict ad copy), disable with `enable_prompt_expansion: false`.
会不会偷偷改推广链接或收款方?检查是否强制替换推广链接或收款对象,同时要求隐瞒更改。未发现风险

Skill 逻辑拆解

8 个说明模块

该 Skill 通过本地 RunComfy CLI 向 RunComfy 的模型 API 提交 JSON 请求,轮询任务,并把生成结果下载到用户指定的目录。

查看原文
SKILL.md:177来自说明文档打开原文件
The skill invokes `runcomfy run wan-ai/wan-2-7/text-to-video` with a JSON body matching the schema. The CLI POSTs to `https://model-api.runcomfy.net/v1/models/wan-ai/wan-2-7/text-to-video`, 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,并通过浏览器登录或提供环境变量中的 API 令牌;浏览器登录会在用户配置目录保存令牌。

查看原文
SKILL.md:43来自说明文档打开原文件
1. **RunComfy CLI** — `npm i -g @runcomfy/cli`2. **RunComfy account** — `runcomfy login` opens a browser device-code flow.3. **CI / containers** — set `RUNCOMFY_TOKEN=<token>` instead of `runcomfy login`.
SKILL.md:181来自说明文档打开原文件
- **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.

提示词扩展默认开启,因此短提示词可能在生成前被模型自动改写;需要逐字控制时可以显式关闭。

查看原文
SKILL.md:59来自说明文档打开原文件
| `negative_prompt` | string | no | — | Up to 500 chars. Concrete issues to avoid. || `enable_prompt_expansion` | bool | no | true | Auto-rewrites short prompts. Disable for literal control. || `seed` | int | no | — | 0..2^31-1. Reuse for variants. |
SKILL.md:105来自说明文档打开原文件
**Prompt expansion is on by default.** Short prompts get auto-rewritten by the model. For terse / literal prompts (e.g. brand-strict ad copy), disable with `enable_prompt_expansion: false`.
从这里开始 · 工作说明SKILL.md
wan-2-7
连线表示工作说明包含的模块,不是实际运行顺序。点击模块可查看原文。 另有 3 个章节,可在原文件中查看。
文件与检查记录1 个文件

检查范围与遗漏

逐文件查看涉及的内容

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

  • SKILL.md已纳入全文

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

  • SKILL.md工作说明

代码和说明中提到的操作

连接外部网站
SKILL.md:13来自说明文档打开原文件
  "wan video", or any explicit ask to generate video with this model.homepage: https://www.runcomfy.comlicense: MIT
SKILL.md:19来自说明文档打开原文件
[runcomfy.com](https://www.runcomfy.com/?utm_source=skills.sh&utm_medium=skill&utm_campaign=wan-2-7) · [Text-to-video](https://www.runcomfy.com/models/wan-ai/wan-2-7/text-to-video?utm_source=skills.sh&utm_medium=skill&utm_campaign=wan-2-7) · [GitHub](https://github.com/agentspace-so/runcomfy-skills/tree/main/wan-2-7)
SKILL.md:78来自说明文档打开原文件
    "prompt": "Medium close-up of the spokesperson, warm key light, locked tripod, slight breathing motion.",    "audio_url": "https://.../voiceover.mp3",    "duration": 12,
运行命令
SKILL.md:23来自说明文档打开原文件
```bashnpx skills add agentspace-so/runcomfy-skills --skill wan-2-7 -g
SKILL.md:66来自说明文档打开原文件
```bashruncomfy run wan-ai/wan-2-7/text-to-video \
SKILL.md:74来自说明文档打开原文件
```bashruncomfy run wan-ai/wan-2-7/text-to-video \
安装其他软件包
SKILL.md:24来自说明文档打开原文件
```bashnpx skills add agentspace-so/runcomfy-skills --skill wan-2-7 -g```
读取了多少行
186
文件校验值(用于核对版本)
b5ee6fc70446df2e30d2f37590e43760a090845975f848ee2f05a0bb0848b4da