Hatton National Bank Payment Gateway for WooCommerce Security & Risk Analysis

wordpress.org/plugins/woo-hnb

Hatton National Bank Payment Gateway for WooCommerce plugin is a free and open source plugin to integrate Hatton National Bank Internet Payment Gatewa …

10 active installs v1.1.1 PHP 7.1+ WP 4.9+ Updated Unknown
paymentpayment-gatewaysri-lankawoo-commercewoocommerce
100
A · Safe
CVEs total0
Unpatched0
Last CVENever
Safety Verdict

Is Hatton National Bank Payment Gateway for WooCommerce Safe to Use in 2026?

Generally Safe

Score 100/100

Hatton National Bank Payment Gateway for WooCommerce has no known CVEs and is actively maintained. It's a solid choice for most WordPress installations.

No known CVEs
Risk Assessment

The plugin "woo-hnb" v1.1.1 exhibits a very strong security posture based on the provided static analysis. The complete absence of any identified entry points like AJAX handlers, REST API routes, shortcodes, or cron events significantly limits its attack surface. Furthermore, the code demonstrates excellent secure coding practices, with no dangerous functions, all SQL queries using prepared statements, and a high percentage of properly escaped output. The lack of file operations and external HTTP requests also reduces potential vulnerabilities.

The taint analysis shows no identified flows, indicating no apparent pathways for untrusted data to reach sensitive operations. The vulnerability history is also clean, with no known CVEs, which is a positive indicator. However, the absence of any nonce checks or capability checks across the analyzed code is a notable concern. While the current attack surface is zero, if any new entry points were to be introduced without proper authentication and authorization, this could lead to significant security risks.

In conclusion, "woo-hnb" v1.1.1 is exceptionally well-secured with no apparent vulnerabilities in its current state. The developers have implemented strong coding practices. The primary area for improvement and potential future risk lies in the complete absence of any authorization mechanisms. If the plugin evolves and introduces new functionalities, ensuring proper nonces and capability checks will be paramount to maintaining its secure standing.

Key Concerns

  • Missing nonce checks
  • Missing capability checks
Vulnerabilities
None known

Hatton National Bank Payment Gateway for WooCommerce Security Vulnerabilities

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

Hatton National Bank Payment Gateway for WooCommerce Code Analysis

Dangerous Functions
0
Raw SQL Queries
0
0 prepared
Unescaped Output
4
21 escaped
Nonce Checks
0
Capability Checks
0
File Operations
0
External Requests
0
Bundled Libraries
0

Output Escaping

84% escaped25 total outputs
Attack Surface

Hatton National Bank Payment Gateway for WooCommerce Attack Surface

Entry Points0
Unprotected0
WordPress Hooks 3
filterplugin_action_links_woo-hnb/woo-hnb.phpwoo-hnb.php:23
filterwoocommerce_payment_gatewayswoo-hnb.php:24
actionwoocommerce_api_ayeshwoocommercehnbgatewaywc_hnb_gatewaywoo-hnb.php:25
Maintenance & Trust

Hatton National Bank Payment Gateway for WooCommerce Maintenance & Trust

Maintenance Signals

WordPress version tested6.8.5
Last updatedUnknown
PHP min version7.1
Downloads3K

Community Trust

Rating100/100
Number of ratings1
Active installs10
Developer Profile

Hatton National Bank Payment Gateway for WooCommerce Developer Profile

Ayesh Karunaratne

7 plugins · 8K total installs

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

How We Detect Hatton National Bank Payment Gateway for WooCommerce

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

Asset Fingerprints

Asset Paths
/wp-content/plugins/woo-hnb/assets/css/gateway.css/wp-content/plugins/woo-hnb/assets/js/gateway.js
Script Paths
/wp-content/plugins/woo-hnb/assets/js/gateway.js
Version Parameters
woo-hnb/assets/css/gateway.css?ver=woo-hnb/assets/js/gateway.js?ver=

HTML / DOM Fingerprints

REST Endpoints
/wp-json/ayeshwoocommercehnbgateway/wc_hnb_gateway
FAQ

Frequently Asked Questions about Hatton National Bank Payment Gateway for WooCommerce