hermes-agent
Fail
Audited by Gen Agent Trust Hub on Apr 10, 2026
Risk Level: HIGHREMOTE_CODE_EXECUTIONCOMMAND_EXECUTIONEXTERNAL_DOWNLOADSPROMPT_INJECTION
Full Analysis
- [REMOTE_CODE_EXECUTION]: The installation section in
SKILL.mdinstructs users to execute a remote script viacurl -fsSL ... | bashfrom the NousResearch GitHub repository. - [REMOTE_CODE_EXECUTION]: The manual installation process in
SKILL.mdinvolves piping a remote shell script fromastral.shdirectly into the shell (curl -LsSf https://astral.sh/uv/install.sh | sh). - [COMMAND_EXECUTION]: The skill documentation describes the use of
sudofor administrative tasks such as installing the messaging gateway as a system service and enabling user session lingering (sudo hermes gateway install --systemandsudo loginctl enable-linger $USER) inreferences/messaging.md. - [EXTERNAL_DOWNLOADS]: The agent functionality documented in
references/cli-reference.mdallows for the dynamic installation of additional 'skills' from external registries likeagentskills.iovia thehermes skills installcommand. - [PROMPT_INJECTION]: The messaging gateway creates an indirect prompt injection surface by ingesting untrusted data from external platforms (Telegram, Discord, Slack, etc.). Ingestion points: Messaging platform APIs as described in
references/messaging.md. Boundary markers: The system requires manual/approveor/denycommands for sensitive actions. Capability inventory: Subprocess execution (terminal), file system access (~/.hermes), and network communication. Sanitization: Implementation of per-platform allowlists and a DM pairing authorization system.
Recommendations
- HIGH: Downloads and executes remote code from: https://astral.sh/uv/install.sh, https://raw.githubusercontent.com/NousResearch/hermes-agent/main/scripts/install.sh - DO NOT USE without thorough review
- AI detected serious security threats
Audit Metadata