3x-ui-setup

Fail

Audited by Gen Agent Trust Hub on Sep 15, 2026

Risk Level: HIGHREMOTE_CODE_EXECUTIONEXTERNAL_DOWNLOADSCOMMAND_EXECUTIONPRIVILEGE_ESCALATIONPERSISTENCEINDIRECT_PROMPT_INJECTION
Full Analysis
  • [REMOTE_CODE_EXECUTION]: The skill performs remote code execution by piping external scripts to the shell. \n
  • Evidence: curl -Ls https://raw.githubusercontent.com/mhsanaei/3x-ui/master/install.sh -o /tmp/3x-ui-install.sh && echo 'n' | bash /tmp/3x-ui-install.sh in SKILL.md. \n
  • Evidence: curl -fsSL https://get.acme.sh | sh in references/subscription.md. \n- [EXTERNAL_DOWNLOADS]: The skill downloads binaries and scripts from unverified third-party sources. \n
  • Evidence: Fetches RealiTLScanner-linux-${SA} from github.com/XTLS/RealiTLScanner/releases/latest/download/ in references/reality-inbound.md. \n
  • Evidence: Downloads and installs 3x-ui and acme.sh components from GitHub during setup. \n- [COMMAND_EXECUTION]: Extensive use of shell commands to manage system state and network configurations. \n
  • Evidence: Modifies ufw rules and sysctl kernel hardening parameters. \n
  • Evidence: Uses x-ui CLI and systemd commands to manage VPN services. \n- [PRIVILEGE_ESCALATION]: The skill performs actions that escalate privileges and modify core security settings. \n
  • Evidence: Modifies /etc/ssh/sshd_config.d/00-hardening.conf to disable password authentication and restrict root login. \n
  • Evidence: Creates a new user and adds them to the sudo group using usermod -aG sudo. \n- [PERSISTENCE]: The skill establishes persistent access and services on the server. \n
  • Evidence: Installs and enables fail2ban and x-ui as system services. \n
  • Evidence: Creates a cron job via acme.sh for certificate renewal. \n- [INDIRECT_PROMPT_INJECTION]: The skill is susceptible to indirect prompt injection by processing external tool outputs without sanitization. \n
  • Evidence: The agent context ingests output from ifconfig.me, SNI scanner results, and 3x-ui panel credentials/status. \n
  • Evidence: No boundary markers or explicit sanitization logic is present for data ingested from network tools.
Recommendations
  • HIGH: Downloads and executes remote code from: https://127.0.0.1:$P/{web_base_path}/, https://raw.githubusercontent.com/mhsanaei/3x-ui/master/install.sh - DO NOT USE without thorough review
  • AI detected serious security threats
Audit Metadata
Risk Level
HIGH
Analyzed
Sep 15, 2026, 06:34 PM