DeftCoders – Discount & Fee Rules for WooCommerce Security & Risk Analysis

wordpress.org/plugins/deftcoders-dynamic-pricing-conditional-fees

Automatically add fees and apply discounts in WooCommerce based on cart, payment method, user role, date, time, and location. No coupon codes needed.

0 active installs v1.0.0 PHP 7.4+ WP 5.8+ Updated Mar 15, 2026
bulk-discountdiscountdynamic-pricingfeeswoocommerce
100
A · Safe
CVEs total0
Unpatched0
Last CVENever
Safety Verdict

Is DeftCoders – Discount & Fee Rules for WooCommerce Safe to Use in 2026?

Generally Safe

Score 100/100

DeftCoders – Discount & Fee Rules for WooCommerce has no known CVEs and is actively maintained. It's a solid choice for most WordPress installations.

No known CVEs Updated 2mo ago
Risk Assessment

The "deftcoders-dynamic-pricing-conditional-fees" plugin v1.0.0 exhibits a mixed security posture. On the positive side, the plugin demonstrates good practices regarding SQL query preparation and output escaping, with 88% of SQL queries using prepared statements and 97% of outputs properly escaped. The absence of known CVEs and a clean vulnerability history are also positive indicators. However, a significant concern lies within its attack surface. With 11 AJAX handlers, 9 of which lack authentication checks, there is a substantial risk of unauthorized actions being performed. The taint analysis reveals 2 flows with unsanitized paths, although these are not categorized as critical or high severity, they still warrant attention as potential vectors for unexpected behavior or information disclosure.

The plugin's strengths are its adherence to secure coding practices for common web vulnerabilities like SQL injection and cross-site scripting (XSS) through prepared statements and output escaping. The lack of historical vulnerabilities suggests a generally stable codebase. Conversely, the primary weakness is the exposed AJAX endpoints, creating a broad attack surface that could be exploited if not properly secured at the application level by developers or end-users. The identified unsanitized paths, while not currently rated as high risk, indicate potential areas for further code review to ensure robustness against future vulnerabilities.

In conclusion, while the plugin is built on a foundation of secure coding principles for critical areas like database interaction and output handling, the significant number of unprotected AJAX endpoints presents a clear and present risk. The taint analysis, though not critical, highlights areas that could be improved. The absence of past vulnerabilities is encouraging, but the current attack surface requires immediate attention and mitigation strategies to ensure the security of WordPress sites using this plugin.

Key Concerns

  • 9 unprotected AJAX handlers
  • 2 flows with unsanitized paths
Vulnerabilities
None known

DeftCoders – Discount & Fee Rules for WooCommerce Security Vulnerabilities

No known vulnerabilities — this is a good sign.
Version History

DeftCoders – Discount & Fee Rules for WooCommerce Release Timeline

v1.0.0Current
Code Analysis
Analyzed Mar 17, 2026

DeftCoders – Discount & Fee Rules for WooCommerce Code Analysis

Dangerous Functions
0
Raw SQL Queries
2
15 prepared
Unescaped Output
8
250 escaped
Nonce Checks
5
Capability Checks
11
File Operations
6
External Requests
0
Bundled Libraries
1

Bundled Libraries

Select2

SQL Query Safety

88% prepared17 total queries

Output Escaping

97% escaped258 total outputs
Data Flows · Security
2 unsanitized

Data Flow Analysis

5 flows2 with unsanitized paths
handle_bulk_actions (admin\class-wcdpdr-admin-rules.php:51)
Source (user input) Sink (dangerous op) Sanitizer Transform Unsanitized Sanitized
Attack Surface
9 unprotected

DeftCoders – Discount & Fee Rules for WooCommerce Attack Surface

Entry Points11
Unprotected9

AJAX Handlers 11

authwp_ajax_wcdpdr_save_ruleincludes\class-wcdpdr-ajax.php:42
authwp_ajax_wcdpdr_delete_ruleincludes\class-wcdpdr-ajax.php:43
authwp_ajax_wcdpdr_toggle_rule_statusincludes\class-wcdpdr-ajax.php:44
authwp_ajax_wcdpdr_get_ruleincludes\class-wcdpdr-ajax.php:45
authwp_ajax_wcdpdr_import_rulesincludes\class-wcdpdr-ajax.php:46
authwp_ajax_wcdpdr_export_rulesincludes\class-wcdpdr-ajax.php:47
authwp_ajax_wcdpdr_get_logsincludes\class-wcdpdr-ajax.php:48
authwp_ajax_wcdpdr_clear_logsincludes\class-wcdpdr-ajax.php:49
authwp_ajax_wcdpdr_update_rule_priorityincludes\class-wcdpdr-ajax.php:50
authwp_ajax_wcdpdr_simulate_rulesincludes\class-wcdpdr-ajax.php:51
authwp_ajax_wcdpdr_preview_ruleincludes\class-wcdpdr-ajax.php:54
WordPress Hooks 21
actionadmin_menuadmin\class-wcdpdr-admin-menu.php:43
actionadmin_post_wcdpdr_save_settingsadmin\class-wcdpdr-admin-menu.php:44
actionadmin_initadmin\class-wcdpdr-admin-rules.php:43
actionadmin_enqueue_scriptsadmin\class-wcdpdr-admin.php:47
actionwoocommerce_order_status_completedadmin\class-wcdpdr-review-analytics.php:43
actionwoocommerce_order_status_processingadmin\class-wcdpdr-review-analytics.php:44
actionadmin_noticesdeftcoders-dynamic-pricing-conditional-fees.php:31
actionplugins_loadeddeftcoders-dynamic-pricing-conditional-fees.php:91
actionplugins_loadeddeftcoders-dynamic-pricing-conditional-fees.php:92
actionplugins_loadeddeftcoders-dynamic-pricing-conditional-fees.php:93
actionadmin_noticesdeftcoders-dynamic-pricing-conditional-fees.php:96
actionadmin_noticesdeftcoders-dynamic-pricing-conditional-fees.php:112
actionbefore_woocommerce_initdeftcoders-dynamic-pricing-conditional-fees.php:183
actionwoocommerce_cart_totals_after_order_totalincludes\class-wcdpdr-cart-handler.php:43
actionwoocommerce_review_order_after_order_totalincludes\class-wcdpdr-cart-handler.php:44
actionwoocommerce_before_cart_totalsincludes\class-wcdpdr-cart-handler.php:45
actionwoocommerce_before_cartincludes\class-wcdpdr-cart-handler.php:46
actionwoocommerce_before_checkout_formincludes\class-wcdpdr-cart-handler.php:47
actionwp_enqueue_scriptsincludes\class-wcdpdr-cart-handler.php:48
actionwoocommerce_cart_calculate_feesincludes\class-wcdpdr-rule-engine.php:43
actionwoocommerce_cart_emptiedincludes\class-wcdpdr-rule-engine.php:44
Maintenance & Trust

DeftCoders – Discount & Fee Rules for WooCommerce Maintenance & Trust

Maintenance Signals

WordPress version tested6.9.4
Last updatedMar 15, 2026
PHP min version7.4
Downloads234

Community Trust

Rating100/100
Number of ratings1
Active installs0
Developer Profile

DeftCoders – Discount & Fee Rules for WooCommerce Developer Profile

Deftcoders

1 plugin · 0 total installs

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

How We Detect DeftCoders – Discount & Fee Rules 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/deftcoders-dynamic-pricing-conditional-fees/assets/css/admin-style.css/wp-content/plugins/deftcoders-dynamic-pricing-conditional-fees/assets/js/admin-script.js
Script Paths
/wp-content/plugins/deftcoders-dynamic-pricing-conditional-fees/assets/js/admin-script.js
Version Parameters
deftcoders-dynamic-pricing-conditional-fees/assets/css/admin-style.css?ver=deftcoders-dynamic-pricing-conditional-fees/assets/js/admin-script.js?ver=

HTML / DOM Fingerprints

CSS Classes
wcdpdr-admin-pagewcdpdr-rule-field
HTML Comments
<!-- WCDPDR START FIX: Single ABSPATH guard --><!-- FIX: Activation error notice lives in a persistent hook, not inside activate() --><!-- FIX: Show activation error notices via persistent transients (fires on next admin request) --><!-- Main plugin class -->+15 more
Data Attributes
data-rule-iddata-field-name
JS Globals
wcdpdr_admin_params
FAQ

Frequently Asked Questions about DeftCoders – Discount & Fee Rules for WooCommerce