{"summary":{"plugin_name":"dam-spam","display_name":"Dam Spam","version":"1.1.8","risk_level":"high","risk_score":60.0,"risk_factors":{"static_analysis":5,"owasp":10,"attack_surface":15,"superglobal_density":15,"filter_hooks":15},"last_analyzed":"2026-11-23T12:28:20.879355","removed_from_directory":false,"closed_reason":null,"closed_date":null,"commercial":false,"free_counterpart":null,"active_installs":3000,"rating":86,"num_ratings":4,"tested":"7.1.5","requires":"False","requires_php":"False","author":"Web Guy","short_description":"Spam protection for WordPress registration, login, comments, and contact forms.","tags":["anti-spam","no spam","security","spam","spam protection"],"added":"2025-11-27","last_updated":"2026-11-18 8:01am GMT","metadata_fetched_at":"2026-09-06T15:28:45.890247+00:00","modules_missing":null,"modules_failed":null,"latest_release":"1.2"},"security_metrics":{"total_issues":28,"parameters_found":159,"unknown_parameters":1,"headers_accessed":11,"cookies_accessed":2,"wp_hooks":2,"rest_routes":0,"query_vars":0,"shortcode_atts":1,"rest_routes_with_access_patterns":0,"file_upload_parameters":1,"owasp_findings":{"A02":2,"A03":11,"A05":1,"A07":27},"attack_surface_level":"large","attack_surface_score":166,"tainted_sinks":0,"tainted_sql":0,"tainted_ssrf":0,"tainted_file_ops":0,"auth_bypass_sinks":0,"dangerous_patterns":1},"comparison":{"percentile":16.9,"rank":388202,"peer_count":466889,"better_than":16.9,"risk_distribution":{"medium":114561,"minimal":52926,"high":175828,"low":85596,"critical":37978}},"executive_summary":null,"vulnerabilities":[],"recommendations":[{"category":"A03","name":"Injection","severity":"critical","findings_count":11,"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 $_POST on echo","phpcs_security: Easy XSS detected because of direct user input with $_POST on echo","phpcs_security: Easy XSS detected because of direct user input with $_GET on echo"]},{"category":"A07","name":"Identification and Authentication Failures","severity":"critical","findings_count":27,"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 'recaptcha' - Authentication-related parameter — verify login flow hardening","Parameter 'g-recaptcha-response' - Authentication-related parameter — verify login flow hardening","Parameter 'h-captcha' - Authentication-related parameter — verify login flow hardening","Parameter 'h-captcha-response' - Authentication-related parameter — verify login flow hardening","Parameter 'login' - Authentication-related parameter — verify login flow hardening"]},{"category":"A02","name":"Cryptographic Failures","severity":"low","findings_count":2,"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 'password' - Sensitive data exposure","Parameter 'turnstileapisecret' - Sensitive data exposure"]},{"category":"A05","name":"Security Misconfiguration","severity":"low","findings_count":1,"description":"Missing appropriate security hardening or improperly configured permissions","recommendations":["Remove phpinfo() and error_reporting()/display_errors overrides from shipped code","Never define WP_DEBUG inside a plugin — leave debug configuration to the site owner","Fail closed: do not expose stack traces or environment details to visitors"],"findings_summary":["Misconfiguration in settings/testing.php:260 - phpinfo();"]}],"owasp_findings":{"A02":[{"type":"parameter","name":"password","locations":{"GET":[{"file":"/plugins/dam-spam/tags/1.1.8/settings/advanced.php","line":1284,"offset":68941,"snippet":"$_GET['password']"},{"file":"/plugins/dam-spam/tags/1.1.8/settings/advanced.php","line":1284,"offset":68964,"snippet":"$_GET['password']"}]},"risk":"Sensitive data exposure"},{"type":"parameter","name":"turnstileapisecret","locations":{"POST":[{"file":"/plugins/dam-spam/tags/1.1.8/settings/challenges.php","line":73,"offset":3562,"snippet":"$_POST['turnstileapisecret']"},{"file":"/plugins/dam-spam/tags/1.1.8/settings/challenges.php","line":73,"offset":3628,"snippet":"$_POST['turnstileapisecret']"}]},"risk":"Sensitive data exposure"}],"A03":[{"type":"phpcs_security","message":"Easy XSS detected because of direct user input with $_SERVER on echo","file":"/plugins/dam-spam/tags/1.1.8/settings/protections.php","line":376},{"type":"phpcs_security","message":"Easy XSS detected because of direct user input with $_SERVER on echo","file":"/plugins/dam-spam/tags/1.1.8/settings/protections.php","line":376},{"type":"phpcs_security","message":"Easy XSS detected because of direct user input with $_POST on echo","file":"/plugins/dam-spam/tags/1.1.8/templates/forgot.php","line":36},{"type":"phpcs_security","message":"Easy XSS detected because of direct user input with $_POST on echo","file":"/plugins/dam-spam/tags/1.1.8/templates/forgot.php","line":36},{"type":"phpcs_security","message":"Easy XSS detected because of direct user input with $_GET on echo","file":"/plugins/dam-spam/tags/1.1.8/templates/login.php","line":32},{"type":"phpcs_security","message":"Easy XSS detected because of direct user input with $_GET on echo","file":"/plugins/dam-spam/tags/1.1.8/templates/login.php","line":32},{"type":"phpcs_security","message":"Easy XSS detected because of direct user input with $_POST on echo","file":"/plugins/dam-spam/tags/1.1.8/templates/register.php","line":13},{"type":"phpcs_security","message":"Easy XSS detected because of direct user input with $_POST on echo","file":"/plugins/dam-spam/tags/1.1.8/templates/register.php","line":13},{"type":"phpcs_security","message":"Easy XSS detected because of direct user input with $_POST on echo","file":"/plugins/dam-spam/tags/1.1.8/templates/register.php","line":17},{"type":"phpcs_security","message":"Easy XSS detected because of direct user input with $_POST on echo","file":"/plugins/dam-spam/tags/1.1.8/templates/register.php","line":17},{"type":"pattern_match","pattern":"sqli_interpolated","count":1,"severity":"critical","examples":["includes/utilities.php:457"],"risk":"Interpolated variable in SQL query string (1 occurrence(s))"}],"A05":[{"type":"misconfiguration","file":"settings/testing.php","line":"260","match":"phpinfo();","risk":"Security-misconfiguration token in shipped plugin code (error display / debug / info disclosure)"}],"A07":[{"type":"parameter","name":"recaptcha","locations":{"POST":[{"file":"/plugins/dam-spam/tags/1.1.8/classes/challenge.php","line":121,"offset":5465,"snippet":"$_POST['recaptcha']"},{"file":"/plugins/dam-spam/tags/1.1.8/dam-spam.php","line":615,"offset":25368,"snippet":"$_POST['recaptcha']"}]},"risk":"Authentication-related parameter — verify login flow hardening"},{"type":"parameter","name":"g-recaptcha-response","locations":{"GET":[{"file":"/plugins/dam-spam/tags/1.1.8/classes/challenge.php","line":127,"offset":5938,"snippet":"$_REQUEST['g-recaptcha-response']"},{"file":"/plugins/dam-spam/tags/1.1.8/classes/challenge.php","line":127,"offset":6013,"snippet":"$_REQUEST['g-recaptcha-response']"}],"POST":[{"file":"/plugins/dam-spam/tags/1.1.8/classes/challenge.php","line":127,"offset":5938,"snippet":"$_REQUEST['g-recaptcha-response']"},{"file":"/plugins/dam-spam/tags/1.1.8/classes/challenge.php","line":127,"offset":6013,"snippet":"$_REQUEST['g-recaptcha-response']"},{"file":"/plugins/dam-spam/tags/1.1.8/dam-spam.php","line":626,"offset":25974,"snippet":"$_POST['g-recaptcha-response']"},{"file":"/plugins/dam-spam/tags/1.1.8/dam-spam.php","line":626,"offset":26046,"snippet":"$_POST['g-recaptcha-response']"}]},"risk":"Authentication-related parameter — verify login flow hardening"},{"type":"parameter","name":"h-captcha","locations":{"POST":[{"file":"/plugins/dam-spam/tags/1.1.8/classes/challenge.php","line":148,"offset":6783,"snippet":"$_POST['h-captcha']"},{"file":"/plugins/dam-spam/tags/1.1.8/dam-spam.php","line":646,"offset":26881,"snippet":"$_POST['h-captcha']"}]},"risk":"Authentication-related parameter — verify login flow hardening"},{"type":"parameter","name":"h-captcha-response","locations":{"GET":[{"file":"/plugins/dam-spam/tags/1.1.8/classes/challenge.php","line":154,"offset":7245,"snippet":"$_REQUEST['h-captcha-response']"},{"file":"/plugins/dam-spam/tags/1.1.8/classes/challenge.php","line":154,"offset":7318,"snippet":"$_REQUEST['h-captcha-response']"}],"POST":[{"file":"/plugins/dam-spam/tags/1.1.8/classes/challenge.php","line":154,"offset":7245,"snippet":"$_REQUEST['h-captcha-response']"},{"file":"/plugins/dam-spam/tags/1.1.8/classes/challenge.php","line":154,"offset":7318,"snippet":"$_REQUEST['h-captcha-response']"},{"file":"/plugins/dam-spam/tags/1.1.8/dam-spam.php","line":657,"offset":27477,"snippet":"$_POST['h-captcha-response']"},{"file":"/plugins/dam-spam/tags/1.1.8/dam-spam.php","line":657,"offset":27547,"snippet":"$_POST['h-captcha-response']"}]},"risk":"Authentication-related parameter — verify login flow hardening"},{"type":"parameter","name":"login","locations":{"GET":[{"file":"/plugins/dam-spam/tags/1.1.8/dam-spam.php","line":156,"offset":8620,"snippet":"$_GET['login']"},{"file":"/plugins/dam-spam/tags/1.1.8/settings/advanced.php","line":1241,"offset":66778,"snippet":"$_REQUEST['login']"},{"file":"/plugins/dam-spam/tags/1.1.8/settings/advanced.php","line":1241,"offset":66834,"snippet":"$_REQUEST['login']"},{"file":"/plugins/dam-spam/tags/1.1.8/settings/advanced.php","line":1819,"offset":89731,"snippet":"$_GET['login']"}],"POST":[{"file":"/plugins/dam-spam/tags/1.1.8/settings/advanced.php","line":1241,"offset":66778,"snippet":"$_REQUEST['login']"},{"file":"/plugins/dam-spam/tags/1.1.8/settings/advanced.php","line":1241,"offset":66834,"snippet":"$_REQUEST['login']"}]},"risk":"Authentication-related parameter — verify login flow hardening"},{"type":"parameter","name":"f_lastlogin","locations":{"POST":[{"file":"/plugins/dam-spam/tags/1.1.8/includes/user-list-filter.php","line":189,"offset":6974,"snippet":"$_POST['f_lastlogin']"},{"file":"/plugins/dam-spam/tags/1.1.8/includes/user-list-filter.php","line":189,"offset":7008,"snippet":"$_POST['f_lastlogin']"}]},"risk":"Authentication-related parameter — verify login flow hardening"},{"type":"parameter","name":"dam_spam_login_setting_placeholder","locations":{"POST":[{"file":"/plugins/dam-spam/tags/1.1.8/settings/advanced.php","line":454,"offset":30358,"snippet":"$_POST['dam_spam_login_setting_placeholder']"},{"file":"/plugins/dam-spam/tags/1.1.8/settings/advanced.php","line":454,"offset":30437,"snippet":"$_POST['dam_spam_login_setting_placeholder']"},{"file":"/plugins/dam-spam/tags/1.1.8/settings/advanced.php","line":476,"offset":31356,"snippet":"$_POST['dam_spam_login_setting_placeholder']"},{"file":"/plugins/dam-spam/tags/1.1.8/settings/advanced.php","line":476,"offset":31435,"snippet":"$_POST['dam_spam_login_setting_placeholder']"},{"file":"/plugins/dam-spam/tags/1.1.8/settings/advanced.php","line":510,"offset":32706,"snippet":"$_POST['dam_spam_login_setting_placeholder']"},{"file":"/plugins/dam-spam/tags/1.1.8/settings/advanced.php","line":510,"offset":32785,"snippet":"$_POST['dam_spam_login_setting_placeholder']"}]},"risk":"Authentication-related parameter — verify login flow hardening"},{"type":"parameter","name":"dam_spam_login_setting","locations":{"POST":[{"file":"/plugins/dam-spam/tags/1.1.8/settings/advanced.php","line":463,"offset":30782,"snippet":"$_POST['dam_spam_login_setting']"},{"file":"/plugins/dam-spam/tags/1.1.8/settings/advanced.php","line":463,"offset":30853,"snippet":"$_POST['dam_spam_login_setting']"}]},"risk":"Authentication-related parameter — verify login flow hardening"},{"type":"parameter","name":"dam_spam_login_attempts","locations":{"POST":[{"file":"/plugins/dam-spam/tags/1.1.8/settings/advanced.php","line":485,"offset":31780,"snippet":"$_POST['dam_spam_login_attempts']"},{"file":"/plugins/dam-spam/tags/1.1.8/settings/advanced.php","line":485,"offset":31852,"snippet":"$_POST['dam_spam_login_attempts']"}]},"risk":"Authentication-related parameter — verify login flow hardening"},{"type":"parameter","name":"dam_spam_login_attempts_threshold","locations":{"POST":[{"file":"/plugins/dam-spam/tags/1.1.8/settings/advanced.php","line":490,"offset":32035,"snippet":"$_POST['dam_spam_login_attempts_threshold']"},{"file":"/plugins/dam-spam/tags/1.1.8/settings/advanced.php","line":491,"offset":32108,"snippet":"$_POST['dam_spam_login_attempts_threshold']"}]},"risk":"Authentication-related parameter — verify login flow hardening"},{"type":"parameter","name":"dam_spam_login_attempts_duration","locations":{"POST":[{"file":"/plugins/dam-spam/tags/1.1.8/settings/advanced.php","line":497,"offset":32290,"snippet":"$_POST['dam_spam_login_attempts_duration']"},{"file":"/plugins/dam-spam/tags/1.1.8/settings/advanced.php","line":498,"offset":32361,"snippet":"$_POST['dam_spam_login_attempts_duration']"}]},"risk":"Authentication-related parameter — verify login flow hardening"},{"type":"parameter","name":"dam_spam_login_type_field","locations":{"POST":[{"file":"/plugins/dam-spam/tags/1.1.8/settings/advanced.php","line":562,"offset":35007,"snippet":"$_POST['dam_spam_login_type_field']"},{"file":"/plugins/dam-spam/tags/1.1.8/settings/advanced.php","line":562,"offset":35074,"snippet":"$_POST['dam_spam_login_type_field']"}]},"risk":"Authentication-related parameter — verify login flow hardening"},{"type":"parameter","name":"dam_spam_login_type","locations":{"POST":[{"file":"/plugins/dam-spam/tags/1.1.8/settings/advanced.php","line":571,"offset":35410,"snippet":"$_POST['dam_spam_login_type']"},{"file":"/plugins/dam-spam/tags/1.1.8/settings/advanced.php","line":572,"offset":35495,"snippet":"$_POST['dam_spam_login_type']"}]},"risk":"Authentication-related parameter — verify login flow hardening"},{"type":"parameter","name":"interim-login","locations":{"GET":[{"file":"/plugins/dam-spam/tags/1.1.8/settings/advanced.php","line":1107,"offset":60336,"snippet":"$_REQUEST['interim-login']"}],"POST":[{"file":"/plugins/dam-spam/tags/1.1.8/settings/advanced.php","line":1107,"offset":60336,"snippet":"$_REQUEST['interim-login']"}]},"risk":"Authentication-related parameter — verify login flow hardening"},{"type":"parameter","name":"user_login","locations":{"POST":[{"file":"/plugins/dam-spam/tags/1.1.8/settings/advanced.php","line":1152,"offset":62282,"snippet":"$_POST['user_login']"},{"file":"/plugins/dam-spam/tags/1.1.8/settings/advanced.php","line":1152,"offset":62334,"snippet":"$_POST['user_login']"},{"file":"/plugins/dam-spam/tags/1.1.8/settings/advanced.php","line":1191,"offset":63811,"snippet":"$_POST['user_login']"},{"file":"/plugins/dam-spam/tags/1.1.8/settings/advanced.php","line":1193,"offset":63964,"snippet":"$_POST['user_login']"},{"file":"/plugins/dam-spam/tags/1.1.8/settings/advanced.php","line":1193,"offset":64031,"snippet":"$_POST['user_login']"},{"file":"/plugins/dam-spam/tags/1.1.8/settings/advanced.php","line":1194,"offset":64138,"snippet":"$_POST['user_login']"},{"file":"/plugins/dam-spam/tags/1.1.8/settings/advanced.php","line":1199,"offset":64388,"snippet":"$_POST['user_login']"},{"file":"/plugins/dam-spam/tags/1.1.8/templates/forgot.php","line":36,"offset":1917,"snippet":"$_POST['user_login']"},{"file":"/plugins/dam-spam/tags/1.1.8/templates/forgot.php","line":36,"offset":1985,"snippet":"$_POST['user_login']"},{"file":"/plugins/dam-spam/tags/1.1.8/templates/register.php","line":13,"offset":621,"snippet":"$_POST['user_login']"},{"file":"/plugins/dam-spam/tags/1.1.8/templates/register.php","line":13,"offset":689,"snippet":"$_POST['user_login']"}]},"risk":"Authentication-related parameter — verify login flow hardening"},{"type":"parameter","name":"check_captcha","locations":{"POST":[{"file":"/plugins/dam-spam/tags/1.1.8/settings/challenges.php","line":51,"offset":2002,"snippet":"$_POST['check_captcha']"},{"file":"/plugins/dam-spam/tags/1.1.8/settings/challenges.php","line":51,"offset":2069,"snippet":"$_POST['check_captcha']"}]},"risk":"Authentication-related parameter — verify login flow hardening"},{"type":"parameter","name":"form_captcha_login","locations":{"POST":[{"file":"/plugins/dam-spam/tags/1.1.8/settings/challenges.php","line":55,"offset":2353,"snippet":"$_POST['form_captcha_login']"},{"file":"/plugins/dam-spam/tags/1.1.8/settings/challenges.php","line":55,"offset":2425,"snippet":"$_POST['form_captcha_login']"}]},"risk":"Authentication-related parameter — verify login flow hardening"},{"type":"parameter","name":"form_captcha_registration","locations":{"POST":[{"file":"/plugins/dam-spam/tags/1.1.8/settings/challenges.php","line":61,"offset":2783,"snippet":"$_POST['form_captcha_registration']"},{"file":"/plugins/dam-spam/tags/1.1.8/settings/challenges.php","line":61,"offset":2862,"snippet":"$_POST['form_captcha_registration']"}]},"risk":"Authentication-related parameter — verify login flow hardening"},{"type":"parameter","name":"form_captcha_comment","locations":{"POST":[{"file":"/plugins/dam-spam/tags/1.1.8/settings/challenges.php","line":67,"offset":3236,"snippet":"$_POST['form_captcha_comment']"},{"file":"/plugins/dam-spam/tags/1.1.8/settings/challenges.php","line":67,"offset":3310,"snippet":"$_POST['form_captcha_comment']"}]},"risk":"Authentication-related parameter — verify login flow hardening"},{"type":"parameter","name":"recaptchaapisecret","locations":{"POST":[{"file":"/plugins/dam-spam/tags/1.1.8/settings/challenges.php","line":81,"offset":4066,"snippet":"$_POST['recaptchaapisecret']"},{"file":"/plugins/dam-spam/tags/1.1.8/settings/challenges.php","line":81,"offset":4132,"snippet":"$_POST['recaptchaapisecret']"}]},"risk":"Authentication-related parameter — verify login flow hardening"},{"type":"parameter","name":"recaptchaapisite","locations":{"POST":[{"file":"/plugins/dam-spam/tags/1.1.8/settings/challenges.php","line":85,"offset":4320,"snippet":"$_POST['recaptchaapisite']"},{"file":"/plugins/dam-spam/tags/1.1.8/settings/challenges.php","line":85,"offset":4384,"snippet":"$_POST['recaptchaapisite']"}]},"risk":"Authentication-related parameter — verify login flow hardening"},{"type":"parameter","name":"hcaptchaapisecret","locations":{"POST":[{"file":"/plugins/dam-spam/tags/1.1.8/settings/challenges.php","line":89,"offset":4568,"snippet":"$_POST['hcaptchaapisecret']"},{"file":"/plugins/dam-spam/tags/1.1.8/settings/challenges.php","line":89,"offset":4633,"snippet":"$_POST['hcaptchaapisecret']"}]},"risk":"Authentication-related parameter — verify login flow hardening"},{"type":"parameter","name":"hcaptchaapisite","locations":{"POST":[{"file":"/plugins/dam-spam/tags/1.1.8/settings/challenges.php","line":93,"offset":4816,"snippet":"$_POST['hcaptchaapisite']"},{"file":"/plugins/dam-spam/tags/1.1.8/settings/challenges.php","line":93,"offset":4879,"snippet":"$_POST['hcaptchaapisite']"}]},"risk":"Authentication-related parameter — verify login flow hardening"},{"type":"auth_hook","name":"authenticate","risk":"Hooks the 'authenticate' authentication/identity flow — verify it cannot be abused to bypass authentication"},{"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"},{"type":"auth_hook","name":"wp","risk":"Hooks the 'login_redirect' authentication/identity flow — verify it cannot be abused to bypass authentication"}]}}