Captain Hooks Security & Risk Analysis

wordpress.org/plugins/captain-hooks

Captain Hooks is a WordPress plugin that provides developers with a comprehensive view of all actions, filters, and shortcodes of their environment.

10 active installs v1.0.2 PHP 7.2+ WP 5.7+ Updated Mar 10, 2025
actionsadminfiltershooksshortcodes
92
A · Safe
CVEs total0
Unpatched0
Last CVENever
Safety Verdict

Is Captain Hooks Safe to Use in 2026?

Generally Safe

Score 92/100

Captain Hooks has no known CVEs and is actively maintained. It's a solid choice for most WordPress installations.

No known CVEs Updated 1yr ago
Risk Assessment

The "captain-hooks" v1.0.2 plugin exhibits a strong security posture based on the provided static analysis and vulnerability history. The plugin effectively utilizes prepared statements for all SQL queries and ensures proper output escaping for all identified outputs, mitigating common risks like SQL injection and cross-site scripting. Furthermore, all REST API routes have permission callbacks, and there are no unauthenticated AJAX handlers, significantly reducing the potential attack surface. The absence of any recorded vulnerabilities, including critical or high-severity ones, further reinforces its good security standing.

While the plugin demonstrates excellent security practices in key areas, a notable concern is the complete absence of nonce checks. Nonces are crucial for verifying the intent of requests and preventing CSRF attacks. The plugin also has two file operations, and while their context isn't detailed, any file operations without proper sanitization or validation could potentially introduce risks. The limited number of REST API routes and absence of AJAX handlers might also suggest a smaller feature set, which could inherently limit the attack surface. Overall, "captain-hooks" appears to be a well-secured plugin, with the primary area for improvement being the implementation of nonce checks.

Key Concerns

  • Missing nonce checks
Vulnerabilities
None known

Captain Hooks Security Vulnerabilities

No known vulnerabilities — this is a good sign.
Code Analysis
Analyzed Mar 17, 2026

Captain Hooks Code Analysis

Dangerous Functions
0
Raw SQL Queries
0
16 prepared
Unescaped Output
0
12 escaped
Nonce Checks
0
Capability Checks
5
File Operations
2
External Requests
0
Bundled Libraries
0

SQL Query Safety

100% prepared16 total queries

Output Escaping

100% escaped12 total outputs
Attack Surface

Captain Hooks Attack Surface

Entry Points5
Unprotected0

REST API Routes 5

POST/wp-json/captainhooks/v1/hooksincludes\Captainhooks.php:101
POST/wp-json/captainhooks/v1/refreshincludes\Captainhooks.php:113
POST/wp-json/captainhooks/v1/previewincludes\Captainhooks.php:125
POST/wp-json/captainhooks/v1/livemodeincludes\Captainhooks.php:137
POST/wp-json/captainhooks/v1/livemode/logsincludes\Captainhooks.php:149
WordPress Hooks 5
actioninitincludes\Captainhooks.php:33
filterscript_loader_tagincludes\Captainhooks.php:47
actionrest_api_initincludes\Captainhooks.php:50
actionadmin_menuincludes\Captainhooks.php:53
actionadmin_initincludes\Captainhooks.php:54
Maintenance & Trust

Captain Hooks Maintenance & Trust

Maintenance Signals

WordPress version tested6.7.5
Last updatedMar 10, 2025
PHP min version7.2
Downloads1K

Community Trust

Rating0/100
Number of ratings0
Active installs10
Developer Profile

Captain Hooks Developer Profile

David Beja

3 plugins · 30 total installs

88
trust score
Avg Security Score
92/100
Avg Patch Time
30 days
View full developer profile
Detection Fingerprints

How We Detect Captain Hooks

Patterns used to identify this plugin on WordPress sites during automated security audits and web crawling.

Asset Fingerprints

Asset Paths
/wp-content/plugins/captain-hooks/dist/captainhooks.js
Script Paths
/wp-content/plugins/captain-hooks/dist/captainhooks.js
Version Parameters
captainhooks.js?ver=

HTML / DOM Fingerprints

JS Globals
captainHooksData
REST Endpoints
/wp-json/captainhooks/v1/hooks/wp-json/captainhooks/v1/refresh/wp-json/captainhooks/v1/preview/wp-json/captainhooks/v1/livemode/wp-json/captainhooks/v1/livemode/logs
FAQ

Frequently Asked Questions about Captain Hooks