hermes-agent
Fail
Audited by Gen Agent Trust Hub on Sep 8, 2026
Risk Level: CRITICALREMOTE_CODE_EXECUTIONPRIVILEGE_ESCALATIONDYNAMIC_EXECUTIONPROMPT_INJECTIONINDIRECT_PROMPT_INJECTIONCOMMAND_EXECUTIONPERSISTENCE
Full Analysis
- [REMOTE_CODE_EXECUTION]: The framework instructions in
SKILL.mdadvocate for a shell installation method that pipes remote content directly to a shell (curl -fsSL https://hermes-agent.nousresearch.com/install.sh | bash), which is a critical security risk for arbitrary code execution. - [PRIVILEGE_ESCALATION]: The skill documents the use of a
--yoloflag and aYOLO_MODEenvironment variable intended to skip manual approval for high-risk or destructive terminal commands. Furthermore,references/webhooks.mdprovides instructions for usingsudoto enable system-level service lingering. - [DYNAMIC_EXECUTION]: The agent framework is designed to load and execute external JavaScript and ESM files for desktop plugins and TUI widgets at runtime (
references/desktop-plugins.md,references/tui-widgets.md). It also supports the execution of arbitrary shell or Python scripts through its webhook routing system. - [PROMPT_INJECTION]: Instructions in
references/themes.mdexplicitly direct the agent to perform theme changes silently ("don't tell the user to run /skin"), which constitutes a concealment pattern used to hide agent actions from the user. - [INDIRECT_PROMPT_INJECTION]: The skill exposes a broad attack surface for indirect prompt injection by processing untrusted data from webhook payloads, external MCP server tool results, and project context files like
AGENTS.mdandCLAUDE.md. The interpolation of this external data into the system prompt poses a risk despite the mention of internal threat scanners. - [COMMAND_EXECUTION]: The framework relies heavily on the
terminaltool andtmuxto manage long-running background processes, parallel subagents, and multi-agent coordination. - [PERSISTENCE]: The framework implements durable task scheduling through a built-in
cronjobsystem and localsystemduser services for its messaging gateway adapter.
Recommendations
- HIGH: Downloads and executes remote code from: https://hermes-agent.nousresearch.com/install.sh - DO NOT USE without thorough review
- AI detected serious security threats
Audit Metadata