install-hermes

Fail

Audited by Gen Agent Trust Hub on Sep 14, 2026

Risk Level: HIGHREMOTE_CODE_EXECUTIONPERSISTENCEPRIVILEGE_ESCALATIONCOMMAND_EXECUTIONINDIRECT_PROMPT_INJECTIONEXTERNAL_DOWNLOADS
Full Analysis
  • [REMOTE_CODE_EXECUTION]: The scripts/install.sh script downloads and executes an installation script for the 'uv' package manager directly from https://astral.sh/uv/install.sh using a pipe to the shell (| sh).
  • [PERSISTENCE]: The scripts/install.sh script modifies user shell configuration files, including ~/.bashrc, ~/.zshrc, ~/.profile, ~/.bash_profile, and ~/.config/fish/config.fish, to append environment variable exports that update the system PATH.
  • [PRIVILEGE_ESCALATION]: The installation script invokes sudo to perform system-wide package installations using apt, dnf, or pacman. This includes installing build tools and media processing libraries like ffmpeg. The script is designed to prompt the user for consent before executing these high-privilege commands.
  • [EXTERNAL_DOWNLOADS]: The skill performs numerous external downloads, including cloning repositories from GitHub and GitCode, fetching Node.js binaries from nodejs.org, and installing dependencies from the npmmirror and Aliyun PyPI mirrors.
  • [COMMAND_EXECUTION]: The installation process makes extensive use of local shell commands to manage directories, symlink binaries, and handle git operations.
  • [INDIRECT_PROMPT_INJECTION]: The skill establishes an attack surface for indirect prompt injection by ingesting external data such as API keys and platform configuration credentials provided by the user, which are then written to .env files and utilized in command-line interactions.
  • Ingestion points: User-supplied credentials and configuration values are processed during the hermes setup and hermes gateway setup workflows.
  • Boundary markers: The instructions do not specify explicit delimiters for user-provided configuration data.
  • Capability inventory: The system has broad capabilities including network access, file system writes, and shell command execution via the install.sh script and the hermes CLI.
  • Sanitization: The skill relies on standard environment variable handling and shell script logic without explicit sanitization steps for the interpolated data.
Recommendations
  • HIGH: Downloads and executes remote code from: https://astral.sh/uv/install.sh - DO NOT USE without thorough review
Audit Metadata
Risk Level
HIGH
Analyzed
Sep 14, 2026, 03:58 AM