wp-wpcli-and-ops
Pass
Audited by Gen Agent Trust Hub on Sep 17, 2026
Risk Level: SAFECOMMAND_EXECUTIONINDIRECT_PROMPT_INJECTIONPRIVILEGE_ESCALATION
Full Analysis
- [COMMAND_EXECUTION]: The skill utilizes a Node.js script located at
scripts/wpcli_inspect.mjswhich executes thewpcommand-line utility usingspawnSyncto inspect WordPress installation details such as version, site URL, and multisite status. - [INDIRECT_PROMPT_INJECTION]: The skill is designed to ingest and process data from a WordPress database (e.g., retrieving
siteurlandhomeoptions), which could be leveraged to deliver malicious prompts if the target site is compromised. - Ingestion points: The
wpcli_inspect.mjsscript retrieves and outputs values from the WordPress database via WP-CLIoption getcommands. - Boundary markers: The inspection script returns values in a structured JSON object but lacks specific boundary markers or instructions for the agent to treat this data as untrusted content.
- Capability inventory: The agent is empowered to perform sensitive and destructive actions including database imports, search-and-replace operations, and user/plugin management.
- Sanitization: The script does not perform sanitization or validation on the data returned from the WordPress options table before displaying it to the agent.
- [PRIVILEGE_ESCALATION]: Both the documentation and the
wpcli_inspect.mjsscript support the--allow-rootflag. This flag instructs WP-CLI to ignore its internal safety check that prevents running as the root user, potentially exposing the host system to higher risk if the environment is misconfigured.
Audit Metadata