T08 · Insecure Dependencies
- Location
SKILL.md:386- Finding
Unpinned Third-Party Package and Skill Installation
- Content
View full analysis
Vulnerability Details
File Location:
SKILL.md, lines 386-396
Vulnerability Type: Unpinned third-party dependency execution
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 The same unpinned `npx` installation instructions are repeated at `SKILL.md:457-458`. ### Technical Analysis The Skill directs users or agents to invoke `npx skills` and install Skill content from `AgentPMT/agent-skills` without pinning the CLI package to an exact reviewed version or pinning the remote source to an immutable commit or signed release. `npx` can retrieve and execute package code from the configured npm registry. Mutable package versions and repository branches allow the effective installation payload to change after this Skill has been audited. Consequently, the security of the setup procedure depends on third-party package publishing accounts, registry integrity, repository integrity, and name resolution at installation time. The related automatic freshness instruction at `SKILL.md:14` increases exposure by recommending reinstallation whenever the document is more than seven days old, without requiring integrity verification. ### Attack Path 1. An attacker compromises the npm ...[truncated 1242 chars]- Remediation
View remediation
Remediation Suggestions
- Pin the
skillsCLI to an exact reviewed version, for example by using an exact package version rather than an unqualifiednpx skillsinvocation. - Pin
AgentPMT/agent-skillsto an immutable commit hash or cryptographically signed release instead of a mutable branch or latest version. - Publish and verify cryptographic checksums or signatures for downloaded Skill artifacts before installation.
- Use a lockfile or equivalent integrity metadata where the installation mechanism supports it.
- Prefer a pre-reviewed local installation artifact over runtime retrieval and execution.
- Replace automatic age-based reinstallation with a process that first verifies the source, version, signature, release notes, and requested permission changes.
- Run installation in a sandbox or minimally privileged account without access to unrelated credentials and sensitive files.
- Document the expected package publisher, repository identity, version, commit, and verification procedure so users can detect substitution.
- Pin the
