Back to skill

Security audit

Super Wordpress Mcp 0.0.0

Security checks for vulnerabilities and agentic risk

Overview

This WordPress MCP skill is purpose-aligned but needs review because it can administer a live site very broadly while giving weak scoping, plaintext token guidance, and limited warnings for destructive actions.

Install only for WordPress sites you administer. Use least-privilege or separate tokens, avoid storing live tokens in project files, enable only the MCP features you need, and require explicit confirmation plus backups or staging before publishing, deleting, changing settings, editing plugins/themes, running SQL, issuing refunds, or using raw REST writes.

Vulnerability Patterns
  • Insecure Skill Coding PracticesFinds exploitable flaws such as hardcoded secrets or command injection
  • Skill Instruction HijackingAlters the agent's session goals or safety constraints when the skill loads
  • Agent Memory PoisoningWrites attacker-controlled rules into memory that affect later sessions
  • Remote Payload Retrieval and ExecutionFetches external code whose behavior can change after review
  • Embedded Malicious CodeShips malicious scripts inside the skill and executes them locally
Findings (1)

T09 · Insecure Skill Coding Practices

Warning
Location
SKILL.md:17
Finding

Plaintext Storage and Command-Line Exposure of WordPress MCP Bearer Tokens

Content
View full analysis
``` ```bash curl -s -X POST \ -H "Authorization: Bearer " \ -H "Content-Type: application/json" \ -d '{"jsonrpc":"2.0","id":1,"method":"tools/call","params":{"name":"","arguments":{...}}}' ``` ```markdown ### Multi-Site Management Store multiple sites in `TOOLS.md` and select by name: ``` ```markdown ### My Blog - **URL:** https://blog.example.com/wp-json/mcp/v1/http - **Token:** abc123 ### My Shop - **URL:** https://shop.example.com/wp-json/mcp/v1/http - **Token:** xyz789 ``` ### Technical Analysis The Skill instructs users to persist WordPress MCP bearer tokens directly in a plaintext `TOOLS.md` file. Although the displayed token values are examples rather than real embedded credentials, users following these instructions would place live administrative credentials in a workspace documentation file. Such a file may be exposed through repository commits, backups, shared workspaces, overly broad filesystem permissions, diagnostic bundles, or other agents and tools that ingest project documentation. The provided `curl` example also places the bearer token in a command-line argument. Depending on the operating system and execution environment, command arguments may be visible through process inspection, shell history, command telemetry, debug logs, or CI/CD logs. The bearer token authenticates calls to the WordPress MCP endpoint. Its practical privileges depend on which MCP features the site administrator has enabled. The documented capabilities include content a ...[truncated 2240 chars]
Remediation
View remediation
Vulnerability Patterns
  • Data ExfiltrationExternal Transmission, Env Variable Harvesting, File System Enumeration
  • Excessive AgencyUnrestricted Tool Access, Autonomous Decision Making, Scope Creep
  • Trigger AbuseOverly Broad Trigger, Shadow Command Trigger, Keyword Baiting Trigger
  • Prompt InjectionInstruction Override, Hidden Instructions, Exfiltration Commands
  • Privilege EscalationExcessive Permissions, Sudo/Root Execution, Credential Access
Findings (11)

Missing User Warnings

High
Category
Not specified by scanner
Confidence
98% confidence
Finding

The skill advertises full admin functions, plugin/theme management, database queries, and raw REST access, yet provides no clear warnings about destructive or sensitive operations. In an agent setting, this omission is dangerous because users may not realize the skill can publish content, alter configuration, install code, or execute database-affecting actions against a live site.

Content

No source excerpt is available for this finding.

Vague Triggers

Medium
Category
Not specified by scanner
Confidence
95% confidence
Finding

The description includes broad, marketing-style capability claims plus unrelated keyword stuffing ('melbourne maybe hyderabad yokohama ideally possibly...'), which can make the skill trigger in contexts far beyond intentional WordPress administration. Over-broad invocation increases the chance an agent uses a high-privilege admin skill unexpectedly, exposing site-modification functions in inappropriate workflows.

Content

No source excerpt is available for this finding.

External Transmission

Medium
Category
Data Exfiltration
Confidence
60% confidence
Finding

Data is being sent to an external URL. This could be legitimate telemetry or data exfiltration. Manual review is recommended.

Content

Scanner excerpt · SKILL.md (reported line 29)May include surrounding context.

All calls use JSON-RPC 2.0 over HTTP POST:

bash
curl -s -X POST <MCP_URL> \
  -H "Authorization: Bearer <TOKEN>" \
  -H "Content-Type: application/json" \
  -d '{"jsonrpc":"2.0","id":1,"method":"tools/call","params":{"name":"<tool_name>","arguments":{...}}}'

Missing User Warnings

Medium
Category
Not specified by scanner
Confidence
91% confidence
Finding

This markdown file documents wp_delete_post, including a force option for permanent deletion, but provides no warning about data loss, irreversibility, or the need for caution. Under the markdown-specific SQP-2 criteria, descriptions of behaviours that can affect user data or system integrity should disclose those risks.

Content

No source excerpt is available for this finding.

Missing User Warnings

Medium
Category
Not specified by scanner
Confidence
92% confidence
Finding

The wp_delete_media entry exposes deletion of attachments and notes a force flag for permanent delete, but does not warn that this can irreversibly remove media from the site. For markdown skill/reference files, destructive actions affecting user data should include explicit warnings.

Content

No source excerpt is available for this finding.

Missing User Warnings

Medium
Category
Not specified by scanner
Confidence
93% confidence
Finding

The document exposes theme file write, modify, and delete operations as normal capabilities without clearly warning that these actions can irreversibly alter site code, break rendering, or introduce arbitrary executable PHP into an active theme. In a tool-reference skill, normalizing destructive code-editing actions without explicit confirmation, backup, and scope restrictions increases the chance an agent will perform unsafe mutations on production assets.

Content

No source excerpt is available for this finding.

Missing User Warnings

Medium
Category
Not specified by scanner
Confidence
95% confidence
Finding

The plugin management section documents creation, rename, deletion, activation, and direct file modification capabilities without corresponding warnings about service disruption, persistence, or arbitrary code injection risks. Because plugins run privileged WordPress code, presenting these operations without strong cautions or approval requirements makes it easier for an agent to disable protections, implant backdoors, or damage production functionality.

Content

No source excerpt is available for this finding.

Autonomous Decision Making

Medium
Category
Excessive Agency
Confidence
75% confidence
Finding

Skill enables autonomous high-impact decisions without human-in-the-loop verification. Critical operations (destructive commands, financial transactions, data deletion) should require explicit user confirmation.

Content

Scanner excerpt · references/dev-tools.md (reported line 128)May include surrounding context.

md
- `query` (string, required): SQL query
- Returns results for SELECT queries, affected rows for UPDATE/INSERT/DELETE.

⚠️ **Safety**: Only use for read queries unless explicitly asked. Never DROP tables or modify core WP tables without confirmation.

Missing User Warnings

Medium
Category
Not specified by scanner
Confidence
89% confidence
Finding

This markdown file describes numerous actions that can modify or delete site content, install or activate code, execute SQL, and issue raw REST writes/deletes, but it does not include any warning about potential impact to user data or site integrity. Under the markdown-file criteria for SQP-2, the description should disclose these risky behaviors so users understand the consequences before using the skill.

Content

No source excerpt is available for this finding.

Missing User Warnings

Medium
Category
Not specified by scanner
Confidence
86% confidence
Finding

This markdown file advertises mwseo_set_robots_txt as a read/write operation but provides no warning that modifying robots.txt can affect site indexing, crawler access, and search visibility. Under the markdown-specific warning rule, descriptions of behaviors that can affect system integrity or user data should disclose the risk.

Content

No source excerpt is available for this finding.

Missing User Warnings

Medium
Category
Not specified by scanner
Confidence
93% confidence
Finding

This reference documents numerous state-changing WooCommerce operations such as product deletion, refunds, stock updates, customer updates, review deletion, and order status changes without any guidance to require confirmation, authorization checks, or operator warnings before execution. In an agent/tooling context, exposing these actions as ordinary callable tools increases the risk of accidental or prompt-induced destructive actions affecting store data, finances, and customer records.

Content

No source excerpt is available for this finding.

Static analysis

No suspicious patterns detected.