An unpinned npm package is executed during diagnostics
Source references: 3Every command uses `npx -y @insforge/cli` without a version or integrity value. The `-y` flag automatically accepts npm's installation prompt, so the code executed depends on the registry version available at that time.
If the package, publisher account, or dependency chain is compromised, code could run in an agent environment that is logged into InsForge and may have access to project files and environment variables.
This is an active execution requirement, not merely an example. Diagnostics use an unpinned `@insforge/cli`, and `npx -y` automatically accepts installation prompts, so execution depends on the package npm resolves at that time. No version or integrity pin is provided. A user can ask for a reviewed pinned version or restrict npm network access.
**Always use `npx -y @insforge/cli`** — never install the CLI globally.Show 2 other places
```bashnpx -y @insforge/cli diagnose --ai "<issue description>"```All commands run via `npx -y @insforge/cli ...`. The `(command)` shown next to each primitive is the actual CLI command — primitive names are concept labels, **not** CLI subcommand names (e.g., "DB health" is `diagnose db`, not `diagnose db-health`; "Policies" is `db policies`, not `diagnose policies`).