php2shell
Pass
Audited by Gen Agent Trust Hub on Nov 20, 2026
Risk Level: SAFEINDIRECT_PROMPT_INJECTIONCOMMAND_EXECUTIONREMOTE_CODE_EXECUTION
Full Analysis
- [INDIRECT_PROMPT_INJECTION]: The skill ingest data from external targets (HTTP response headers, error pages, and X-Powered-By headers) to fingerprint PHP versions. This ingestion of untrusted external content represents an indirect prompt injection surface.
- Ingestion points: Remote HTTP responses (headers and body) during target fingerprinting.
- Boundary markers: Absent; no specific delimiters or warnings to ignore embedded instructions in target responses are provided.
- Capability inventory: Execution of local Python scripts, shell scripts (lab/setup.sh), and the ability to perform multipart POST requests with controlled parameters.
- Sanitization: No evidence of sanitization or filtering for the data returned by the remote target before it is processed by the agent.
- [COMMAND_EXECUTION]: The documentation references the execution of local scripts for vulnerability verification and environment setup.
- Evidence: References to
lab/setup.shandpoc/verify_session_injection.py. - [REMOTE_CODE_EXECUTION]: The skill's primary stated purpose is to upgrade an LFI finding to Remote Code Execution (RCE) on a target system.
- Evidence: Detailed workflow for 'Chain 1' involving session file injection and inclusion to achieve RCE.
Audit Metadata