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
sudofor system-level configuration tasks, granting the agent elevated permissions over the host environment. Evidence includessudo openvpnfor starting VPN tunnels,sudo cpandsudo teefor modifying/etc/hosts, andsudo killall openvpnfor 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, andSLACK_BOT_TOKEN. While it uses an environment reader script, several examples show tokens being passed incurlheaders 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