T08 · Insecure Dependencies
- Location
SKILL.md:237- Finding
Unpinned Third-Party CLI and Skill Repository Dependencies
- Content
View full analysis
Vulnerability Details
File Location:
SKILL.md, lines 237–250
Vulnerability Type: Supply-chain exposure through mutable, unpinned dependencies
Risk Level: MediumVulnerable Code
markdown 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 Equivalent unpinned installation recommendations also appear at `SKILL.md:154` and `SKILL.md:321-322`. ### Technical Analysis The documented setup process invokes the `skills` CLI through `npx` without pinning a reviewed package version and downloads skills from `AgentPMT/agent-skills` without specifying an immutable commit or verified artifact digest. Consequently, the effective dependencies installed by these commands can change after this Skill has been audited. An npm package takeover, compromised publisher account, malicious package-version update, repository compromise, or unauthorized modification of the repository's default branch could cause later users to retrieve content different from the reviewed content. Running a mutable package through `npx` is particularly sensitive because npm package lifecycle behavior and the invoked CLI execute with the operating-system privileges of the user run ...[truncated 1958 chars]- Remediation
View remediation
Remediation Suggestions
- Pin the
skillsnpm package to a reviewed exact version rather than allowingnpxto resolve the latest release:bash npx --yes skills@<reviewed-exact-version> add AgentPMT/agent-skills --skill what-is-agentpmt - Pin
AgentPMT/agent-skillsto an immutable commit SHA or signed release tag supported by the installer. - Publish expected integrity hashes for downloaded archives and verify them before installation.
- Require signed releases and enforce protected branches, mandatory review, and multi-factor authentication for dependency publishers.
- Use a lockfile, internal package mirror, or approved artifact registry so production installation does not depend on mutable upstream state.
- Avoid running installation commands with administrator or root privileges. Execute them in a sandbox with restricted filesystem, credential, and network access.
- Review downloaded Skill files before activation and require explicit user approval before installing additional companion skills.
- Document the exact dependency versions and repository revisions included in each audited Skill release.
- Pin the
