Bani Payments for WooCommerce Security & Risk Analysis

wordpress.org/plugins/bani-payments-for-woocommerce

Bani for WooCommerce allows merchants seamlessly accept cardless payments from their customers whether that be mobile money payments across Sub-Sahara …

10 active installs v1.0.9 PHP 5.6+ WP 4.7+ Updated Oct 22, 2025
banicryptomobile-money-paymentspayment-gatewaywoocommerce
100
A · Safe
CVEs total0
Unpatched0
Last CVENever
Safety Verdict

Is Bani Payments for WooCommerce Safe to Use in 2026?

Generally Safe

Score 100/100

Bani Payments for WooCommerce has no known CVEs and is actively maintained. It's a solid choice for most WordPress installations.

No known CVEs Updated 5mo ago
Risk Assessment

The "bani-payments-for-woocommerce" plugin exhibits a mixed security posture. On the positive side, it shows a strong commitment to secure coding practices by exclusively using prepared statements for SQL queries and demonstrating a high percentage of properly escaped output. The absence of any recorded vulnerabilities or CVEs is also a significant strength, suggesting a history of stable and secure development.

However, the plugin presents a notable security concern due to its attack surface. With four AJAX handlers identified, all of which lack authentication checks, these entry points are exposed and could be exploited by unauthenticated users. While taint analysis and code signals like dangerous functions are clear, the lack of capability checks on these AJAX handlers means any user, regardless of their role or permissions, could potentially interact with and trigger these functions. This significantly increases the risk profile despite the otherwise good coding practices.

In conclusion, while the plugin's SQL handling and output escaping are commendable, the lack of authentication on all identified AJAX endpoints represents a critical security weakness. This needs immediate attention to prevent potential unauthorized actions or information disclosure. The vulnerability history, though clean, does not mitigate the present risks associated with the exposed AJAX handlers.

Key Concerns

  • AJAX handlers without authentication checks
  • Total entry points unprotected
  • Capability checks missing on AJAX
Vulnerabilities
None known

Bani Payments for WooCommerce Security Vulnerabilities

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

Bani Payments for WooCommerce Code Analysis

Dangerous Functions
0
Raw SQL Queries
0
0 prepared
Unescaped Output
6
33 escaped
Nonce Checks
0
Capability Checks
1
File Operations
1
External Requests
2
Bundled Libraries
0

Output Escaping

85% escaped39 total outputs
Attack Surface
4 unprotected

Bani Payments for WooCommerce Attack Surface

Entry Points4
Unprotected4

AJAX Handlers 4

authwp_ajax_bani_report_security_violationincludes\class-wc-payment-gateway-bani.php:135
noprivwp_ajax_bani_report_security_violationincludes\class-wc-payment-gateway-bani.php:136
authwp_ajax_bani_report_amount_tamperingincludes\class-wc-payment-gateway-bani.php:138
noprivwp_ajax_bani_report_amount_tamperingincludes\class-wc-payment-gateway-bani.php:139
WordPress Hooks 10
actionwp_enqueue_scriptsincludes\class-wc-payment-gateway-bani.php:127
actionadmin_enqueue_scriptsincludes\class-wc-payment-gateway-bani.php:128
actionadmin_noticesincludes\class-wc-payment-gateway-bani.php:129
actionwoocommerce_api_wc_gateway_baniincludes\class-wc-payment-gateway-bani.php:133
actionbefore_woocommerce_initwoo-bani.php:35
actionadmin_noticeswoo-bani.php:53
actionadmin_noticeswoo-bani.php:56
actionwoocommerce_blocks_payment_method_type_registrationwoo-bani.php:63
filterwoocommerce_payment_gatewayswoo-bani.php:72
actionplugins_loadedwoo-bani.php:75
Maintenance & Trust

Bani Payments for WooCommerce Maintenance & Trust

Maintenance Signals

WordPress version tested6.7.5
Last updatedOct 22, 2025
PHP min version5.6
Downloads1K

Community Trust

Rating0/100
Number of ratings0
Active installs10
Developer Profile

Bani Payments for WooCommerce Developer Profile

baniinc

1 plugin · 10 total installs

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

How We Detect Bani Payments 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/bani-payments-for-woocommerce/assets/js/bani-checkout.js/wp-content/plugins/bani-payments-for-woocommerce/assets/css/bani-checkout.css
Script Paths
https://checkout.bani.africa/v1/widget.js
Version Parameters
bani-payments-for-woocommerce/assets/js/bani-checkout.js?ver=bani-payments-for-woocommerce/assets/css/bani-checkout.css?ver=

HTML / DOM Fingerprints

CSS Classes
bani-payment-method
Data Attributes
data-bani-public-keydata-bani-env
JS Globals
WC_Bani_Params
REST Endpoints
/wp-json/wc/v3/bani/orders/
FAQ

Frequently Asked Questions about Bani Payments for WooCommerce