{"summary":{"plugin_name":"amp","display_name":"AMP","version":"2.5.5","risk_level":"medium","risk_score":37.0,"risk_factors":{"staleness":20,"static_analysis":5,"owasp":5,"attack_surface":10,"rest_routes":2,"installs_modifier":-5},"last_analyzed":"2026-11-23T11:02:47.930269","removed_from_directory":false,"closed_reason":null,"closed_date":null,"commercial":false,"free_counterpart":null,"active_installs":300000,"rating":76,"num_ratings":367,"tested":"6.8.10","requires":"6.5","requires_php":"7.4","author":"Weston Ruter","short_description":"An easier path to great Page Experience for everyone. Powered by AMP.","tags":["amp","mobile","optimization","page experience","performance"],"added":"2015-10-08","last_updated":"2025-04-10 4:53pm GMT","metadata_fetched_at":"2026-10-05T05:46:20.097065+00:00","modules_missing":[],"modules_failed":[],"latest_release":null},"security_metrics":{"total_issues":77,"parameters_found":22,"unknown_parameters":2,"headers_accessed":2,"cookies_accessed":0,"wp_hooks":0,"rest_routes":5,"query_vars":0,"shortcode_atts":0,"rest_routes_with_access_patterns":0,"file_upload_parameters":0,"owasp_findings":{"A03":3,"A04":1,"A10":1},"attack_surface_level":"medium","attack_surface_score":32,"tainted_sinks":24,"tainted_sql":0,"tainted_ssrf":1,"tainted_file_ops":0,"auth_bypass_sinks":0,"dangerous_patterns":1},"comparison":{"percentile":82.7,"rank":1477,"peer_count":8536,"better_than":82.7,"risk_distribution":{"high":4076,"medium":2538,"critical":446,"low":1034,"minimal":442}},"executive_summary":null,"vulnerabilities":[],"recommendations":[{"category":"A03","name":"Injection","severity":"high","findings_count":3,"description":"User-supplied data is not validated, filtered, or sanitized by the application","recommendations":["Use $wpdb->prepare() for all database queries — never interpolate or concatenate input","Sanitize all user input with appropriate WordPress functions","Escape output based on context (esc_html, esc_attr, etc.)","Never pass user input to eval(), include/require, or a variable function"],"findings_summary":["Reachable 'file_include' sink x21 - 21 attacker-reachable 'file_include' sink(s) found by the reachability analyzer","Reachable 'header_injection' sink x1 - 1 attacker-reachable 'header_injection' sink(s) found by the reachability analyzer","Pattern 'sqli_interpolated' x1 - Interpolated variable in SQL query string (1 occurrence(s))"]},{"category":"A10","name":"Server-Side Request Forgery (SSRF)","severity":"medium","findings_count":1,"description":"Fetching a remote resource without validating the user-supplied URL","recommendations":["Validate user-supplied URLs against an allowlist of hosts before fetching","Use wp_safe_remote_get() rather than wp_remote_get()/cURL for user-influenced URLs","Block requests to internal/loopback/link-local address ranges"],"findings_summary":["Reachable 'ssrf' sink x1 - 1 attacker-reachable 'ssrf' sink(s) found by the reachability analyzer"]},{"category":"A04","name":"Insecure Design","severity":"low","findings_count":1,"description":"Missing or ineffective control design — e.g. plugin files that perform work when requested directly, bypassing the WordPress bootstrap","recommendations":["Add a `defined('ABSPATH') || exit;` guard to every PHP file so it cannot be requested directly","Move logic out of directly-reachable files into hook callbacks loaded by WordPress","Threat-model unauthenticated entry points during design, not after release"],"findings_summary":["Direct file access: 39 plugin file(s) reachable by direct HTTP request, bypassing the WordPress bootstrap — insecure design"]}],"owasp_findings":{"A03":[{"type":"reachability_sink","sink":"file_include","count":21,"risk":"21 attacker-reachable 'file_include' sink(s) found by the reachability analyzer"},{"type":"reachability_sink","sink":"header_injection","count":1,"risk":"1 attacker-reachable 'header_injection' sink(s) found by the reachability analyzer"},{"type":"pattern_match","pattern":"sqli_interpolated","count":1,"severity":"critical","examples":["src/BackgroundTask/MonitorCssTransientCaching.php:156"],"risk":"Interpolated variable in SQL query string (1 occurrence(s))"}],"A04":[{"type":"direct_file_access","count":39,"risk":"39 plugin file(s) reachable by direct HTTP request, bypassing the WordPress bootstrap — insecure design"}],"A10":[{"type":"reachability_sink","sink":"ssrf","count":1,"risk":"1 attacker-reachable 'ssrf' sink(s) found by the reachability analyzer"}]}}