T08 · Insecure Dependencies
- Location
SKILL.md:109- Finding
Unpinned Third-Party Packages Are Retrieved and Executed Automatically
- Content
View full analysis
` 4. Verify before use: - `./extensions/acpx/node_modules/.bin/acpx --version` 5. If install/repair changed ACPX artifacts, restart the gateway and offer to run the restart. 6. Do not run `npm install -g acpx` unless the user explicitly asks for global install. ``` ```markdown ### Built-in adapter commands in acpx Defaults are: - `pi -> npx pi-acp` - `claude -> npx -y @zed-industries/claude-agent-acp` - `codex -> npx @zed-industries/codex-acp` - `opencode -> npx -y opencode-ai acp` - `gemini -> gemini` - `kimi -> kimi acp` If `~/.acpx/config.json` overrides `agents`, those overrides replace defaults. ``` ### Technical Analysis The skill directs the agent to retrieve executable npm packages and immediately run their code. Although the main `acpx` dependency is intended to be resolved from an extension dependency, the adapter commands use `npx` package names without exact versions or integrity verification. Some commands also use `-y`, suppressing installation confirmation. An npm package can execute code through installation lifecycle scripts or through its command-line entry point. Because an unpinned package can change after this skill has been reviewed, the code ultimately executed is ...[truncated 1811 chars]- Remediation
View remediation
