T08 · Insecure Dependencies
- Location
SKILL.md:303- Finding
Unpinned Remote Skill Installation Creates a Supply-Chain Risk
- Content
View full analysis
Vulnerability Details
File Location:
SKILL.md:303-318
Vulnerability Type: Unpinned third-party dependency installation
Risk Level: MediumVulnerable Code
markdown If those setup skills are not installed beside this product skill, use the downloads below. Core AgentPMT setup skills: - What AgentPMT is: ../what-is-agentpmt - ClawHub page: https://clawhub.ai/agentpmt/what-is-agentpmt - OpenClaw install: `openclaw skills install what-is-agentpmt` - skills.sh install: `npx skills add AgentPMT/agent-skills --skill what-is-agentpmt` - AgentPMT account MCP/REST setup: ../agentpmt-account-mcp-rest-api-setup - ClawHub page: https://clawhub.ai/agentpmt/agentpmt-account-mcp-rest-api-setup - OpenClaw install: `openclaw skills install agentpmt-account-mcp-rest-api-setup` - skills.sh install: `npx skills add AgentPMT/agent-skills --skill agentpmt-account-mcp-rest-api-setup` skills.sh install script: ```bash npx skills add AgentPMT/agent-skills --skill what-is-agentpmt npx skills add AgentPMT/agent-skills --skill agentpmt-account-mcp-rest-api-setuptext Related behavior also appears at `SKILL.md:14`, where users are told to reinstall the Skill after seven days without identifying a trusted version or immutable artifact: ```markdown If the current date is more than 7 days after the last updated date, reinstall this skill from skills.sh or ClawHub before relying on endpoints, schemas, setup steps, or examples.Technical Analysis
The Skill recommends using
npxand marketplace installers to retrieve dependencies by mutable names without specifying a package version, commit hash, artifact digest, lockfile, or signature-verification requirement. Consequently, the dependency contents installed in the future need not be the same contents reviewed during this audit.Running
npxmay download and execute package tooling from the configured npm registry. The invoked installe ...[truncated 3058 chars]- Remediation
View remediation
Remediation Suggestions
- Pin the
skillsnpm package to a reviewed exact version rather than allowingnpxto resolve the latest release. - Pin downloaded Skills to immutable commit hashes, signed releases, or content-addressed artifact digests.
- Publish expected SHA-256 digests and verify downloaded artifacts before installation.
- Require signature verification using a documented trusted publisher key and fail closed when verification is unavailable.
- Replace time-based unconditional reinstallation with an authenticated update process that displays and verifies the exact version being installed.
- Use a lockfile or internally mirrored, reviewed artifacts for production deployments.
- Run installation in a sandbox with minimal filesystem, environment-variable, credential, and network access.
- Review downloaded account-setup Skills separately before granting them access to authentication material.
- Require explicit user approval before installing or updating any remote Skill, including a clear display of its source, version, digest, and requested permissions.
- Pin the
