Back to skill

Security audit

WordPress WP-CLI Admin

Security checks for vulnerabilities and agentic risk

Overview

This skill is a coherent WordPress WP-CLI administration helper with local inspection scripts and disclosed high-impact admin capabilities, with one minor disclosure gap around listing WordPress users.

Install only if you intend to let an agent operate a WordPress site through WP-CLI. Review commands before write operations such as updates, imports, search-replace, or user/content changes, and treat the inspection script output as sensitive because it includes site configuration and account-role information.

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
Vulnerability Patterns
  • Prompt InjectionInstruction Override, Hidden Instructions, Exfiltration Commands
  • Data ExfiltrationExternal Transmission, Env Variable Harvesting, File System Enumeration
  • Privilege EscalationExcessive Permissions, Sudo/Root Execution, Credential Access
  • Supply ChainUnpinned Dependencies, External Script Fetching, Obfuscated Code
  • Excessive AgencyUnrestricted Tool Access, Autonomous Decision Making, Scope Creep
Findings (1)

Missing User Warnings

Medium
Confidence
85% confidence
Finding
The script prints a full WordPress user listing, including user IDs, logins, and roles. Although the command output is visible, there is no prior disclosure in usage text or comments that running this inspection will reveal account information, which is relevant user/system data.

Static analysis

No suspicious patterns detected.