wp-rest-api
Pass
Audited by Gen Agent Trust Hub on Sep 5, 2026
Risk Level: SAFE
Full Analysis
- [SAFE]: The skill provides comprehensive instructions for secure WordPress development, explicitly requiring the implementation of
permission_callbackfor authorization andsanitize_callbackfor input validation. - [COMMAND_EXECUTION]: The skill includes a step to run a local initialization script (
node skills/wp-project-triage/scripts/detect_wp_project.mjs) to identify the WordPress project structure, which is a standard procedure for environment setup. - [INDIRECT_PROMPT_INJECTION]: The skill involves processing untrusted data from HTTP requests through REST API endpoints.
- Ingestion points: Data enters the context via
WP_REST_Requestas described in Procedure 3. - Boundary markers: The skill recommends defining
argswithvalidate_callbackand using JSON Schema validation. - Capability inventory: The skill uses a local script for project triage; the resulting API code handles file and database operations typical of WordPress.
- Sanitization: The skill explicitly mandates the use of
sanitize_callbackandrest_sanitize_value_from_schemato filter external content.
Audit Metadata