SSH Penetration Testing

Warn

Audited by Gen Agent Trust Hub on Nov 13, 2026

Risk Level: MEDIUMPERSISTENCEDATA_EXFILTRATIONCOMMAND_EXECUTIONINDIRECT_PROMPT_INJECTION
Full Analysis
  • [PERSISTENCE]: The skill provides explicit instructions for establishing persistent access on a target system by adding an attacker-controlled public key to the ~/.ssh/authorized_keys file.
  • [DATA_EXFILTRATION]: The instructions include patterns for locating and accessing sensitive files, such as private SSH keys (id_rsa, id_dsa, etc.) in standard directories and potentially exposed web paths. It also describes techniques for harvesting credentials from shell history files (~/.bash_history).
  • [COMMAND_EXECUTION]: The skill enables arbitrary command execution on remote hosts through automated brute-forcing tools (Hydra, Medusa) and post-exploitation scripts using the Python Paramiko library.
  • [INDIRECT_PROMPT_INJECTION]: The skill exhibits an attack surface for indirect prompt injection as it processes output from external security tools (Nmap, Hydra, ssh-audit).
  • Ingestion points: Network service banners and tool outputs from Nmap, Hydra, and Metasploit (SKILL.md).
  • Boundary markers: None identified; the skill does not instruct the agent to use delimiters or ignore instructions found in tool outputs.
  • Capability inventory: Includes remote shell access, file system modification (authorized_keys), and network pivoting (SSH tunneling).
  • Sanitization: None identified; tool outputs are processed directly without validation or filtering.
Audit Metadata
Risk Level
MEDIUM
Analyzed
Nov 13, 2026, 01:31 AM