T08 · Insecure Dependencies
- Location
SKILL.md:355- Finding
Unpinned Third-Party Installer Execution
- Content
View full analysis
Vulnerability Details
File Location:
SKILL.md, lines 355–365 and 416–417
Vulnerability Type: Unpinned third-party dependencies and mutable installation sources
Risk Level: MediumVulnerable Code Snippet
text - 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 The equivalent unpinned `npx` installation references are repeated at lines 416–417. ### Technical Analysis The documented `npx skills add` commands may download and execute the currently resolved version of the `skills` npm package. They then install content from the mutable `AgentPMT/agent-skills` repository reference. The commands pin neither an exact npm package version nor a repository commit and provide no checksum or signature verification. Consequently, the code actually processed during setup can change after this Skill has been reviewed. This creates a supply-chain boundary in which compromise of the npm package, its maintainer account, the package registry, or the referenced upstream repository could expose users to attacker-controlled installer behavior. The remote AgentPMT MCP and REST communication described elsewhere in the Skill is consistent with its declared workflow-management functionality. No hidden credential-exfiltration behavior w ...[truncated 1609 chars]- Remediation
View remediation
Remediation Suggestions
- Pin the
skillsnpm package to an exact reviewed version rather than allowingnpxto resolve the latest mutable release. - Pin
AgentPMT/agent-skillsto a reviewed commit hash or immutable signed release tag. - Publish cryptographic checksums or signatures for installed artifacts and verify them before installation.
- Prefer a reviewed marketplace or package-manager installation flow that does not execute mutable third-party package code during resolution.
- Document the expected publisher identity and verification procedure so users can detect registry or repository substitution.
- Re-audit dependency updates before changing pinned versions or commit references.
- Where feasible, run installation in a restricted environment with minimal filesystem, credential, and network access.
- Pin the
