T08 · Insecure Dependencies
Warning
- Location
SKILL.md:18- Finding
Unpinned External Skill Installation Creates a Supply-Chain Risk
- Content
View full analysis
Vulnerability Details
File Location:
SKILL.md, lines 18–22; installation command repeated at lines 47–51
Vulnerability Type: T08: Insecure Dependencies
Risk Level: MediumEvidence
markdown ## Upgrade to Memorable Image Generator This skill has been replaced by **[memorable-image-gen](https://clawhub.com/skills/memorable-image-gen)** — a science-backed image generation agent that scores images for memorability before returning them. ```bash clawhub install memorable-image-gentext The installation instruction is repeated later: ```markdown ## Install ```bash clawhub install memorable-image-gentext ### Technical Analysis The documentation directs users to install the external `memorable-image-gen` skill by its mutable package name. It does not specify an immutable version, source commit, cryptographic checksum, signature, or other integrity constraint. The referenced replacement skill is not included in the audited project, which contains only `SKILL.md`. Consequently, its implementation and permissions could not be verified during this audit. The package resolved by the installation command may also change after this project has been reviewed. This creates a supply-chain trust boundary: users are encouraged to retrieve an external component whose future contents are controlled by the registry and publisher account rather than by the audited artifact. ### Attack Path 1. An attacker compromises the package publisher account, registry entry, distribution infrastructure, or another part of the external skill's release process. 2. The attacker publishes a malicious or modified release under the trusted `memorable-image-gen` package name. 3. A user follows the documented `clawhub install memorable-image-gen` instruction. 4. Because no immutable version or integrity value is required, the installer retrieves the attacker-controlled release. 5. When the installed skill is ...[truncated 895 chars]- Remediation
View remediation
Remediation Suggestions
- Pin the replacement skill to an audited, immutable version or source commit instead of installing only by a mutable package name.
- Publish an expected cryptographic checksum or signed provenance record and require verification before installation.
- Link to the canonical source repository and document how users can verify that the registry artifact corresponds to the reviewed source.
- Document the replacement skill's required permissions, network destinations, credential usage, and executable components.
- Recommend reviewing the resolved package contents before enabling it, particularly any instruction files and scripts.
- Apply least privilege when running the replacement skill, restricting filesystem, credential, network, and tool access to what image generation strictly requires.
- Update both installation examples consistently so neither continues to recommend an unpinned installation.
