{"summary":{"plugin_name":"openpay-cards","display_name":"Openpay Cards Plugin","version":"3.2.0","risk_level":"medium","risk_score":30.0,"risk_factors":{"static_analysis":10,"owasp":5,"attack_surface":5,"superglobal_density":5,"raw_input":5},"last_analyzed":"2026-11-23T12:59:44.387998","removed_from_directory":false,"closed_reason":null,"closed_date":null,"commercial":false,"free_counterpart":null,"active_installs":2000,"rating":40,"num_ratings":12,"tested":"7.0.9","requires":"4.8","requires_php":"7.4","author":"Openpay SA de CV","short_description":"Provides a credit card payment method with Openpay for WooCommerce.","tags":["openpay","payment gateway"],"added":"2018-04-13","last_updated":"2026-09-29 12:36am GMT","metadata_fetched_at":"2026-11-22T05:19:55.661247+00:00","modules_missing":[],"modules_failed":[],"latest_release":"3.2.0"},"security_metrics":{"total_issues":37,"parameters_found":20,"unknown_parameters":0,"headers_accessed":7,"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":{"A01":1,"A07":1},"attack_surface_level":"medium","attack_surface_score":22,"tainted_sinks":0,"tainted_sql":0,"tainted_ssrf":0,"tainted_file_ops":0,"auth_bypass_sinks":0,"dangerous_patterns":1},"comparison":{"percentile":69.3,"rank":146858,"peer_count":478285,"better_than":69.3,"risk_distribution":{"medium":116844,"high":176416,"low":91011,"minimal":55846,"critical":38168}},"executive_summary":null,"vulnerabilities":[],"recommendations":[{"category":"A01","name":"Broken Access Control","severity":"medium","findings_count":1,"description":"Access control enforces policy such that users cannot act outside of their intended permissions","recommendations":["Add a real permission_callback to every REST route — never '__return_true' for state-changing endpoints","Verify nonces on all wp_ajax_nopriv_ handlers and re-check capabilities server-side","Validate and canonicalize file paths to block traversal on read/write/delete operations","Never trust a user-supplied role/capability — enforce it against the acting user's own permissions"],"findings_summary":["Pattern 'nopriv_no_nonce' x1 - Nopriv AJAX handler without nonce verification (1 occurrence(s))"]},{"category":"A07","name":"Identification and Authentication Failures","severity":"medium","findings_count":1,"description":"Functions related to a user's identity, authentication, or session management","recommendations":["Enforce strong passwords and rate-limit login attempts","Add MFA/2FA for privileged accounts","Use wp_verify_nonce() and capability checks together — neither alone is sufficient","Audit any authenticate / determine_current_user filter for bypass paths"],"findings_summary":["Parameter 'device_session_id' - Authentication-related parameter — verify login flow hardening"]}],"owasp_findings":{"A01":[{"type":"pattern_match","pattern":"nopriv_no_nonce","count":1,"severity":"high","examples":["openpay_cards.php:35"],"risk":"Nopriv AJAX handler without nonce verification (1 occurrence(s))"}],"A07":[{"type":"parameter","name":"device_session_id","locations":{"POST":[{"file":"/plugins/openpay-cards/tags/3.2.0/class-wc-openpay-gateway.php","line":407,"offset":18780,"snippet":"$_POST['device_session_id']"}]},"risk":"Authentication-related parameter — verify login flow hardening"}]}}