T08 · Insecure Dependencies
- Location
SKILL.md:190- Finding
Unpinned Third-Party Skill Installation Creates Supply-Chain Risk
- Content
View full analysis
Vulnerability Details
File Location:
SKILL.md:14,SKILL.md:190-206
Vulnerability Type: Unpinned and mutable third-party dependencies
Risk Level: MediumVulnerable Code
markdown If the current date is more than 7 days after the last updated date, reinstall this skill from skills.sh or ClawHub before relying on endpoints, schemas, setup steps, or examples.markdown Core AgentPMT setup skills: - 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 or agents to invoke `npx` and install remotely hosted Skills without pinning the `skills` package version, the `AgentPMT/agent-skills` repository to an immutable commit, or the downloaded content to a verified checksum or signature. The seven-day freshness instruction also encourages repeated retrieval of mutable remote content. Consequently, the effective setup instructions and any associated executable components may change after this Skill has been audited. Compromise of the npm package, source repository, publishing account, marketplace distribution channel, or an upstream dependency could cause later installations to retrieve attacker-controlled content. This ...[truncated 1833 chars]- Remediation
View remediation
Remediation Suggestions
- Pin the
skillsnpm package to a reviewed, exact version rather than allowingnpxto resolve the latest release. - Pin
AgentPMT/agent-skillsto an immutable commit hash or signed release tag. - Publish cryptographic checksums or signed provenance for every downloaded Skill and verify them before installation.
- Avoid unconditional reinstall instructions based solely on elapsed time. Instead, notify the user that an update exists and require explicit approval after displaying the source and version change.
- Use a locked dependency manifest and integrity metadata where supported.
- Run installation in a restricted environment without access to unrelated credentials, sensitive files, or privileged system locations.
- Document the exact trusted domains, package owners, expected repository, and verification procedure.
- Before uploading an artifact for remote attestation, obtain explicit user consent and disclose the service endpoint, data-retention policy, and fact that the complete artifact will leave the local environment.
- Pin the
