{"summary":{"plugin_name":"wp-sweep","display_name":"WP-Sweep","version":"2.0.1","risk_level":"minimal","risk_score":7.0,"risk_factors":{"owasp":5,"superglobal_density":5,"rest_routes":2,"installs_modifier":-5},"last_analyzed":"2026-11-23T11:58:54.404556","removed_from_directory":false,"closed_reason":null,"closed_date":null,"commercial":false,"free_counterpart":null,"active_installs":100000,"rating":94,"num_ratings":138,"tested":"7.1","requires":"6.8","requires_php":"8.2","author":"Lester Chan","short_description":"WP-Sweep allows you to clean up unused, orphaned and duplicated data in your WordPress. It also optimizes your database tables.","tags":["cleanup","database","Optimize","revisions","sweep"],"added":"2015-02-25","last_updated":"2026-08-24 12:36pm GMT","metadata_fetched_at":"2026-08-30T11:08:23.921599+00:00","modules_missing":null,"modules_failed":null,"latest_release":"2.0.1"},"security_metrics":{"total_issues":0,"parameters_found":4,"unknown_parameters":0,"headers_accessed":0,"cookies_accessed":0,"wp_hooks":2,"rest_routes":3,"query_vars":0,"shortcode_atts":0,"rest_routes_with_access_patterns":0,"file_upload_parameters":0,"owasp_findings":{"A03":1,"A04":1},"attack_surface_level":"medium","attack_surface_score":12,"tainted_sinks":2,"tainted_sql":0,"tainted_ssrf":0,"tainted_file_ops":0,"auth_bypass_sinks":0,"dangerous_patterns":0},"comparison":{"percentile":89.0,"rank":50929,"peer_count":463209,"better_than":89.0,"risk_distribution":{"medium":113849,"minimal":51956,"high":175642,"low":83826,"critical":37936}},"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":["Reachable 'file_include' sink x2 - 2 attacker-reachable 'file_include' 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: 6 plugin file(s) reachable by direct HTTP request, bypassing the WordPress bootstrap — insecure design"]}],"owasp_findings":{"A03":[{"type":"reachability_sink","sink":"file_include","count":2,"risk":"2 attacker-reachable 'file_include' sink(s) found by the reachability analyzer"}],"A04":[{"type":"direct_file_access","count":6,"risk":"6 plugin file(s) reachable by direct HTTP request, bypassing the WordPress bootstrap — insecure design"}]}}