recon-landscaping

Fail

Audited by Gen Agent Trust Hub on Oct 12, 2026

Risk Level: HIGHINDIRECT_PROMPT_INJECTIONCOMMAND_EXECUTIONREMOTE_CODE_EXECUTIONDATA_EXFILTRATION
Full Analysis
  • [INDIRECT_PROMPT_INJECTION]: The skill ingests untrusted data from external sources including HTML bodies, WordPress debug logs, and image EXIF metadata.
  • Ingestion points: Phase 2 (CORS results, directory listings, debug logs), Phase 3 (plugin readme files), Phase 4 (webhook search), and Phase 5 (image EXIF data) all fetch content from target URLs controlled by third parties.
  • Boundary markers: No explicit delimiters or instructions are provided to the agent to disregard malicious prompts embedded in the target data.
  • Capability inventory: The skill utilizes curl, grep, and exiftool, providing a surface for processing attacker-influenced content.
  • Sanitization: The skill lacks sanitization or filtering of the external content before it is displayed or processed.
  • [COMMAND_EXECUTION]: The skill uses exiftool to analyze images downloaded from target websites in Phase 5.
  • Evidence: The command exiftool /tmp/exif_check.jpg processes untrusted files. Historically, image metadata parsers like exiftool have been vulnerable to command injection and remote code execution through specially crafted files (e.g., CVE-2021-22204).
  • [REMOTE_CODE_EXECUTION]: Automated scanners flagged a potential remote code execution pattern involving crt.sh.
  • Evidence: curl -sk "https://crt.sh/?q=%25.$TARGET&output=json" | python3 -c "..." in Phase 1.
  • Clarification: This is a false positive. The python3 -c command executes a static, locally-defined script to parse the JSON output from crt.sh (a well-known certificate transparency service). It does not execute remote content as code.
  • [DATA_EXFILTRATION]: The skill specifically searches for sensitive information on target servers.
  • Evidence: grep -oP '(DB_PASSWORD|DB_USER|DB_NAME|API_KEY).{0,80}' /tmp/landscape_debug.log in Phase 2.
  • Context: While this involves sensitive file path access (/wp-content/debug.log), it is the primary stated purpose of the reconnaissance skill and focuses on target data rather than the user's or agent's environment.
Recommendations
  • HIGH: Downloads and executes remote code from: https://crt.sh/?q=%25.$TARGET&output=json - DO NOT USE without thorough review
Audit Metadata
Risk Level
HIGH
Analyzed
Oct 12, 2026, 06:54 PM