{"summary":{"plugin_name":"woo-auto-coupons","display_name":"Auto Coupons for WooCommerce","version":"3.1.0","risk_level":"medium","risk_score":35.0,"risk_factors":{"static_analysis":5,"owasp":5,"attack_surface":10,"superglobal_density":15},"last_analyzed":"2026-11-23T14:10:55.053486","removed_from_directory":false,"closed_reason":null,"closed_date":null,"commercial":false,"free_counterpart":null,"active_installs":3000,"rating":98,"num_ratings":16,"tested":"7.1","requires":"4.6","requires_php":"False","author":"RLDD","short_description":"Apply WooCommerce Coupons automatically with a fast, lightweight plugin. Set minimum product quantities, apply coupons by URL or automatically.","tags":["auto apply","coupons","discount","duplicate","woocommerce"],"added":"2019-03-10","last_updated":"2026-09-04 3:43pm GMT","metadata_fetched_at":"2026-09-06T00:38:59.051797+00:00","modules_missing":null,"modules_failed":null,"latest_release":"3.1.0"},"security_metrics":{"total_issues":12,"parameters_found":31,"unknown_parameters":0,"headers_accessed":8,"cookies_accessed":0,"wp_hooks":2,"rest_routes":0,"query_vars":0,"shortcode_atts":0,"rest_routes_with_access_patterns":0,"file_upload_parameters":0,"owasp_findings":{"A03":5},"attack_surface_level":"medium","attack_surface_score":33,"tainted_sinks":0,"tainted_sql":0,"tainted_ssrf":0,"tainted_file_ops":0,"auth_bypass_sinks":0,"dangerous_patterns":0},"comparison":{"percentile":67.4,"rank":151581,"peer_count":464637,"better_than":67.4,"risk_distribution":{"medium":114070,"minimal":52388,"high":175697,"low":84510,"critical":37972}},"executive_summary":null,"vulnerabilities":[],"recommendations":[{"category":"A03","name":"Injection","severity":"high","findings_count":5,"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":["phpcs_security: Easy XSS detected because of direct user input with $_SERVER on echo","phpcs_security: Easy XSS detected because of direct user input with $_SERVER on echo","phpcs_security: Easy XSS detected because of direct user input with $_SERVER on echo","phpcs_security: Easy XSS detected because of direct user input with $_SERVER on echo","phpcs_security: Easy XSS detected because of direct user input with $_REQUEST on echo"]}],"owasp_findings":{"A03":[{"type":"phpcs_security","message":"Easy XSS detected because of direct user input with $_SERVER on echo","file":"/plugins/woo-auto-coupons/tags/3.1.0/wac_functions.php","line":416},{"type":"phpcs_security","message":"Easy XSS detected because of direct user input with $_SERVER on echo","file":"/plugins/woo-auto-coupons/tags/3.1.0/wac_functions.php","line":416},{"type":"phpcs_security","message":"Easy XSS detected because of direct user input with $_SERVER on echo","file":"/plugins/woo-auto-coupons/tags/3.1.0/wac_functions.php","line":416},{"type":"phpcs_security","message":"Easy XSS detected because of direct user input with $_SERVER on echo","file":"/plugins/woo-auto-coupons/tags/3.1.0/wac_functions.php","line":416},{"type":"phpcs_security","message":"Easy XSS detected because of direct user input with $_REQUEST on echo","file":"/plugins/woo-auto-coupons/tags/3.1.0/wac_functions.php","line":498}]}}