wordpress-plugin-development
Pass
Audited by Gen Agent Trust Hub on Oct 26, 2026
Risk Level: SAFEINDIRECT_PROMPT_INJECTION
Full Analysis
- [INDIRECT_PROMPT_INJECTION]: The skill demonstrates AI integration patterns that are susceptible to indirect prompt injection attacks.\n
- Ingestion points: Untrusted data enters the context through the
save_posthook (accessing$post->post_content) and the REST API input schema inreferences/detailed-guide.md.\n - Boundary markers: The code snippets for
my_plugin_generate_ai_summaryandmy_plugin_generate_summary_cbinterpolate the untrusted content directly into the prompt string using concatenation andsprintfwithout using delimiters or instructions to the model to ignore instructions within the data.\n - Capability inventory: The skill possesses the capability to perform AI text generation via
wp_ai_client_promptand write data to the WordPress database usingupdate_post_meta.\n - Sanitization: Although standard WordPress sanitization functions like
strip_tagsandsanitize_textarea_fieldare used, they do not mitigate the risk of an LLM interpreting instructions hidden within the provided text.
Audit Metadata