T08 · Insecure Dependencies
- Location
SKILL.md:8- Finding
Unpinned Third-Party Skill Installation
- Content
View full analysis
Vulnerability Details
File Location:
SKILL.md, lines 8-18
Vulnerability Type: Unpinned external dependency installation
Risk Level: MediumVulnerable Code
bash ## Install npx skills add pskoett/pskoett-ai-skills/simplify-and-hardenFor CI-only execution, use:
bash npx skills add pskoett/pskoett-ai-skills/simplify-and-harden-ciTechnical Analysis
The documented installation commands retrieve third-party skill content without specifying an immutable commit, signed release, version, checksum, or other integrity constraint. The source therefore remains mutable after this audit.
Running the commands through
npxalso introduces trust in the package resolution and installation chain. The user cannot confirm from these commands that the installed skill is the same content that was previously reviewed. This creates a supply-chain risk if the upstream repository, publishing account, resolved package, or dependency chain is compromised.No evidence in the audited files proves that the current upstream content is malicious. The vulnerability is the absence of integrity controls around installation from a mutable external source.
Attack Path
- An attacker compromises the upstream repository, publishing account, or another component involved in resolving the installation command.
- The attacker modifies the skill content or substitutes a malicious component.
- A user follows the documented unpinned
npx skills addcommand. - The installation process retrieves the modified content rather than the version covered by this audit.
- The newly installed skill is trusted by the coding agent and may execute malicious instructions or code within the permissions available to that agent.
Impact Assessment
Successful exploitation could grant the malicious skill the effective privileges of the user or coding-agent process that installs and invokes it. Depending on the host a ...[truncated 372 chars]
- Remediation
View remediation
Remediation Suggestions
- Replace mutable repository references with an immutable, reviewed commit hash or cryptographically signed release.
- Publish and verify a SHA-256 or stronger checksum for the complete installed artifact.
- Pin the
npxpackage and all relevant dependencies to exact versions rather than relying on mutable resolution. - Use package-manager integrity metadata and a committed lockfile where applicable.
- Display the resolved source, version, and commit before installation and require explicit confirmation.
- Review installed files before activating the skill in an agent context.
- Run installation and initial validation in a sandbox with restricted filesystem, network, credential, and tool access.
- Establish a release-signing and provenance-verification process so consumers can verify that artifacts originate from the expected maintainer.
