T08 · Insecure Dependencies
- Location
SKILL.md:87- Finding
Unpinned External Skill Installation with Automatic Confirmation
- Content
View full analysis
Vulnerability Details
File Location:
SKILL.md:87-94
Vulnerability Type: Supply-chain exposure through an unpinned external dependency
Risk Level: HighVulnerable Code
bash anygen skill install --platform claude-code -yThe surrounding instructions state that this command installs the required
anygen-workflow-generateSkill and that-yskips interactive confirmation. However, the command does not identify that dependency by name, pin an immutable version, specify a trusted registry, or require signature or checksum verification.Technical Analysis
The Skill directs the Agent to install remotely resolved Skill content while suppressing user confirmation. Because the dependency is neither explicitly selected nor pinned to a reviewed version, the effective installed content may differ between executions.
This creates a supply-chain trust boundary: compromise of the external Skill registry, mutable upstream content, package-resolution behavior, or dependency identity could cause unreviewed instructions or executable components to be installed. The risk is amplified because the Skill declares
read,write, andexectools, and a downloaded Skill could potentially direct the Agent to use those capabilities.This finding is based on unsafe dependency installation instructions. The audited artifact does not contain the AnyGen CLI or downloaded dependency, so compromise of those external components was not directly verified.
Attack Path
- An attacker compromises the external Skill source, replaces mutable dependency content, or influences resolution to select an unintended package.
- The Agent follows
SKILL.mdand executes the installation command with-y. - The installation proceeds without an interactive review of package identity, version, contents, or requested permissions.
- The Agent loads or follows the newly installed Skill.
- Attacker-controlled instructions or code ...[truncated 653 chars]
- Remediation
View remediation
Remediation Suggestions
- Specify the exact dependency name in the installation command.
- Pin the dependency to an immutable, reviewed version rather than resolving the latest mutable release.
- Specify an approved registry or repository explicitly.
- Verify a cryptographic signature or published checksum before loading the dependency.
- Remove
-yand require users to review the dependency identity, source, version, permissions, and installation plan. - Install and execute third-party Skills in a restricted sandbox with minimal filesystem, command-execution, credential, and network access.
- Maintain a dependency lock file or allowlist and periodically audit installed Skill content.
- Fail closed if package identity, provenance, or integrity cannot be verified.
