T08 · Insecure Dependencies
- Location
SKILL.md:5- Finding
Unpinned Skill Installation from a Mutable Repository
- Content
View full analysis
Vulnerability Details
File Location:
SKILL.md:5
Vulnerability Type: Unpinned third-party dependency installation
Risk Level: MediumVulnerable Code
text Agent Skill. Install with npx skills add Kayforkind/reimagine-it,Technical Analysis
The installation command identifies a mutable repository target without pinning a reviewed release, tag, commit hash, or package integrity value. If the repository, associated account, installation utility, or dependency chain is compromised after review, the command may retrieve content different from what was audited.
Because package installation can execute installation hooks or make downloaded Skill instructions available to an Agent, the effective behavior can change without a corresponding change to this reviewed artifact. The dependency is related to the Skill’s declared installation process, but the mutable reference unnecessarily expands the supply-chain trust boundary.
Attack Path
- An attacker compromises the referenced repository, its maintainer account, or a dependency involved in the
npx skillsinstallation flow. - The attacker publishes a malicious revision under the same mutable repository name.
- A user executes
npx skills add Kayforkind/reimagine-it. - The installer retrieves the attacker-controlled revision rather than the audited content.
- Malicious installation behavior or Skill instructions execute with the permissions available to the invoking user or Agent.
Impact Assessment
A successful compromise could modify files accessible to the invoking process, read workspace or environment data, and alter subsequent Agent behavior. The exact scope depends on the permissions granted to the package runner and Agent host. No evidence shows that the currently audited repository itself performs such malicious actions; the risk arises from the unpinned retrieval path.
- An attacker compromises the referenced repository, its maintainer account, or a dependency involved in the
- Remediation
View remediation
Remediation Suggestions
- Pin installation to an immutable, reviewed release or commit hash.
- Publish and document checksums or other integrity metadata for release artifacts.
- Require explicit user approval before running package installation commands.
- Review the resolved dependency tree and installation scripts before execution.
- Run installation with minimal filesystem and environment access.
- Document a verified release-based command instead of a mutable repository reference.
