T08 · Insecure Dependencies
- Location
SKILL.md:317- Finding
Unpinned Third-Party Setup Dependencies
- Content
View full analysis
Vulnerability Details
File Location:
SKILL.md, lines 317-327
Vulnerability Type: Supply-chain risk from mutable, unverified dependencies
Risk Level: MediumVulnerable Code
markdown - 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 ### Technical Analysis The Skill directs users to run `npx skills` and install mutable content from `AgentPMT/agent-skills` without specifying an audited package version, immutable repository commit, integrity hash, or signature. Consequently, the dependencies installed at execution time may differ from those originally reviewed. This is especially sensitive because one dependency configures AgentPMT account MCP/REST connectivity. Although no malicious behavior was identified in the audited files themselves, compromise or unauthorized modification of the npm package, repository, publisher account, or distribution channel could introduce unreviewed setup instructions or executable behavior. ### Attack Path 1. An attacker compromises the package, source repository, publisher credentials, or another upstream distribution component. 2. The attacker modifies the package or setup Skill referenced by the unpinned commands. 3. A user foll ...[truncated 1434 chars]- Remediation
View remediation
Remediation Suggestions
- Pin the
skillsnpm package to a specific, audited version rather than relying on the version resolved by an unqualifiednpxinvocation. - Pin
AgentPMT/agent-skillsto an immutable commit SHA or signed release tag. - Publish and verify cryptographic checksums or signatures for downloaded Skill content.
- Use package lockfiles and integrity metadata where supported.
- Require users to inspect and approve the setup Skills before execution, particularly the account MCP/REST setup Skill.
- Run installation with least privilege and prohibit elevated or administrator execution unless explicitly required and justified.
- Document the expected dependency versions and provide a process for reviewing, testing, and intentionally upgrading them.
- Maintain the existing prohibition against placing account secrets, private keys, mnemonics, signatures, and payment headers in prompts or logs.
- Pin the
