wp-performance
Pass
Audited by Gen Agent Trust Hub on Sep 15, 2026
Risk Level: SAFECOMMAND_EXECUTIONEXTERNAL_DOWNLOADSPRIVILEGE_ESCALATIONINDIRECT_PROMPT_INJECTION
Full Analysis
- [COMMAND_EXECUTION]: The script
scripts/perf_inspect.mjsusesnode:child_process.spawnSyncto execute thewpcommand-line utility. It constructs command arguments using user-provided paths and URLs. - [EXTERNAL_DOWNLOADS]: The skill's documentation and diagnostic script recommend the installation of additional WP-CLI packages, such as
wp-cli/doctor-commandandwp-cli/profile-command, to enable advanced profiling features. - [PRIVILEGE_ESCALATION]: The
perf_inspect.mjsscript and skill instructions support the--allow-rootflag, which allows WP-CLI to bypass its default safety check and run with root privileges if the environment requires it. - [INDIRECT_PROMPT_INJECTION]: The skill is designed to ingest and process diagnostic output from external CLI tools like
wp profileandwp doctor. While this creates a potential surface for indirect prompt injection from compromised system data, the tool's primary function is observational and diagnostic. - Ingestion points: Output from
wpCLI commands captured byperf_inspect.mjsand processed by the agent. - Boundary markers: None explicitly defined for tool output parsing.
- Capability inventory: The skill facilitates file system inspection and CLI command execution via the
wpbinary. - Sanitization: The script performs basic regex validation on numeric output (e.g., autoload bytes) but otherwise passes tool output directly back to the agent.
Audit Metadata