T08 · Insecure Dependencies
Warning
- Location
- SKILL.md:15
- Finding
- Unpinned Third-Party Email Client Installation## Vulnerability Details **File Location**: `SKILL.md`, lines 15-19 **Vulnerability Type**: Unpinned executable dependency **Risk Level**: Medium ```bash Install once before first use: ```bash uv tool install weavmail ``` ``` ### Technical Analysis The Skill directs the agent to install and execute the latest registry version of `weavmail` without pinning a reviewed version or verifying a package hash or signature. Consequently, the effective executable can change after this Skill has been audited. This dependency is security-sensitive because it processes IMAP and SMTP credentials, downloads private email, and performs mailbox operations. A compromised publisher account, malicious package release, or compromised transitive dependency could introduce arbitrary behavior into a future installation. No evidence demonstrates that the current package is malicious. The vulnerability is the mutable, unverified dependency installation process and the resulting supply-chain exposure. ### Attack Path 1. An attacker compromises the package publisher, distribution channel, or a transitive dependency used by a later `weavmail` release. 2. The attacker publishes a modified version under the package name expected by the Skill. 3. A user or agent follows the documented `uv tool install weavmail` instruction. 4. The package manager retrieves and installs the attacker-controlled release. 5. The installed executable runs with the user's local privileges. 6. During account configuration or synchronization, the executable can access credentials, downloaded email, and mailbox operations. ### Impact Assessment A compromised dependency could execute code with the privileges of the user running the agent. Within the declared workflow, it could access configured email credentials, read synchronized messages, transmit mailbox data, send email under the user's identity, or modify and delete messages. The impact is bounded by the oper ...[truncated 167 chars]
- Remediation
- ## Remediation Suggestions - Pin `weavmail` to a specific version that has been reviewed, for example through an exact package version constraint. - Use a lockfile or equivalent immutable dependency manifest, including transitive dependency versions. - Verify package hashes or cryptographic signatures before installation. - Document the expected official publisher, package index, and source repository so users can detect name confusion or source substitution. - Review new versions before updating the pin. - Where possible, install from a trusted internal mirror containing only approved artifacts. - Run the email client with the minimum filesystem and network permissions required for the configured mail service.
