T08 · Insecure Dependencies
- Location
SKILL.md:24- Finding
Unpinned Third-Party Skill Installation and Mutable Workflow Dependencies
- Content
View full analysis
Vulnerability Details
File Location:
SKILL.md:24-40
Vulnerability Type: Unpinned and remotely mutable third-party dependencies
Risk Level: MediumVulnerable Code Snippet
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 Equivalent unpinned installation instructions for the Gmail and Telegram integrations also appear at `SKILL.md:51-54`, `SKILL.md:62-65`, `SKILL.md:106-109`, and `SKILL.md:120-127`. ### Technical Analysis The skill directs users to invoke an unpinned `npx` package and install skills from mutable remote sources. It does not specify an immutable package version, repository commit, cryptographic checksum, signature, or reviewed dependency manifest. The local project does not include the implementations or schemas of the Gmail and Telegram skills. Instead, it relies on externally configured workflow-node defaults and linked remote skills. Therefore, the effective behavior that handles email content and mailbox mutations can change after this project has been audited. This is a supply-chain weakness rather than evidence that the currently referenced dependencies are malicious. A future compromise or unauthorized ...[truncated 1756 chars]- Remediation
View remediation
Remediation Suggestions
- Pin the
npxpackage to an explicitly reviewed version rather than resolving the latest available release. - Pin every installed skill to an immutable release identifier or repository commit hash.
- Publish cryptographic checksums or signed manifests and verify them before installation.
- Vendor the exact Gmail and Telegram tool schemas and security-relevant instructions used by the workflow so they can be audited with the parent skill.
- Require explicit review and approval before dependency updates or freshness-driven reinstalls.
- Use a lockfile or equivalent dependency manifest that records all resolved versions and integrity hashes.
- Restrict Gmail and Telegram permissions to the minimum scopes required by the workflow.
- Add a dry-run mode and require user approval before applying labels or archiving messages, particularly after dependency updates.
- Monitor dependency publishers, releases, and integrity-verification failures, and revoke connected account tokens promptly if compromise is suspected.
- Pin the
