{"summary":{"plugin_name":"wployalty","display_name":"Loyalty Points Rewards and Referral for WooCommerce – WPLoyalty","version":"1.4.9","risk_level":"low","risk_score":15.0,"risk_factors":{"static_analysis":5,"owasp":5,"raw_input":5},"last_analyzed":"2026-11-23T11:20:27.003384","removed_from_directory":false,"closed_reason":null,"closed_date":null,"commercial":false,"free_counterpart":null,"active_installs":3000,"rating":100,"num_ratings":317,"tested":"7.1.5","requires":"6.0","requires_php":"7.4","author":"flycart","short_description":"Create WooCommerce points and rewards program with WPLoyalty to increase customer loyalty and boost sales. Reward customers to drive repeat purchases.","tags":["coupons","Loyalty","points","referrals","Rewards"],"added":"2023-04-11","last_updated":"2026-10-22 10:45am GMT","metadata_fetched_at":"2026-11-22T14:37:50.192943+00:00","modules_missing":[],"modules_failed":[],"latest_release":"1.4.9"},"security_metrics":{"total_issues":42,"parameters_found":9,"unknown_parameters":2,"headers_accessed":5,"cookies_accessed":0,"wp_hooks":2,"rest_routes":0,"query_vars":1,"shortcode_atts":0,"rest_routes_with_access_patterns":0,"file_upload_parameters":0,"owasp_findings":{"A02":1,"A07":2},"attack_surface_level":"medium","attack_surface_score":11,"tainted_sinks":0,"tainted_sql":0,"tainted_ssrf":0,"tainted_file_ops":0,"auth_bypass_sinks":0,"dangerous_patterns":0},"comparison":{"percentile":81.5,"rank":92555,"peer_count":500335,"better_than":81.5,"risk_distribution":{"low":101120,"high":178050,"medium":121273,"critical":38813,"minimal":61079}},"executive_summary":null,"vulnerabilities":[],"recommendations":[{"category":"A07","name":"Identification and Authentication Failures","severity":"medium","findings_count":2,"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":["Auth hook 'user_register' - Hooks the 'user_register' authentication/identity flow — verify it cannot be abused to bypass authentication","Auth hook 'wp_login' - Hooks the 'wp_login' authentication/identity flow — verify it cannot be abused to bypass authentication"]},{"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 'consumer_secret' - Sensitive data exposure"]}],"owasp_findings":{"A02":[{"type":"parameter","name":"consumer_secret","locations":{"GET":[{"file":"/plugins/wployalty/tags/1.4.9/App/Controllers/Site/DisplayMessage.php","line":277,"offset":14174,"snippet":"$_REQUEST['consumer_secret']"},{"file":"/plugins/wployalty/tags/1.4.9/App/Controllers/Site/DisplayMessage.php","line":361,"offset":16974,"snippet":"$_REQUEST['consumer_secret']"}],"POST":[{"file":"/plugins/wployalty/tags/1.4.9/App/Controllers/Site/DisplayMessage.php","line":277,"offset":14174,"snippet":"$_REQUEST['consumer_secret']"},{"file":"/plugins/wployalty/tags/1.4.9/App/Controllers/Site/DisplayMessage.php","line":361,"offset":16974,"snippet":"$_REQUEST['consumer_secret']"}]},"risk":"Sensitive data exposure"}],"A07":[{"type":"auth_hook","name":"user_register","risk":"Hooks the 'user_register' authentication/identity flow — verify it cannot be abused to bypass authentication"},{"type":"auth_hook","name":"wp_login","risk":"Hooks the 'wp_login' authentication/identity flow — verify it cannot be abused to bypass authentication"}]}}