xray-line-server
Fail
Audited by Gen Agent Trust Hub on Sep 25, 2026
Risk Level: HIGHREMOTE_CODE_EXECUTIONCOMMAND_EXECUTIONPRIVILEGE_ESCALATIONEXTERNAL_DOWNLOADSDYNAMIC_EXECUTIONINDIRECT_PROMPT_INJECTION
Full Analysis
- [REMOTE_CODE_EXECUTION]: The script
scripts/deploy-line-server.shdownloads and executes code from remote sources using patterns that bypass standard security reviews. Specifically, it pipes content fromhttps://get.acme.shdirectly toshand usesbash -cwith command substitution to execute an installer fromhttps://github.com/XTLS/Xray-install/raw/main/install-release.sh. - [COMMAND_EXECUTION]: The script
scripts/deploy-line-server.shperforms destructive operations by runningrm -rfon several system configuration directories, including/etc/sing-box,/etc/v2ray,/etc/hysteria, and/etc/x-ui, to purge existing proxy components during the installation process. - [PRIVILEGE_ESCALATION]: The deployment workflow requires the scripts to be run with root privileges and performs significant system-level modifications: it modifies the system firewall using
ufw, adjusts kernel networking parameters in/etc/sysctl.confto enable IP forwarding, and manages system packages usingapt-get purge. - [DYNAMIC_EXECUTION]: The script
scripts/deploy-line-server.shuses a Python heredoc to dynamically construct and execute a Python script that generates the final Xray configuration JSON at runtime based on environment variables. - [INDIRECT_PROMPT_INJECTION]: The skill exhibits vulnerability to indirect prompt injection due to its processing of untrusted data: 1. Ingestion points: User-provided environment variables such as
DOMAIN,CF_TOKEN, andREALITY_TARGET. 2. Boundary markers: Absent. 3. Capability inventory: Root command execution, system service management, and network operations. 4. Sanitization: Absent; environment variables are interpolated directly into shell commands and scripts without validation. - [EXTERNAL_DOWNLOADS]: The skill fetches content from external sources, including downloading configuration data from Cloudflare's public IP list.
Recommendations
- HIGH: Downloads and executes remote code from: https://get.acme.sh, https://github.com/XTLS/Xray-install/raw/main/install-release.sh - DO NOT USE without thorough review
- AI detected serious security threats
Audit Metadata