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 ajpShooter and pip install ajpy are 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 nmap with various scripts, curl, wget, msfvenom for WAR payload creation, and jar for 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, and sudo apachectl restart to 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.md via 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 in SKILL.md under 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
Risk Level
CRITICAL
Analyzed
Oct 6, 2026, 04:11 AM