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
curlfor network requests andgrep/sedfor 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
$TARGETvariable) to fetchreadme.txtfiles 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
curlfrom various plugin REST endpoints andreadme.txtfiles, which is then stored in/tmpand 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
/rootand/tmp, and network access viacurl. - 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
curlpiped topython3. Technical review shows the command in the code iscurl ... | 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-mmodule flag.
Recommendations
- HIGH: Downloads and executes remote code from: https://$TARGET/wp-json/gf/v2/forms - DO NOT USE without thorough review
Audit Metadata