
Peter’s Custom Anti-Spam Security & Risk Analysis
wordpress.org/plugins/peters-custom-anti-spam-imageStop a lot of spambots from polluting your site by making visitors identify a custom word displayed as an image before commenting.
Is Peter’s Custom Anti-Spam Safe to Use in 2026?
Generally Safe
Score 91/100Peter’s Custom Anti-Spam has a strong security track record. Known vulnerabilities have been patched promptly.
The plugin "peters-custom-anti-spam-image" v3.2.4 exhibits a mixed security posture. While the attack surface is currently zero, indicating no direct entry points for attackers via AJAX, REST API, shortcodes, or cron jobs, there are significant concerns within the code itself. The presence of dangerous functions like `exec` and `create_function` is a major red flag, as these can be exploited for remote code execution if not handled with extreme care. Furthermore, a concerning 82% of SQL queries are not using prepared statements, which opens the door to SQL injection vulnerabilities. The low percentage of properly escaped output (25%) also suggests a high risk of Cross-Site Scripting (XSS) vulnerabilities, allowing attackers to inject malicious scripts into the website.
Taint analysis reveals one high-severity flow with unsanitized paths, indicating a potential for attackers to manipulate file operations or data inputs in a way that could lead to security breaches. This, combined with the historical vulnerability data showing two medium-severity CVEs in the past, including Cross-Site Request Forgery and XSS, suggests a recurring pattern of input sanitization and output escaping issues. Although there are no currently unpatched CVEs, the plugin's history of vulnerabilities, coupled with the current static analysis findings, points to a plugin that has not consistently adhered to secure coding practices, despite having a small attack surface. The lack of capability checks is also a concern, as it implies that sensitive operations might not be adequately protected against unauthorized access.
Key Concerns
- Presence of dangerous functions (exec, create_function)
- High percentage of SQL queries without prepared statements
- Low percentage of properly escaped output
- Taint flow with unsanitized paths (high severity)
- History of 2 medium severity CVEs
- Lack of capability checks
Peter’s Custom Anti-Spam Security Vulnerabilities
CVEs by Year
Severity Breakdown
2 total CVEs
Peter’s Custom Anti-Spam <= 3.2.3 - Cross-Site Request Forgery via cas_register_post Function
Peter’s Custom Anti-Spam <= 3.2.2 - Reflected Cross-Site Scripting
Peter’s Custom Anti-Spam Code Analysis
Dangerous Functions Found
SQL Query Safety
Output Escaping
Data Flow Analysis
Peter’s Custom Anti-Spam Attack Surface
WordPress Hooks 9
Maintenance & Trust
Peter’s Custom Anti-Spam Maintenance & Trust
Maintenance Signals
Community Trust
Peter’s Custom Anti-Spam Alternatives
Akismet Anti-spam: Spam Protection
akismet
The best anti-spam protection to block spam comments and spam in a contact form. The most trusted antispam solution for WordPress and WooCommerce.
Antispam Bee
antispam-bee
Sophisticated antispam plugin for effective daily comment and trackback spam-fighting. Built with data protection and privacy in mind.
CF7 Apps – Honeypot, Database, Redirection, Webhook, and Addons for Contact Form 7
contact-form-7-honeypot
Addons for Contact Form 7 — Honeypot, Database Entries, Redirection, Spam Protection, Webhooks, ACF integration for Contact Form 7, and more.
Spam protection, Honeypot, Anti-Spam by CleanTalk
cleantalk-spam-protect
Blocks spam comments, fake users, contact form spam and more. No impact on SEO. Privacy focused. CAPTCHA free, premium Antispam plugin.
Captcha Code
captcha-code-authentication
GDPR compatible captcha anti-spam protection for login form, comments form, registration form & lost password form. Eliminate spam with captcha.
Peter’s Custom Anti-Spam Developer Profile
5 plugins · 4K total installs
How We Detect Peter’s Custom Anti-Spam
Patterns used to identify this plugin on WordPress sites during automated security audits and web crawling.
Asset Fingerprints
/wp-content/plugins/peters-custom-anti-spam-image/css/custom_anti_spam.css/wp-content/plugins/peters-custom-anti-spam-image/js/custom_anti_spam.js/wp-content/plugins/peters-custom-anti-spam-image/js/custom_anti_spam.jspeters-custom-anti-spam-image/custom_anti_spam.css?ver=peters-custom-anti-spam-image/custom_anti_spam.js?ver=HTML / DOM Fingerprints
data-cas-imagecas_pluginpathcas_textcas_textcountcas_audioselectcas_antispampetersword+20 more