T08 · Insecure Dependencies
- Location
SKILL.md:273- Finding
Unpinned Third-Party Installer Execution
- Content
View full analysis
Vulnerability Details
File Location:
SKILL.md, lines 273-285
Vulnerability Type: Unpinned and mutable 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-setupTechnical Analysis
The documented setup process directs users to execute the
skillsnpm package throughnpxand install content from the mutableAgentPMT/agent-skillssource. Neither the npm package version nor an immutable repository commit or integrity hash is specified.An
npxcommand may download and execute package code at invocation time. Consequently, the code executed by a user can differ from the code available when this Skill was audited. A compromise of the npm package, its maintainer account, the referenced repository, or the dependency resolution path could introduce attacker-controlled installer behavior.This installation mechanism is not required for the core declarative health-data schema itself. It adds a local code-execution and supply-chain trust boundary to a Skill whose declared operation is otherwise limited to remote health-data queries.
Attack Path
- An attacker compro ...[truncated 1429 chars]
- Remediation
View remediation
Remediation Suggestions
- Pin the
skillsnpm package to a specific audited version rather than relying on the version resolved by default. - Pin the
AgentPMT/agent-skillssource to an immutable commit identifier or signed release tag. - Publish and verify cryptographic checksums or signatures for downloaded packages and Skill content before installation.
- Replace direct
npxexecution with a review-first procedure that downloads the package without running it, validates its provenance and integrity, and executes it only after approval. - Use npm lockfiles and integrity metadata where applicable to ensure reproducible dependency resolution.
- Run installation in a sandbox or restricted environment with minimal filesystem, credential, and network access.
- Document the exact trusted publisher, expected package version, repository commit, and verification procedure.
- Avoid requiring auxiliary installers when an already configured AgentPMT MCP or REST connection can provide the declared health-data functionality.
- Pin the
