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.shscript downloads and executes an installation script for the 'uv' package manager directly fromhttps://astral.sh/uv/install.shusing a pipe to the shell (| sh). - [PERSISTENCE]: The
scripts/install.shscript modifies user shell configuration files, including~/.bashrc,~/.zshrc,~/.profile,~/.bash_profile, and~/.config/fish/config.fish, to append environment variable exports that update the systemPATH. - [PRIVILEGE_ESCALATION]: The installation script invokes
sudoto perform system-wide package installations usingapt,dnf, orpacman. This includes installing build tools and media processing libraries likeffmpeg. 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
.envfiles and utilized in command-line interactions. - Ingestion points: User-supplied credentials and configuration values are processed during the
hermes setupandhermes gateway setupworkflows. - 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.shscript and thehermesCLI. - 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