T08 · Insecure Dependencies
- Location
SKILL.md:179- Finding
Unverified Remote Extensions Can Introduce Untrusted Executable Components
- Content
View full analysis
swamp extension pull --force ``` Use `--force` to overwrite existing files without prompting. ``` Related instructions also encourage extension installation at `SKILL.md:213-221`, `SKILL.md:241-244`, and `SKILL.md:291`. ### Technical Analysis The skill instructs the agent to retrieve community or team extensions without requiring: - Immutable version pinning - Cryptographic signature or checksum verification - Registry trust validation - Source-code review - Explicit approval before overwriting existing files The document states that extensions can contain custom TypeScript model definitions. These components can subsequently become part of executable model behavior. Consequently, the effective functionality installed by the skill can change after the skill itself has been reviewed. The `--force` option increases the risk because it allows downloaded extension files to replace existing local files without an interactive confirmation. Although this does not prove that a particular extension is malicious, the documented workflow creates an unsafe dependency and supply-chain boundary. ### Attack Path 1. An attacker publishes a malicious extension to a registry, compromises an existing extension, or distributes a deceptive extension name. 2. A user request or untrusted instruction causes the agent to run: ```bash swamp extension pull ``` 3. If files already exist, the agent may use `--force`, allowing their replacement without confirmation. 4. The downloaded extension introduces attacker-controlled model definitions or related components into the local repository. 5. The agent l ...[truncated 932 chars]- Remediation
View remediation
