wordpress-plugin-hunt

Fail

Audited by Gen Agent Trust Hub on Oct 12, 2026

Risk Level: HIGHCOMMAND_EXECUTIONEXTERNAL_DOWNLOADSINDIRECT_PROMPT_INJECTION
Full Analysis
  • [COMMAND_EXECUTION]: The skill uses shell commands and scripts to automate reconnaissance, including curl for network requests and grep/sed for data parsing. It also attempts to create directories in /root/output/, which assumes execution within a high-privilege environment.
  • [EXTERNAL_DOWNLOADS]: The skill performs automated requests to arbitrary external targets (defined by the $TARGET variable) to fetch readme.txt files and probe REST API namespaces. While focused on reconnaissance, this involves downloading and storing data from untrusted sources.
  • [INDIRECT_PROMPT_INJECTION]: The skill processes untrusted content from WordPress sites, creating an attack surface for indirect prompt injection.
  • Ingestion points: Data is fetched via curl from various plugin REST endpoints and readme.txt files, which is then stored in /tmp and processed by the script.
  • Boundary markers: No delimiters or safety instructions are used to separate the external data from the skill's execution logic.
  • Capability inventory: The skill has access to terminal tools, file-writing capabilities in /root and /tmp, and network access via curl.
  • Sanitization: There is no evidence of sanitization or validation of the content retrieved from target websites before it is parsed and presented to the agent.
  • [REMOTE_CODE_EXECUTION]: An automated scanner alert flagged a potential remote code execution pattern involving curl piped to python3. Technical review shows the command in the code is curl ... | python3 -m json.tool, which is a standard method for JSON formatting. While the current implementation is benign, users should be cautious of modifying these patterns to pipe untrusted network data directly into a language interpreter without the -m module flag.
Recommendations
  • HIGH: Downloads and executes remote code from: https://$TARGET/wp-json/gf/v2/forms - DO NOT USE without thorough review
Audit Metadata
Risk Level
HIGH
Analyzed
Oct 12, 2026, 06:54 PM