T08 · Insecure Dependencies
- Location
SKILL.md:9- Finding
Unpinned Third-Party Skill Installation Creates a Supply-Chain Risk
- Content
View full analysis
Vulnerability Details
File Location:
SKILL.md, lines 9–16
Vulnerability Type: Unpinned third-party dependency installation
Risk Level: MediumComplete Code Snippet:
markdown ## Install ```bash npx skills add pskoett/pskoett-ai-skillsbash npx skills add pskoett/pskoett-ai-skills/skills/intent-framed-agenttext ### Technical Analysis The documented installation commands retrieve a third-party skill from the mutable `pskoett/pskoett-ai-skills` source without specifying a reviewed version, release, or immutable commit hash. The `npx` package runner is also invoked without a pinned package version. Consequently, the content installed by these commands can change after this audit without any modification to `SKILL.md`. If the package runner, upstream repository, maintainer account, dependency resolution process, or referenced default branch is compromised, users may receive instructions or executable components different from those reviewed here. This is a supply-chain weakness rather than evidence that the currently reviewed skill contains a malicious payload. The audited file contains no embedded executable payload, credential access, persistence mechanism, privilege-escalation logic, or destructive command. ### Attack Path 1. An attacker compromises the upstream repository, its maintainer account, the package used by `npx`, or another relevant dependency-distribution component. 2. The attacker modifies the content resolved by one of the unpinned installation commands. 3. A user follows the installation instructions and executes the documented command. 4. The mutable, attacker-controlled version is downloaded and installed instead of the version originally reviewed. 5. When the installed skill or any included executable component is subsequently used, it can issue malicious agent instructions or perform actions under the permissions available to the invoking process. Exploi ...[truncated 874 chars]- Remediation
View remediation
Remediation Suggestions
- Pin the
npxpackage runner to a reviewed, explicit version rather than relying on mutable package resolution. - Pin the skill source to an immutable, reviewed commit hash or cryptographically verified release.
- Publish expected checksums or signatures and require integrity verification before installation.
- Prefer a trusted registry, signed release artifact, or vendored copy whose contents can be audited reproducibly.
- Avoid running installation commands with elevated privileges and perform installation in a sandbox or least-privileged environment.
- Document the exact reviewed package version, repository revision, and verification procedure so users can reproduce the audited installation.
- Configure automated dependency and provenance monitoring to detect upstream ownership changes, unexpected revisions, or signature failures.
- Pin the
