T08 · Insecure Dependencies
- Location
SKILL.md:272- Finding
Unpinned Third-Party Installer Creates a Supply-Chain Execution Risk
- Content
View full analysis
Vulnerability Details
File Location:
SKILL.md, lines 272–273
Vulnerability Type: Unpinned third-party dependency installation
Risk Level: MediumVulnerable Code
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 Skill instructs users or agents to invoke an npm-distributed CLI through
npxand install content from the mutableAgentPMT/agent-skillssource. Neither the CLI package nor the installed Skill content is pinned to a reviewed version, commit, or integrity hash.npxmay download and execute a package that is not already installed locally. Consequently, the effective installation code can change after this Skill has been audited. Compromise of the npm package, its maintainer account, the referenced repository, or a future mutable release could introduce malicious executable code or hostile Skill instructions.The commands are presented as setup instructions rather than being executed automatically by this package. Exploitation therefore requires a user or agent to follow them.
Attack Path
- An attacker compromises the package distribution account, upstream repository, or another mutable component used by the
skillsinstaller. - The attacker publishes a malicious package release or modifies the remotely retrieved Skill content.
- A user or agent follows the setup instructions and executes the unpinned
npx skills addcommands. npxdownloads and runs the current package version, or the installer retrieves the altered Skill.- Attacker-controlled installation code executes with the invoking user's permissions, or malicious instructions are installed into the agent environment.
Impact Assessment
If the invoked package is compromised, attacker code could obtain the same local privileges as the user running
npx. Depending on those privile ...[truncated 532 chars]- An attacker compromises the package distribution account, upstream repository, or another mutable component used by the
- Remediation
View remediation
Remediation Suggestions
- Pin the npm CLI to a reviewed exact version rather than relying on the latest mutable release.
- Pin installed Skill sources to an immutable release or commit identifier.
- Verify downloaded artifacts with cryptographic integrity hashes or signed provenance.
- Use a lockfile and a trusted internal package mirror where possible.
- Review installed Skill contents before activation.
- Avoid automatically running remotely downloaded setup components with elevated privileges.
- Document the exact trusted publisher, package version, repository revision, and verification procedure.
