T08 · Insecure Dependencies
- Location
SKILL.md:153- Finding
Unpinned Package Execution and Mutable External Skill Installation
- Content
View full analysis
Vulnerability Details
File Location:
SKILL.md, lines 153–168
Vulnerability Type: Unpinned third-party dependencies and mutable external Skill sources
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` - No-account AgentAddress/x402 setup: ../agentpmt-no-account-agentaddress-x402 - ClawHub page: https://clawhub.ai/agentpmt/agentpmt-no-account-agentaddress-x402 - OpenClaw install: `openclaw skills install agentpmt-no-account-agentaddress-x402` - skills.sh install: `npx skills add AgentPMT/agent-skills --skill agentpmt-no-account-agentaddress-x402` 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 npx skills add AgentPMT/agent-skills --skill agentpmt-no-account-agentaddress-x402text ### Technical Analysis The documented setup commands invoke the `skills` npm package through `npx` without specifying a package version. Depending on the local environment and cache state, `npx` can retrieve and execute the currently published package version. The referenced `AgentPMT/agent-skills` source is also not pinned to an immutable commit, release digest, or integrity hash. Consequently, the effective installation logic and installed Skill contents can change after this package ...[truncated 1820 chars]- Remediation
View remediation
Remediation Suggestions
- Pin the npm package to a reviewed exact version, for example by using an explicit version rather than the latest available package.
- Pin
AgentPMT/agent-skillsto an immutable commit hash or signed release instead of a mutable branch or repository reference. - Record and verify package integrity hashes or signed provenance before execution.
- Vendor the required setup Skills into a reviewed, version-controlled distribution when feasible.
- Use lockfiles and a trusted package registry configuration in automated environments.
- Run installation in a sandbox or least-privileged environment without unrelated credentials, wallet secrets, or sensitive project files.
- Review updates before adoption rather than automatically reinstalling mutable dependencies.
- Document the exact trusted versions and provide a verification procedure for users.
