前置步骤会全局安装并运行未随审计材料提供的 npm CLI
原文依据:3 处Skill 要求执行 `npm i -g @runcomfy/cli`,随后通过该 CLI 登录、提交请求和下载文件。全局 npm 安装会修改用户环境,并可能执行包的安装脚本;本材料未包含该包的源码或锁定版本,无法核验实际行为或更新后行为。
如果软件包、其依赖或后续版本被篡改,它会在安装或运行时获得当前用户权限,可读取该用户可访问的数据、修改配置或使用 RunComfy 凭据。
前置说明要求通过 npm 全局安装未锁定版本的 `@runcomfy/cli`,随后用它登录,并以 bearer token 提交请求、轮询和下载结果。全局安装会改变用户的工具环境,而审计材料只包含 Skill 文档,没有 CLI 源码或版本锁,因此无法从这些材料核验安装时及运行时的实际行为。该风险来自用户执行前置步骤,并不证明包有恶意。用户可要求锁定并审查具体版本、限制安装权限,并隔离令牌和输出目录。
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`.4. **For i2v endpoints**: a publicly fetchable source image URL (HTTPS, JPEG/PNG/WebP).查看另外 2 个位置
1. The skill picks one of six Kling 3.0 endpoints based on the user's tier (Standard / Pro / 4K) and mode (t2v / i2v) intent.2. It invokes `runcomfy run kling/kling-3.0/<tier>/<mode>` with a JSON body matching the schema.3. The CLI POSTs to the RunComfy Model API with the user's bearer token.4. The Model API returns a `request_id`; the CLI polls every 2 seconds until the Kling 3.0 generation finishes.5. On terminal status, the CLI fetches the Kling 3.0 result and downloads any `.runcomfy.net` / `.runcomfy.com` URL into `--output-dir`.6. `Ctrl-C` cancels the in-flight Kling 3.0 request before billing.1. The skill picks one of six Kling 3.0 endpoints based on the user's tier (Standard / Pro / 4K) and mode (t2v / i2v) intent.2. It invokes `runcomfy run kling/kling-3.0/<tier>/<mode>` with a JSON body matching the schema.3. The CLI POSTs to the RunComfy Model API with the user's bearer token.4. The Model API returns a `request_id`; the CLI polls every 2 seconds until the Kling 3.0 generation finishes.5. On terminal status, the CLI fetches the Kling 3.0 result and downloads any `.runcomfy.net` / `.runcomfy.com` URL into `--output-dir`.6. `Ctrl-C` cancels the in-flight Kling 3.0 request before billing.