hackthebox

Warn

Audited by Gen Agent Trust Hub on Sep 28, 2026

Risk Level: MEDIUMPRIVILEGE_ESCALATIONCOMMAND_EXECUTIONCREDENTIALS_UNSAFEINDIRECT_PROMPT_INJECTIONEXTERNAL_DOWNLOADS
Full Analysis
  • [PRIVILEGE_ESCALATION]: The skill uses sudo for system-level configuration tasks, granting the agent elevated permissions over the host environment. Evidence includes sudo openvpn for starting VPN tunnels, sudo cp and sudo tee for modifying /etc/hosts, and sudo killall openvpn for disconnecting.
  • [COMMAND_EXECUTION]: The skill uses shell commands (curl, ping, openvpn) to interact with the platform and targets. These commands incorporate variables like target IPs and machine IDs derived from external sources.
  • [CREDENTIALS_UNSAFE]: The skill handles sensitive authentication data, including HTB_TOKEN, ANTHROPIC_API_KEY, and SLACK_BOT_TOKEN. While it uses an environment reader script, several examples show tokens being passed in curl headers directly via command-line arguments, which can expose them in system process lists.
  • [INDIRECT_PROMPT_INJECTION]: The skill defines a workflow for ingesting and processing untrusted data from the HackTheBox platform. (1) Ingestion points: Challenge descriptions, machine metadata, and platform snapshots are read via API and Playwright from external HTB sources. (2) Boundary markers: No explicit delimiters or instructions to ignore embedded content are provided when this data is used in subagent spawning or report generation. (3) Capability inventory: The skill can execute commands with sudo, perform network operations, and spawn subagents. (4) Sanitization: There is no evidence of sanitization or validation of the external content before it is processed.
  • [EXTERNAL_DOWNLOADS]: The skill fetches VPN configuration files (.ovpn) and challenge artifacts from HackTheBox. These are legitimate operations for the skill's purpose on a well-known platform.
Audit Metadata
Risk Level
MEDIUM
Analyzed
Sep 28, 2026, 02:45 PM