wordpress-plugin-development

Pass

Audited by Gen Agent Trust Hub on Sep 5, 2026

Risk Level: SAFEINDIRECT_PROMPT_INJECTION
Full Analysis
  • [INDIRECT_PROMPT_INJECTION]: The skill provides template code for a WordPress AI Connector that processes content from posts or API inputs.
  • Ingestion points: The my_plugin_generate_summary_cb and my_plugin_generate_ai_summary functions in SKILL.md ingest raw post content and input data strings.
  • Boundary markers: The code snippets use simple string concatenation to build prompts (e.g., 'Create a compelling 2-sentence summary... ' . $content) without using specific delimiters or instruction-isolation techniques.
  • Capability inventory: The plugin capabilities include network communication via wp_ai_client_prompt and database writes via update_post_meta and register_post_meta.
  • Sanitization: The code demonstrates the use of sanitize_textarea_field on AI-generated output, but it lacks specific sanitization or filtering to prevent the input content from overriding the prompt's instructions.
Audit Metadata
Risk Level
SAFE
Analyzed
Sep 5, 2026, 10:21 PM
Security Audit — agent-trust-hub — wordpress-plugin-development