T08 · Insecure Dependencies
- Location
SKILL.md:90- Finding
Unpinned Third-Party Skill Installation with Unattended Global Scope
- Content
View full analysis
Vulnerability Details
File Location:
SKILL.md, lines 90-94; related CLI instructions at lines 22-28 and 51-53
Vulnerability Type: Untrusted and unpinned dependency installation
Risk Level: HighVulnerable Code
bash npx skills add <owner/repo@skill> -g -yRelated commands include:
bash npx skills find [query] npx skills add <package> npx skills check npx skills updateTechnical Analysis
The skill directs the agent to discover and install third-party cryptocurrency skills using an npm-distributed CLI. Neither the
skillsCLI nor the discovered skill is pinned to a reviewed immutable version, commit hash, or integrity digest.Invoking
npx skillscan retrieve and execute a package version from an external package registry. The resulting payload can therefore differ from the version previously reviewed. The discovered skill is likewise installed from a mutable package or repository reference without a mandatory source review or integrity check.The
-goption increases the installation scope by installing the selected skill globally, while-ysuppresses the normal confirmation checkpoint. Together, these options facilitate unattended installation of remotely sourced code and reduce the user's opportunity to inspect the selected source, requested privileges, lifecycle scripts, and package contents.The document advises users to verify skill sources, but verification is only a reminder and is not enforced before installation.
Attack Path
- An attacker publishes a malicious skill under a plausible name, compromises an existing skill or CLI package, or introduces malicious content into a mutable repository reference.
- The agent searches the ecosystem using
npx skills findand presents the attacker-controlled package as a relevant result. - The user accepts the installation based on the skill name or search result.
- The agent runs `npx skills add ...[truncated 1134 chars]
- Remediation
View remediation
Remediation Suggestions
- Pin the
skillsCLI to a reviewed version instead of executing an unspecified current release, for example by using an exact package version. - Pin every installed skill to an immutable release, verified commit hash, or equivalent immutable identifier.
- Verify registry integrity metadata, repository ownership, release signatures, and cryptographic checksums before installation.
- Remove
-gand install skills into an isolated project or sandbox with the minimum necessary filesystem and network permissions. - Remove
-yand require explicit, informed user approval after displaying the exact package, version, source repository, requested permissions, and installation scripts. - Inspect package manifests, lifecycle hooks, scripts, dependencies, and source code before execution.
- Disable or ignore package lifecycle scripts where supported unless they have been separately reviewed and are required.
- Use exchange API keys restricted to the minimum required operations, prohibit withdrawal permissions, and isolate credentials per skill.
- Test newly installed crypto skills with non-sensitive accounts and small amounts before allowing access to production trading systems.
- Establish an allowlist of reviewed publishers and packages rather than installing arbitrary search results.
- Pin the
