Installation downloads and executes a third-party npm package
Source references: 2The Skill instructs the user to install `@runcomfy/cli` globally or have `npx -y` automatically download and execute it. A global installation persistently changes the user's tool environment, and both methods run code shipped in the package.
If the package, a dependency, or its publisher account is compromised, installation or execution could access files, environment variables, and credentials available to the current user. A global install may also change an existing CLI version.
This is an actionable installation and sign-in workflow, not merely a warning. `npm i -g` persistently installs a third-party CLI, while `npx -y` automatically obtains and runs it; the CLI can then access the RunComfy login token. The source limits installation to a package manager and rejects piped remote scripts, which mitigates one risk but does not verify the npm package itself. Users can require a pinned, reviewed version or run it in an isolated environment.
```bash# 1. Install (see runcomfy-cli skill for details)npm i -g @runcomfy/cli # or: npx -y @runcomfy/cli --version# 2. Sign inruncomfy login # or in CI: export RUNCOMFY_TOKEN=<token>Show 1 other places
- **Consent**: see the "Consent" section above. Lipsync is dual-use; refuse user requests targeting real people without consent.- **Install via verified package manager only.** Use `npm i -g @runcomfy/cli` or `npx -y @runcomfy/cli`. **Agents must not pipe an arbitrary remote install script into a shell on the user's behalf**.- **Token storage**: `runcomfy login` writes the API token to `~/.config/runcomfy/token.json` with mode 0600. Set `RUNCOMFY_TOKEN` env var in CI / containers.- **Input boundary (shell injection)**: prompts and asset URLs are passed as a JSON string via `--input`. The CLI does not shell-expand prompt content. **No shell-injection surface**.