T03 · Remote Payload Retrieval and Execution
Warning
- Location
- README.md:16
- Finding
- Mutable Remote Skill Installation Without Integrity Pinning## Vulnerability Details **File Location**: `README.md`, line 16 **Vulnerability Type**: Mutable remote payload retrieval **Risk Level**: Medium **Code Snippet**: ```markdown ## Install ```bash hermes skills install https://raw.githubusercontent.com/sknewcomb/nous-model-deal-router/main/SKILL.md ``` ``` ### Technical Analysis The documented installation command retrieves the Skill directly from the mutable `main` branch of a GitHub repository. It does not pin the downloaded content to a reviewed commit hash or immutable release, and it provides no checksum or signature verification. Because a Skill contains instructions trusted by the Agent, modification or compromise of the upstream repository could cause users to install content different from the version covered by this audit. The effective payload can therefore change after review without any corresponding change to the documented installation command. ### Attack Path 1. An attacker compromises the upstream repository, its maintainer account, or another process authorized to modify the `main` branch. 2. The attacker replaces `SKILL.md` with instructions that manipulate Agent behavior or induce unsafe tool operations. 3. A user follows the installation command in `README.md`. 4. Hermes downloads the current unpinned version from the compromised branch. 5. The altered Skill is installed and subsequently trusted as Agent instructions. ### Impact Assessment Successful exploitation could modify the instructions executed by Hermes under the user's existing Agent and tool permissions. The resulting scope would depend on the tools and local permissions available to the Agent. Potential effects could include unauthorized command execution, configuration changes, or access to information available in the Agent's execution environment. This issue does not independently grant elevated operating-system privileges; it exposes the privileges already available to the Ag ...[truncated 40 chars]
- Remediation
- ## Remediation Suggestions - Pin the installation URL to a reviewed Git commit SHA rather than the mutable `main` branch. - Prefer an immutable, signed release artifact with documented provenance. - Publish a SHA-256 checksum for each reviewed release and require users or the installer to verify it before activation. - If Hermes supports signature verification, sign the Skill and reject unsigned or invalid updates. - Document a manual inspection step before enabling newly downloaded or updated Skill instructions. - Treat updates as new artifacts requiring security review rather than automatically trusting the latest branch contents.
