T08 · Insecure Dependencies
- Location
SKILL.md:33- Finding
Unpinned Third-Party Package and Skill Installation
- Content
View full analysis
Vulnerability Details
File Location:
SKILL.md, lines 33–44
Vulnerability Type: Unpinned third-party dependency execution
Risk Level: MediumVulnerable Code
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 The same unpinned installation pattern is repeated for the timezone, Plaud, and Google Sheets skills at lines 54–55, 65–66, 76–77, and 88–95. ### Technical Analysis The documented commands invoke `npx skills` without specifying an exact version of the npm package. The `AgentPMT/agent-skills` source is likewise not pinned to an immutable commit, verified release, or integrity digest. Thus, the code and instructions installed when a user executes these commands may differ from what existed when this skill was audited. This creates a supply-chain risk: compromise of the package, its publishing account, the referenced repository, or its distribution infrastructure could cause future installations to retrieve altered components. The skill's freshness instruction also encourages reinstallation after seven days, increasing exposure to post-review dependency changes. No evidence establishes that the dependencies are currently malicious. The issue is the absence of immutable ve ...[truncated 1365 chars]- Remediation
View remediation
Remediation Suggestions
- Pin the
skillsnpm package to a reviewed exact version, for example by using an exact package version rather than allowingnpxto resolve the latest release. - Pin
AgentPMT/agent-skillsto an immutable commit hash or cryptographically verified release tag. - Publish and verify integrity hashes or signed provenance for downloaded packages and skill artifacts.
- Use a lockfile or equivalent reproducible dependency manifest where the installation mechanism supports it.
- Avoid automatic or freshness-driven upgrades without reviewing the new package contents and release provenance.
- Run installers with the minimum necessary operating-system privileges and isolate installation in a restricted environment.
- Grant installed Plaud, AgentPMT, and Google Sheets integrations only the scopes required by this workflow.
- Apply the same controls to every repeated unpinned installation command at lines 54–55, 65–66, 76–77, and 88–95.
- Pin the
