{"summary":{"plugin_name":"contact-form-7-honeypot","display_name":"CF7 Apps – Addons for Contact Form 7 (Honeypot, Database, Redirection, Webhook, etc.)","version":"3.9.0","risk_level":"low","risk_score":22.0,"risk_factors":{"static_analysis":5,"owasp":5,"attack_surface":10,"rest_routes":7,"installs_modifier":-5},"last_analyzed":"2026-11-23T14:37:47.761464","removed_from_directory":false,"closed_reason":null,"closed_date":null,"commercial":false,"free_counterpart":null,"active_installs":300000,"rating":76,"num_ratings":135,"tested":"7.1.5","requires":"6.7","requires_php":"7.4","author":"Saad Iqbal","short_description":"Add hCaptcha, Honeypot, Redirection, and AI-powered form generation to Contact Form 7.","tags":["anti-spam","captcha","CF7 Database","honeypot","spam protection"],"added":"2011-06-28","last_updated":"2026-10-29 11:14am GMT","metadata_fetched_at":"2026-11-23T06:32:11.737713+00:00","modules_missing":[],"modules_failed":[],"latest_release":"3.9.0"},"security_metrics":{"total_issues":3,"parameters_found":35,"unknown_parameters":2,"headers_accessed":8,"cookies_accessed":1,"wp_hooks":2,"rest_routes":16,"query_vars":0,"shortcode_atts":0,"rest_routes_with_access_patterns":3,"file_upload_parameters":0,"owasp_findings":{"A01":1,"A03":3,"A04":1,"A05":2,"A07":2,"A08":1},"attack_surface_level":"large","attack_surface_score":69,"tainted_sinks":21,"tainted_sql":1,"tainted_ssrf":0,"tainted_file_ops":0,"auth_bypass_sinks":0,"dangerous_patterns":2},"comparison":{"percentile":71.7,"rank":142891,"peer_count":504269,"better_than":71.7,"risk_distribution":{"low":103004,"high":178400,"medium":121926,"critical":38994,"minimal":61945}},"executive_summary":null,"vulnerabilities":[],"recommendations":[{"category":"A03","name":"Injection","severity":"high","findings_count":3,"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":["Reachable 'sql' sink x1 - 1 attacker-reachable 'sql' sink(s) found by the reachability analyzer","Reachable 'file_include' sink x18 - 18 attacker-reachable 'file_include' sink(s) found by the reachability analyzer","Pattern 'sqli_interpolated' x1 - Interpolated variable in SQL query string (1 occurrence(s))"]},{"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":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":["Parameter 'h-captcha-response' - Authentication-related parameter — verify login flow hardening","Auth hook 'template_redirect' - Hooks the 'register_form' authentication/identity flow — verify it cannot be abused to bypass authentication"]},{"category":"A08","name":"Software and Data Integrity Failures","severity":"medium","findings_count":1,"description":"Code and infrastructure that does not protect against integrity violations — notably insecure deserialization of attacker-controlled data","recommendations":["Never call unserialize() on attacker-controlled data — use json_decode() instead","If deserialization is unavoidable, pass ['allowed_classes' => false]","Verify integrity (signatures/checksums) of updates and imported data"],"findings_summary":["Reachable 'unserialize' sink x1 - 1 attacker-reachable 'unserialize' sink(s) found by the reachability analyzer"]},{"category":"A04","name":"Insecure Design","severity":"low","findings_count":1,"description":"Missing or ineffective control design — e.g. plugin files that perform work when requested directly, bypassing the WordPress bootstrap","recommendations":["Add a `defined('ABSPATH') || exit;` guard to every PHP file so it cannot be requested directly","Move logic out of directly-reachable files into hook callbacks loaded by WordPress","Threat-model unauthenticated entry points during design, not after release"],"findings_summary":["Direct file access: 6 plugin file(s) reachable by direct HTTP request, bypassing the WordPress bootstrap — insecure design"]},{"category":"A05","name":"Security Misconfiguration","severity":"low","findings_count":2,"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 freemius/config.php:328 - error_reporting( E_ALL );","Misconfiguration in freemius/includes/class-freemius.php:4289 - phpinfo();"]}],"owasp_findings":{"A01":[{"type":"pattern_match","pattern":"nopriv_no_nonce","count":1,"severity":"high","examples":["includes/apps/cf7-redirection/cf7-redirection.php:343"],"risk":"Nopriv AJAX handler without nonce verification (1 occurrence(s))"}],"A03":[{"type":"reachability_sink","sink":"sql","count":1,"risk":"1 attacker-reachable 'sql' sink(s) found by the reachability analyzer"},{"type":"reachability_sink","sink":"file_include","count":18,"risk":"18 attacker-reachable 'file_include' sink(s) found by the reachability analyzer"},{"type":"pattern_match","pattern":"sqli_interpolated","count":1,"severity":"critical","examples":["freemius/includes/class-fs-logger.php:339"],"risk":"Interpolated variable in SQL query string (1 occurrence(s))"}],"A04":[{"type":"direct_file_access","count":6,"risk":"6 plugin file(s) reachable by direct HTTP request, bypassing the WordPress bootstrap — insecure design"}],"A05":[{"type":"misconfiguration","file":"freemius/config.php","line":"328","match":"error_reporting( E_ALL );","risk":"Security-misconfiguration token in shipped plugin code (error display / debug / info disclosure)"},{"type":"misconfiguration","file":"freemius/includes/class-freemius.php","line":"4289","match":"phpinfo();","risk":"Security-misconfiguration token in shipped plugin code (error display / debug / info disclosure)"}],"A07":[{"type":"parameter","name":"h-captcha-response","locations":{"POST":[{"file":"/plugins/contact-form-7-honeypot/tags/3.9.0/includes/apps/hcaptcha/hcaptcha.php","line":333,"offset":15369,"snippet":"$_POST['h-captcha-response']"},{"file":"/plugins/contact-form-7-honeypot/tags/3.9.0/includes/apps/hcaptcha/hcaptcha.php","line":333,"offset":15402,"snippet":"$_POST['h-captcha-response']"}]},"risk":"Authentication-related parameter — verify login flow hardening"},{"type":"auth_hook","name":"template_redirect","risk":"Hooks the 'register_form' authentication/identity flow — verify it cannot be abused to bypass authentication"}],"A08":[{"type":"reachability_sink","sink":"unserialize","count":1,"risk":"1 attacker-reachable 'unserialize' sink(s) found by the reachability analyzer"}]}}