T08 · Insecure Dependencies
- Location
SKILL.md:344- Finding
Silent Global Installation of Unpinned Remote Dependencies
- Content
View full analysis
--yes --global ``` ### Technical Analysis The Skill automatically invokes `npx skills` and installs a plugin from `okx/plugin-store` without pinning either the CLI package or plugin repository to an immutable version, commit, or verified artifact hash. The `--yes` option suppresses interactive confirmation, while `--global` installs the plugin into persistent, user-wide Agent state. Consequently, the actual installed content can differ from the content available when this Skill was audited. Trust is delegated to the current state of the npm ecosystem, the `skills` package resolution process, the GitHub repository, and the selected plugin. The later binary consent gate does not fully mitigate this finding. It applies after the plugin has already been installed globally and only detects selected binary-download patterns in the installed plugin's instructions. This behavior exceeds the minimum privilege required for DApp discovery and routing. A router could identify a suitable plugin and request approval without automatically modifying global Agent state. ### Attack Path 1. An attacker compromises the unpinned `skills` CLI dependency, the `okx/plugin-store` repository, a maintainer account, or a selected plugin. 2. The attacker introduces malicious Skill instructions or dependency-installation behav ...[truncated 1035 chars]- Remediation
View remediation
