T08 · Insecure Dependencies
- Location
SKILL.md:12- Finding
Unpinned Executable Dependency and Non-Interactive Skill Installation
- Content
View full analysis
-y ``` ``` ### Technical Analysis The Node.js dependency `@anygen/cli` is specified without a fixed version or integrity digest. Installation can therefore resolve to whatever package version the registry currently serves rather than the exact artifact reviewed during this audit. The installed CLI is subsequently instructed to retrieve and install an unspecified workflow skill. The `-y` option makes that installation non-interactive, reducing the opportunity to review the downloaded skill, its version, its permissions, and its instructions before installation. This creates a supply-chain trust boundary in which executable package content and Agent instructions can change after this skill has been reviewed. Exploitation depends on compromise or malicious control of the relevant package registry, publisher account, CLI distribution path, or workflow-skill distribution channel. ### Attack Path 1. An attacker compromises the `@anygen/cli` publisher account, package registry entry, or workflow-skill distribution channel. 2. The attacker publishes a modified CLI release or replaces the remotely distributed workflow skill with malicious content. 3. A user installs this skill without a version constraint, causing the current package release to be selected. 4. If the workflow skill is unavailable, the Agent runs `anygen skill install` with automatic confirmation enabled. 5. The malicious package code executes during installation or command invocation, or the malicious workflow instructions are loade ...[truncated 710 chars]- Remediation
View remediation
