Back to skill

Security audit

WordPress Content REST API

Security checks for vulnerabilities and agentic risk

Overview

This skill provides scoped WordPress content API guidance with explicit dry-run, approval, and least-privilege safeguards.

Before installing, confirm you intend to let the agent help manage WordPress content over the REST API. Use a least-privilege WordPress account or application password, verify WP_SITE points to the intended staging or production site before any write, keep dry-run-first behavior, and require explicit approval for publishing or deleting content.

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
  • Data ExfiltrationExternal Transmission, Env Variable Harvesting, File System Enumeration
  • Prompt InjectionInstruction Override, Hidden Instructions, Exfiltration Commands
  • 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)

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 · references/content-flows.md (reported line 10)May include surrounding context.

Examples:

bash
# Find posts by search + status
curl -sS -u "$WP_USER:$WP_APP_PASSWORD" \
  "$WP_SITE/wp-json/wp/v2/posts?search=pricing&status=draft,publish&per_page=20&page=1"

# Fetch exact page

Static analysis

No suspicious patterns detected.