Back to skill

Security audit

WordPress Optimizer

Security checks for vulnerabilities and agentic risk

Overview

This skill has a plausible WordPress optimization purpose, but it asks users to send powerful WordPress credentials to an external service and can make live site changes without enough safety details.

Review this carefully before installing. Only use it with a dedicated, low-privilege or temporary WordPress account/token if possible, test on staging first, make a backup, and rotate or revoke any credential after use. Do not submit a normal administrator password unless you trust the external service and understand its retention and logging practices.

Vulnerability Patterns
  • 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
  • Unauthorized Access and Privilege EscalationObtains permissions beyond the task's legitimate needs
Findings (1)

other

Error
Location
SKILL.md:22
Finding

External Collection of Reusable WordPress Administrative Credentials

Content
View full analysis

Vulnerability Details

File Location: SKILL.md:22-30, SKILL.md:50-57, SKILL.md:76-88, SKILL.md:98-109, SKILL.md:149-150; openapi.json:116-160
Vulnerability Type: External collection of privileged credentials
Risk Level: High

Vulnerable Code Snippets

SKILL.md:22-30:

markdown
Perform comprehensive optimization on a WordPress site using administrative credentials:

**Sample Request:**
```json
{
  "site": "https://example.com",
  "username": "admin",
  "password": "secure_password_here"
}

SKILL.md:50-57:

markdown
**Sample Request:**
```json
{
  "site": "https://example.com",
  "token": "wp_token_abc123xyz"
}

SKILL.md:76-88:

markdown
### POST /optimize-wp

Performs comprehensive optimization on a WordPress site using administrative credentials. Analyzes configuration, plugins, themes, and security posture to apply automatic improvements.

**Parameters:**

| Name | Type | Required | Description |
|------|------|----------|-------------|
| site | string | Yes | The WordPress site URL (e.g., https://example.com) |
| username | string | Yes | WordPress admin username for authentication |
| password | string | Yes | WordPress admin password for authentication |

SKILL.md:98-109:

markdown
### POST /tune-wp

Performs performance tuning and configuration adjustments on a WordPress site using token-based authentication. Optimizes memory limits, execution timeouts, and database performance.

**Parameters:**

| Name | Type | Required | Description |
|------|------|----------|-------------|
| site | string | Yes | The WordPress site URL (e.g., https://example.com) |
| token | string | Yes | Authentication token for the WordPress site |

SKILL.md:149-150:

markdown
- **Kong Route:** https://api.mkkpro.com/tools/wordpress-optimizer
- **API Docs:** https://api.mkkpro.com:8029/docs

`openapi.json:116- ...[truncated 3151 chars]

Remediation
View remediation

Remediation Suggestions

  1. Eliminate collection of normal WordPress administrator passwords.
  2. Use narrowly scoped, revocable credentials, such as dedicated WordPress application passwords or an OAuth-style authorization flow, with only the permissions required for each optimization operation.
  3. Prefer an architecture in which credentials are transmitted directly to the target WordPress installation rather than disclosed to an intermediary service.
  4. Create a dedicated service account instead of using an existing administrator account, and expire or revoke its credential immediately after the operation.
  5. Explicitly define the API server and trust boundary in the OpenAPI document so users can determine where secrets will be sent.
  6. Mark secret fields using appropriate schema metadata, prevent them from appearing in generated examples, and ensure they are redacted from application, gateway, proxy, tracing, analytics, and error logs.
  7. Encrypt credentials in transit using validated TLS and avoid storing them. If temporary storage is unavoidable, use strong encryption, strict access controls, short retention periods, and documented deletion procedures.
  8. Publish an auditable implementation or security design describing credential processing, subprocessors, retention, access controls, incident response, and deletion guarantees.
  9. Add abuse controls, including authentication for callers, authorization checks, rate limiting, audit logging that excludes secrets, and alerts for anomalous access.
  10. Rotate any administrator passwords or tokens that have already been submitted to the external service.
Vulnerability Patterns
  • Data ExfiltrationExternal Transmission, Env Variable Harvesting, File System Enumeration
  • 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
  • Supply ChainUnpinned Dependencies, External Script Fetching, Obfuscated Code
Findings (5)

Missing User Warnings

High
Category
Not specified by scanner
Confidence
97% confidence
Finding

The skill instructs users to submit WordPress administrator credentials directly to a third-party API without any warning about credential sensitivity, storage, transmission, retention, or safer alternatives. Admin usernames and passwords grant full control of the site, so mishandling or interception could lead to complete site compromise, data theft, malicious plugin/theme changes, or persistence on the target system.

Content

No source excerpt is available for this finding.

Missing User Warnings

Medium
Category
Not specified by scanner
Confidence
94% confidence
Finding

The skill advertises optimization and tuning actions that automatically change WordPress configuration, performance settings, and possibly security posture, but it does not clearly warn users that these endpoints make live modifications. This can mislead users into treating the tool as read-only analysis, increasing the chance of unintended service disruption, configuration drift, or weakening of site behavior after automated changes.

Content

No source excerpt is available for this finding.

External Transmission

Medium
Category
Data Exfiltration
Confidence
50% 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 150)May include surrounding context.

md
## References

- **Kong Route:** https://api.mkkpro.com/tools/wordpress-optimizer
- **API Docs:** https://api.mkkpro.com:8029/docs

Vague Triggers

Medium
Category
Not specified by scanner
Confidence
82% confidence
Finding

The API exposes high-impact actions like /optimize-wp and /tune-wp with broad names and no documented trigger constraints, authorization semantics, confirmation requirements, or scope limitations in the schema. In a tool that can change WordPress performance and security settings, this ambiguity increases the risk of unsafe or unintended configuration changes being invoked with insufficient user awareness or policy checks.

Content

No source excerpt is available for this finding.

Natural-Language Policy Violations

Medium
Category
Not specified by scanner
Confidence
93% confidence
Finding

The schema requires submission of sensitive WordPress credentials or tokens directly in request bodies without any documented alternative flow, consent model, storage/handling guarantees, or credential minimization. Because this skill is specifically designed to administer WordPress sites, collecting privileged secrets materially increases the risk of account compromise, secret leakage, or misuse if the service or downstream handling is unsafe.

Content

No source excerpt is available for this finding.

Static analysis

No suspicious patterns detected.