{"summary":{"plugin_name":"autoremove-attachments","display_name":"Autoremove Attachments","version":"1.3.1","risk_level":"low","risk_score":10.0,"risk_factors":{"owasp":5,"superglobal_density":5},"last_analyzed":"2026-11-23T12:48:23.173641","removed_from_directory":false,"closed_reason":null,"closed_date":null,"commercial":false,"free_counterpart":null,"active_installs":3000,"rating":100,"num_ratings":15,"tested":"6.9.4","requires":"5.8","requires_php":"7.4","author":"Polygon Themes","short_description":"Remove child attachments when parent post, page or custom post type is deleted.","tags":["attachment","custom post type","media","page","post"],"added":"2015-07-10","last_updated":"2026-05-10 8:41am GMT","metadata_fetched_at":"2026-05-23T07:45:03.421194+00:00","modules_missing":null,"modules_failed":null,"latest_release":"1.3.1"},"security_metrics":{"total_issues":0,"parameters_found":3,"unknown_parameters":0,"headers_accessed":0,"cookies_accessed":0,"wp_hooks":0,"rest_routes":0,"query_vars":0,"shortcode_atts":0,"rest_routes_with_access_patterns":0,"file_upload_parameters":0,"owasp_findings":{"A03":1,"A06":1},"attack_surface_level":"minimal","attack_surface_score":3,"tainted_sinks":0,"tainted_sql":0,"tainted_ssrf":0,"tainted_file_ops":0,"auth_bypass_sinks":0,"dangerous_patterns":3},"comparison":{"percentile":83.3,"rank":5634,"peer_count":33764,"better_than":83.3,"risk_distribution":{"high":16243,"medium":10102,"critical":1786,"low":3985,"minimal":1648}},"executive_summary":null,"vulnerabilities":[],"recommendations":[{"category":"A03","name":"Injection","severity":"medium","findings_count":1,"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":["Pattern 'sqli_interpolated' x3 - Interpolated variable in SQL query string (3 occurrence(s))"]},{"category":"A06","name":"Vulnerable and Outdated Components","severity":"low","findings_count":1,"description":"Using components with known vulnerabilities, or shipping releases that are stale on the upstream directory","recommendations":["Update the plugin to its latest stable release","Replace components that are no longer maintained upstream","Subscribe to vulnerability feeds for plugins you depend on (WPScan, Wordfence)","Audit bundled JS/PHP libraries for known CVEs"],"findings_summary":["Stale component: last updated 2023-08-12 12:30am GMT (1013 days ago)"]}],"owasp_findings":{"A03":[{"type":"pattern_match","pattern":"sqli_interpolated","count":3,"severity":"critical","examples":["uninstall.php:22","includes/class-autoremove-attachments-deactivator.php:40","includes/class-autoremove-attachments-activator.php:40"],"risk":"Interpolated variable in SQL query string (3 occurrence(s))"}],"A06":[{"type":"stale_component","last_updated":"2023-08-12 12:30am GMT","age_days":1013,"risk":"Plugin has not been updated upstream in 2+ years (1013 days) — increased risk of unpatched vulnerabilities"}]}}