T08 · Insecure Dependencies
Warning
- Location
- SKILL.md:180
- Finding
- Unpinned Third-Party Package Installation Creates Supply-Chain Risk## Vulnerability Details **File Location**: `SKILL.md:180-190` **Additional Location**: `SKILL.md:255-256` **Vulnerability Type**: Unpinned third-party dependency installation **Risk Level**: Medium ### Vulnerable 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-setup ``` ``` ### Technical Analysis The documented setup commands invoke `npx` without an exact package version, immutable repository commit, or integrity hash. Consequently, the code retrieved when a user follows these instructions can differ from the version that existed when this Skill was audited. The two installed setup Skills are not included in the audited artifact, which contains only `SKILL.md` and `schema.md`. Their effective behavior, including any executable installation hooks or additional instructions, therefore cannot be verified from this project. This creates a supply-chain trust boundary in which registry resolution and mutable upstream content determine what is installed. This is not evidence that the current AgentPMT dependency is malicious. The vulnerability is that upstream or registry compromise could change the retrieved content after review without requiring a modification to this Skill. ### A ...[truncated 1268 chars]
- Remediation
- ## Remediation Suggestions 1. Pin every package to an exact, reviewed version instead of relying on mutable default resolution. 2. Pin referenced repositories or Skill bundles to immutable commit hashes or signed release artifacts. 3. Publish and verify cryptographic integrity hashes before installation. 4. Vendor the required setup Skills into the reviewed distribution when practical. 5. Audit all transitive dependencies and maintain a lockfile or equivalent dependency manifest. 6. Require signature verification and use a trusted package registry with protected maintainer accounts. 7. Run installation in a restricted environment without unnecessary filesystem, credential, or network access. 8. Avoid automatic installation; require explicit user approval showing the exact version and source that will be installed.
