web-ajp-ghostcat
Fail
Audited by Gen Agent Trust Hub on Oct 6, 2026
Risk Level: CRITICALREMOTE_CODE_EXECUTIONCOMMAND_EXECUTIONPRIVILEGE_ESCALATIONDYNAMIC_EXECUTIONINDIRECT_PROMPT_INJECTION
Full Analysis
- [REMOTE_CODE_EXECUTION]: The skill installs external, unverified packages from public registries.
- Evidence: Commands
pip install ajpShooterandpip install ajpyare used to acquire exploitation tools. - [COMMAND_EXECUTION]: The skill executes multiple system commands and utilities to perform network enumeration and payload generation.
- Evidence: Extensive use of
nmapwith various scripts,curl,wget,msfvenomfor WAR payload creation, andjarfor archive management. - [PRIVILEGE_ESCALATION]: The skill requires administrative privileges to configure the local environment for proxying attacks.
- Evidence: Use of
sudo apt install,sudo a2enmod, andsudo apachectl restartto set up an Apache AJP proxy. - [DYNAMIC_EXECUTION]: The skill generates and executes a custom Python script at runtime to perform Ghostcat file reading.
- Evidence: A multi-line Python script is embedded in
SKILL.mdvia heredoc to be written to the local filesystem and executed via the Python interpreter. - [INDIRECT_PROMPT_INJECTION]: The skill reads arbitrary files from target servers, which introduces a risk of the agent processing malicious instructions embedded in those files.
- Ingestion points: Remote file reading operations (e.g.,
/WEB-INF/web.xml, application property files) described inSKILL.mdunder Step 3. - Boundary markers: None identified in the instructions to prevent the agent from obeying instructions found within the retrieved data.
- Capability inventory: The skill has access to network tools (
nmap,curl), file system operations (jar,cp), and subprocess execution (python,bash). - Sanitization: There is no evidence of sanitization or filtering applied to the contents of the files read from the remote target.
Recommendations
- CRITICAL: 1 infected file(s) detected - DO NOT USE
Audit Metadata