{"summary":{"plugin_name":"sepay-gateway","display_name":"SePay Gateway","version":"1.1.24","risk_level":"low","risk_score":27.0,"risk_factors":{"static_analysis":5,"owasp":5,"attack_surface":5,"unauth_ratio":5,"superglobal_density":5,"rest_routes":2},"last_analyzed":"2026-11-23T12:40:20.754953","removed_from_directory":false,"closed_reason":null,"closed_date":null,"commercial":false,"free_counterpart":null,"active_installs":2000,"rating":100,"num_ratings":2,"tested":"6.9.11","requires":"5.6","requires_php":"7.2","author":"sepayteam","short_description":"Thanh toán QR chuyển khoản (VietQR) bởi SePay cho WooCommerce. Hỗ trợ hơn 50 ngân hàng. Kết nối 15+ ngân hàng để xác nhận tự động.","tags":["ngan hang","payment gateway","thanh toán","vietqr","woocommerce"],"added":"2024-08-13","last_updated":"2026-11-15 12:17pm GMT","metadata_fetched_at":"2026-11-15T23:19:07.635927+00:00","modules_missing":null,"modules_failed":null,"latest_release":"1.1.24"},"security_metrics":{"total_issues":8,"parameters_found":15,"unknown_parameters":1,"headers_accessed":1,"cookies_accessed":0,"wp_hooks":2,"rest_routes":2,"query_vars":0,"shortcode_atts":0,"rest_routes_with_access_patterns":2,"file_upload_parameters":0,"owasp_findings":{"A01":2,"A02":1},"attack_surface_level":"medium","attack_surface_score":21,"tainted_sinks":0,"tainted_sql":0,"tainted_ssrf":0,"tainted_file_ops":0,"auth_bypass_sinks":0,"dangerous_patterns":0},"comparison":{"percentile":68.3,"rank":157409,"peer_count":497044,"better_than":68.3,"risk_distribution":{"low":99604,"high":177855,"medium":120571,"critical":38739,"minimal":60275}},"executive_summary":null,"vulnerabilities":[],"recommendations":[{"category":"A01","name":"Broken Access Control","severity":"medium","findings_count":2,"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":["REST route '/add-payment' - REST route registered with permission_callback '__return_true' — open to unauthenticated callers","REST route '/add-payment' - REST route registered with permission_callback '__return_true' — open to unauthenticated callers"]},{"category":"A02","name":"Cryptographic Failures","severity":"low","findings_count":1,"description":"Failures related to cryptography which often lead to exposure of sensitive data","recommendations":["Never store passwords or API keys in plain text","Use WordPress options API with encryption for sensitive data","Implement proper key management practices","Use HTTPS for all sensitive data transmission"],"findings_summary":["Parameter 'refresh_token' - Sensitive data exposure"]}],"owasp_findings":{"A01":[{"type":"rest_route","name":"/add-payment","risk":"REST route registered with permission_callback '__return_true' — open to unauthenticated callers"},{"type":"rest_route","name":"/add-payment","risk":"REST route registered with permission_callback '__return_true' — open to unauthenticated callers"}],"A02":[{"type":"parameter","name":"refresh_token","locations":{"GET":[{"file":"/plugins/sepay-gateway/tags/1.1.24/includes/class-wc-gateway-sepay.php","line":818,"offset":35095,"snippet":"$_GET['refresh_token']"},{"file":"/plugins/sepay-gateway/tags/1.1.24/includes/class-wc-gateway-sepay.php","line":831,"offset":35755,"snippet":"$_GET['refresh_token']"}]},"risk":"Sensitive data exposure"}]}}