skills/encod3d-sec/torch/ctf-box/Gen Agent Trust Hub

ctf-box

Pass

Audited by Gen Agent Trust Hub on Oct 1, 2026

Risk Level: SAFECOMMAND_EXECUTIONREMOTE_CODE_EXECUTIONPRIVILEGE_ESCALATIONOBFUSCATIONINDIRECT_PROMPT_INJECTIONPERSISTENCEDATA_EXFILTRATIONDYNAMIC_EXECUTION
Full Analysis
  • [COMMAND_EXECUTION]: The skill extensively uses shell commands to drive security tools and manage the engagement environment.
  • It utilizes wrapper scripts such as vm.sh, vm-scan.sh, vm-rsh.sh, and vm-bg.sh to execute commands on both the local tooling host and remote target systems.
  • Tools executed include nmap, rustscan, feroxbuster, nuclei, msfconsole, and various networking utilities like nc and dig.
  • [OBFUSCATION]: Base64 encoding is recommended as a transport mechanism for payloads and commands to ensure they survive complex shell nesting.
  • Instructions include wrapping shell payloads in base64 (echo <b64> | base64 -d > ~/file) and using vm-rsh.sh, which automatically base64-wraps commands to avoid quoting issues across SSH and tmux bridges.
  • [REMOTE_CODE_EXECUTION]: The skill provides detailed instructions for delivering and executing remote code on target systems to gain a foothold.
  • It facilitates the use of reverse shell payloads (e.g., linux/x64/meterpreter/reverse_tcp) and PTY stabilization techniques (python3 -c 'import pty;pty.spawn("/bin/bash")').
  • It leverages msfconsole's multi/handler to catch incoming connections from exploited targets.
  • [PRIVILEGE_ESCALATION]: A core component of the skill is the systematic identification and exploitation of privilege escalation vectors on target machines.
  • It directs the agent to use tools like linpeas, winpeas, and pspy to find SUID binaries, writable configuration files, cron jobs, and misconfigured systemd timers.
  • It covers techniques such as hijacking SSH agent sockets, exploiting sudo misconfigurations, and utilizing kernel exploits as a fallback.
  • [PERSISTENCE]: The methodology includes steps to maintain access to targets after a successful exploit.
  • Instructions recommend dropping SSH public keys into the ~/.ssh/authorized_keys file of compromised users for resilient, interactive sessions.
  • [DATA_EXFILTRATION]: The skill guides the agent in identifying and extracting sensitive data from target environments.
  • This includes capturing credentials (e.g., from .env files or database configurations), system configuration files (/etc/passwd, /etc/hosts), and flags (user.txt, root.txt).
  • [INDIRECT_PROMPT_INJECTION]: The skill possesses an attack surface for indirect prompt injection by processing output from various untrusted sources.
  • Ingestion points: Reconnaissance data from nmap, feroxbuster, nuclei, whatweb, and privilege escalation logs from linpeas and pspy (SKILL.md).
  • Boundary markers: The skill uses structured capture mechanisms (capture.sh) to store data in specific directories (targets/<eng>/recon/), which helps segregate untrusted data.
  • Capability inventory: The agent has access to shell execution via vm.sh, Metasploit (msfconsole), and Docker containers.
  • Sanitization: There is no explicit mention of sanitizing or escaping the output of security tools before the agent processes the findings to determine the next steps.
  • [DYNAMIC_EXECUTION]: The methodology involves generating, compiling, and running code at runtime.
  • It instructs the agent to stage exploit scripts in poc/scripts/ and use Skill(delegate) to cross-compile and execute Proof-of-Concept (PoC) code against targets.
Audit Metadata
Risk Level
SAFE
Analyzed
Oct 1, 2026, 05:05 AM