{"summary":{"plugin_name":"perfecty-push-notifications","display_name":"Perfecty Push Notifications","version":"1.6.5","risk_level":"medium","risk_score":47.0,"risk_factors":{"staleness":20,"owasp":5,"attack_surface":5,"unauth_ratio":10,"superglobal_density":5,"rest_routes":2},"last_analyzed":"2026-11-23T13:09:44.696349","removed_from_directory":false,"closed_reason":null,"closed_date":null,"commercial":false,"free_counterpart":null,"active_installs":3000,"rating":92,"num_ratings":42,"tested":"6.8.13","requires":"5.0","requires_php":"7.2","author":"Perfecty","short_description":"Push Notifications that are self-hosted, you don't need API keys to integrate with external Push Notifications providers that will charge you lat …","tags":["Notifications","push notifications","user engagement","web push notifications"],"added":"2020-12-26","last_updated":"2025-09-04 5:00am GMT","metadata_fetched_at":"2026-11-22T05:22:48.891917+00:00","modules_missing":[],"modules_failed":[],"latest_release":null},"security_metrics":{"total_issues":0,"parameters_found":12,"unknown_parameters":0,"headers_accessed":0,"cookies_accessed":0,"wp_hooks":0,"rest_routes":3,"query_vars":0,"shortcode_atts":0,"rest_routes_with_access_patterns":0,"file_upload_parameters":0,"owasp_findings":{"A01":4},"attack_surface_level":"medium","attack_surface_score":18,"tainted_sinks":0,"tainted_sql":0,"tainted_ssrf":0,"tainted_file_ops":0,"auth_bypass_sinks":0,"dangerous_patterns":3},"comparison":{"percentile":100.0,"rank":1,"peer_count":28954,"better_than":100.0,"risk_distribution":{"high":13896,"medium":8713,"critical":1528,"low":3399,"minimal":1418}},"executive_summary":null,"vulnerabilities":[],"recommendations":[{"category":"A01","name":"Broken Access Control","severity":"high","findings_count":4,"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 '/v1/push/users' - REST route registered with permission_callback '__return_true' — open to unauthenticated callers","REST route '/v1/push/users/(?P<user_id>[a-zA-Z0-9-]+)/unregister' - REST route registered with permission_callback '__return_true' — open to unauthenticated callers","REST route '/v1/push/users/(?P<user_id>[a-zA-Z0-9-]+)' - REST route registered with permission_callback '__return_true' — open to unauthenticated callers","Pattern 'rest_no_permission' x3 - REST endpoint with no permission check (3 occurrence(s))"]}],"owasp_findings":{"A01":[{"type":"rest_route","name":"/v1/push/users","risk":"REST route registered with permission_callback '__return_true' — open to unauthenticated callers"},{"type":"rest_route","name":"/v1/push/users/(?P<user_id>[a-zA-Z0-9-]+)/unregister","risk":"REST route registered with permission_callback '__return_true' — open to unauthenticated callers"},{"type":"rest_route","name":"/v1/push/users/(?P<user_id>[a-zA-Z0-9-]+)","risk":"REST route registered with permission_callback '__return_true' — open to unauthenticated callers"},{"type":"pattern_match","pattern":"rest_no_permission","count":3,"severity":"high","examples":["public/class-perfecty-push-public.php:100","public/class-perfecty-push-public.php:109","public/class-perfecty-push-public.php:119"],"risk":"REST endpoint with no permission check (3 occurrence(s))"}]}}