FC wordpress-mcp
Use when exposing a WordPress site to AI agents via MCP, or when WordPress MCP setup fails.
Expose WordPress to AI agents over MCP.
As a process C 61/100 · Has gaps — weak spots: result and completion, execution cost, running it twice
What is at stake
Medium-severity findings: the skill is probably honest, but read what alarmed the scanner.
Below is the worst case for this category. The finding here is medium: the guard saw a sign, not a proof.
The skill contains commands that delete files, rewrite disks or execute code fetched from the network. The agent may run them without asking if it believes the instructions require it.
Replace destructive commands with safe equivalents that ask for confirmation, scope them to one folder, and stop piping curl into a shell: pin a version and a checksum.
How to improve
- The SKILL.md body is over 5,000 tokens: move reference detail into references/ and load it when needed.
- Your own cases (evals/evals.json, 4–6 real requests with expected answers): the full check would then run those instead of a model-drafted suite.
- A spec.yaml with trigger phrases and assertions — a behaviour contract for CI; `skilltest init` writes a template.
Guard findings · 24
✓ No critical or high findings
Medium and low: 24
-
medium Dangerous commands
cmd-privilegereferences/mcp-adapter-guide.md:43Privilege escalation / world-writable permissionssudo cp -r /tmp/mcp-adapter-extract/mcp-adapter $WP_PATH/wp-content/plugins/mcp-adapter
-
medium Dangerous commands
cmd-privilegereferences/mcp-adapter-guide.md:44Privilege escalation / world-writable permissionssudo chown -R www:www $WP_PATH/wp-content/plugins/mcp-adapter
-
medium Dangerous commands
cmd-privilegereferences/mcp-adapter-guide.md:82Privilege escalation / world-writable permissionssudo chown -R www:www $WP_PATH/wp-content/plugins/mcp-adapter
-
medium Dangerous commands
cmd-privilegereferences/mcp-adapter-guide.md:106Privilege escalation / world-writable permissionssudo tee $WP_PATH/wp-content/mu-plugins/enable-app-passwords.php > /dev/null <<'EOF'
-
medium Dangerous commands
cmd-privilegereferences/real-world-workflows.md:111Privilege escalation / world-writable permissionssudo cp -r /tmp/blocksy-extract/blocksy $WP_PATH/wp-content/themes/blocksy
-
medium Dangerous commands
cmd-privilegereferences/real-world-workflows.md:112Privilege escalation / world-writable permissionssudo chown -R www:www $WP_PATH/wp-content/themes/blocksy
-
medium Dangerous commands
cmd-privilegereferences/real-world-workflows.md:171Privilege escalation / world-writable permissionssudo cp /tmp/myimage.png $UPLOAD_DIR/myimage.png
-
medium Dangerous commands
cmd-privilegereferences/real-world-workflows.md:172Privilege escalation / world-writable permissionssudo chown www:www $UPLOAD_DIR/myimage.png
-
medium Dangerous commands
cmd-privilegereferences/real-world-workflows.md:173Privilege escalation / world-writable permissionssudo chmod 644 $UPLOAD_DIR/myimage.png
-
medium Dangerous commands
cmd-privilegereferences/troubleshooting.md:121Privilege escalation / world-writable permissionssudo tee $WP_PATH/wp-content/mu-plugins/enable-app-passwords.php > /dev/null <<'EOF'
-
medium Dangerous commands
cmd-privilegereferences/troubleshooting.md:174Privilege escalation / world-writable permissionssudo cp "$FILE" "$FILE.bak"
-
medium Dangerous commands
cmd-privilegereferences/troubleshooting.md:177Privilege escalation / world-writable permissionssudo python3 <<'PY'
-
medium Dangerous commands
cmd-privilegereferences/troubleshooting.md:257Privilege escalation / world-writable permissionssudo cp -r ai-engine $WP_PATH/wp-content/plugins/
-
medium Dangerous commands
cmd-privilegereferences/troubleshooting.md:258Privilege escalation / world-writable permissionssudo chown -R www:www $WP_PATH/wp-content/plugins/ai-engine
-
medium Dangerous commands
cmd-privilegescripts/install_wp_plugin.sh:175Privilege escalation / world-writable permissions$SUDO rm -rf "$PLUGINS_DIR/mcp-adapter"
-
medium Dangerous commands
cmd-privilegescripts/install_wp_plugin.sh:176Privilege escalation / world-writable permissions$SUDO cp -r "$SRC" "$PLUGINS_DIR/mcp-adapter"
-
medium Dangerous commands
cmd-privilegescripts/install_wp_plugin.sh:177Privilege escalation / world-writable permissions$SUDO chown -R "${WEB_USER}:${WEB_USER}" "$PLUGINS_DIR/mcp-adapter" -
medium Dangerous commands
cmd-privilegescripts/install_wp_plugin.sh:184Privilege escalation / world-writable permissions$SUDO chown -R "${WEB_USER}:${WEB_USER}" "$PLUGINS_DIR/mcp-adapter" 2>/dev/null || true -
medium Dangerous commands
cmd-privilegescripts/install_wp_plugin.sh:223Privilege escalation / world-writable permissions$SUDO cp -r "$TMPDIR/extract/ai-engine" "$PLUGINS_DIR/ai-engine"
-
medium Dangerous commands
cmd-privilegeSKILL.md:696Privilege escalation / world-writable permissionssudo cp -r /tmp/blocksy-extract/blocksy $WP_PATH/wp-content/themes/blocksy
-
medium Dangerous commands
cmd-privilegeSKILL.md:697Privilege escalation / world-writable permissionssudo chown -R www:www $WP_PATH/wp-content/themes/blocksy
-
medium Dangerous commands
cmd-privilegeSKILL.md:717Privilege escalation / world-writable permissionssudo cp /tmp/image.png $WP_PATH/wp-content/uploads/2026/09/image.png
-
medium Dangerous commands
cmd-privilegeSKILL.md:718Privilege escalation / world-writable permissionssudo chown www:www $WP_PATH/wp-content/uploads/2026/09/image.png
-
low Risky intent
intent-offensive-securitySKILL.md:38Offensive-security / dual-use content (legitimate for authorised testing; review intended use)> - **Do not run `sudo` or `wp eval` automatically**: privilege escalation and arbitrary code execution require justification and confirmation.
Files scanned: 12. Evidence is masked. Grey chips explain why severity was lowered.
Against the Agent Skills spec
- warning
body-longSKILL.md body ≈ 9974 tokens (recommended < 5000); move details to references/ - note
edit-residuethe text marks something as outdated (lines 6, 31, 91, 745, 760): check that old rules are not kept next to new ones — the full check reads the text for contradictions
Process rating: all ten parameters 61/100
- 0Result and completion. Does not say what the result is
- 30Running it twice. 38 mutating operations with no state check
- 40Execution cost. Instruction body is 9974 tokens: crowds the task out of the window
- 50When it triggers. No condition that starts the skill
- 60Tools and files. Uses tools (bash, web, git) that frontmatter does not declare
- 70Inputs and preconditions. Inputs and preconditions are listed
- 85Steps. 55 steps, 1 vague phrases
- 100Failures and branches. 2 branches, has a failure section
- 100Consistency. Name and required fields are in place
- 100Progress reporting. Reports progress
- medium Safety rules and hard prohibitions inside a skill: they belong in the system prompt, here they protect nothing
- low 22 top-level sections: this looks like several domains in one skill
- low The response is described with custom markup (6 tags): a typed call is more reliable
Everything here is measured from the skill text rather than judged by a model, so the numbers are checkable. A parameter weighs more when it is a more common reason for the process to stall.
Quality signals
- +5Description has no quoted example phrases that should trigger the skill
- +4Description does not say when NOT to use the skill (false activations)
- +3Description length 91: 120–800 characters recommended
- +3Output format is not stated: the model decides each time
- +2Single-language instructions
- +4Structure: 47 headings
- +3Step-by-step instructions: 55 items
- +4Has examples (34 code blocks)
- +4Reference files are cited in the instructions (7 of 7)
- +3All 3 scripts are documented
- +1License stated
Quality base 70; lint remarks subtract, signals add up to 100. Result: 79.