ssh

Pass

Audited by Gen Agent Trust Hub on Oct 22, 2026

Risk Level: SAFECOMMAND_EXECUTIONPRIVILEGE_ESCALATIONDATA_EXFILTRATIONCREDENTIALS_UNSAFEDYNAMIC_EXECUTIONINDIRECT_PROMPT_INJECTION
Full Analysis
  • [COMMAND_EXECUTION]: The skill utilizes a set of internal Bash scripts (detect-mode.sh, ssh-env-check.sh, claude-local-ops.sh, server-discover.sh) to perform environment checks, mode detection, and server discovery. These scripts are invoked via the Bash tool and include internal fail-fast mechanisms and timeouts.
  • [PRIVILEGE_ESCALATION]: Commands requiring elevated permissions (e.g., sudo, firewall changes, user management) are classified as PRIVILEGE level. The skill instructions mandate an AskUserQuestion confirmation gate with an explicit destructive-action warning before any such command is executed, ensuring user oversight.
  • [COMMAND_EXECUTION]: The server-discover.sh script implements strict input validation on connection strings and port numbers using regex-like pattern matching. This prevents shell word-splitting and protects against option injection attacks (such as smuggled ProxyCommand arguments) during SSH sessions.
  • [DATA_EXFILTRATION]: Server metadata and inventory are stored locally in CLAUDE.local.md. The skill includes automated checks to ensure this file is added to .gitignore, preventing the accidental leakage of sensitive infrastructure details to version control systems.
  • [CREDENTIALS_UNSAFE]: The skill adheres to secure credential handling practices for container registry authentication. It avoids passing secrets (like GHCR_TOKEN) as command-line arguments, which would be visible in process lists and logs; instead, it pipes tokens directly to the --password-stdin flag of the docker login command.
  • [DYNAMIC_EXECUTION]: The skill dynamically generates a scoped companion agent (ssh-admin) using a template and discovered server data. This sub-agent is designed to handle host-specific tasks while remaining bound by the same safety classification and approval protocol as the parent skill.
  • [INDIRECT_PROMPT_INJECTION]: The skill processes data from external servers during discovery and execution. It mitigates indirect injection risks by wrapping all operations in a strict classification framework that gates any action beyond simple read-only diagnostics behind mandatory user approval.
Audit Metadata
Risk Level
SAFE
Analyzed
Oct 22, 2026, 12:07 PM