DiscountKit – Discount Rules, Bulk Pricing & Dynamic Pricing for WooCommerce Security & Risk Analysis

wordpress.org/plugins/discountkit

Create flexible WooCommerce discount rules with percentage discounts, fixed discounts, and bulk pricing options.

0 active installs v1.0.1 PHP 7.4+ WP 5.0+ Updated Dec 11, 2025
bulk-discountcart-discountproduct-discountwoocommerce-discount-ruleswoocommerce-dynamic-pricing
100
A · Safe
CVEs total0
Unpatched0
Last CVENever
Safety Verdict

Is DiscountKit – Discount Rules, Bulk Pricing & Dynamic Pricing for WooCommerce Safe to Use in 2026?

Generally Safe

Score 100/100

DiscountKit – Discount Rules, Bulk Pricing & Dynamic Pricing 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 "discountkit" v1.0.1 plugin exhibits a generally good security posture in several key areas. It demonstrates a strong commitment to secure coding practices by utilizing prepared statements for all its SQL queries and ensuring all output is properly escaped. The absence of dangerous functions, file operations, and external HTTP requests further contributes to a more secure foundation. The lack of any recorded historical vulnerabilities or CVEs is also a positive indicator, suggesting a well-maintained and potentially secure codebase.

However, the plugin does present some notable security concerns. The presence of 3 REST API routes without permission callbacks represents a significant attack surface that could potentially be exploited by unauthenticated users. Furthermore, the complete absence of nonce checks on any of its entry points is a critical oversight. Nonce checks are a fundamental WordPress security mechanism designed to prevent Cross-Site Request Forgery (CSRF) attacks. While no critical taint flows were detected, the potential for exploiting the unprotected REST API routes is real.

In conclusion, "discountkit" v1.0.1 has strengths in its data handling and output sanitization. Nonetheless, the lack of permission callbacks on REST API endpoints and the complete omission of nonce checks are significant weaknesses that expose the plugin to potential exploitation. Addressing these issues should be a high priority to improve the overall security of the plugin.

Key Concerns

  • REST API routes without permission callbacks
  • Missing nonce checks on all entry points
Vulnerabilities
None known

DiscountKit – Discount Rules, Bulk Pricing & Dynamic Pricing for WooCommerce Security Vulnerabilities

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

DiscountKit – Discount Rules, Bulk Pricing & Dynamic Pricing for WooCommerce Release Timeline

v1.0.1Current
v1.0.0
Code Analysis
Analyzed Apr 16, 2026

DiscountKit – Discount Rules, Bulk Pricing & Dynamic Pricing for WooCommerce Code Analysis

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

SQL Query Safety

100% prepared18 total queries

Output Escaping

100% escaped38 total outputs
Attack Surface
3 unprotected

DiscountKit – Discount Rules, Bulk Pricing & Dynamic Pricing for WooCommerce Attack Surface

Entry Points8
Unprotected3

REST API Routes 8

GET/wp-json/discountkit/v1/rulesincludes/REST_API.php:33
GET/wp-json/discountkit/v1/rules/(?P<id>\d+)includes/REST_API.php:46
GET/wp-json/discountkit/v1/productsincludes/REST_API.php:64
GET/wp-json/discountkit/v1/categoriesincludes/REST_API.php:70
POST/wp-json/discountkit/v1/rules/(?P<id>\d+)/duplicateincludes/REST_API.php:76
GET/wp-json/discountkit/v1/customersincludes/REST_API.php:82
GET/wp-json/discountkit/v1/settingsincludes/REST_API.php:88
POST/wp-json/discountkit/v1/settings/resetincludes/REST_API.php:101
WordPress Hooks 25
actionadmin_menuincludes/Admin.php:26
actionadmin_headincludes/Admin.php:27
actionwoocommerce_before_calculate_totalsincludes/Cart_Handler.php:26
actionwoocommerce_cart_calculate_feesincludes/Cart_Handler.php:27
actionwoocommerce_review_order_before_paymentincludes/Cart_Handler.php:28
filterwoocommerce_cart_item_priceincludes/Cart_Handler.php:29
actionwoocommerce_checkout_order_processedincludes/Cart_Handler.php:30
filterwoocommerce_coupons_enabledincludes/Cart_Handler.php:31
actionplugins_loadedincludes/Discount_Manager.php:84
actionbefore_woocommerce_initincludes/Discount_Manager.php:87
actionadmin_noticesincludes/Discount_Manager.php:95
actionadmin_enqueue_scriptsincludes/Enqueue.php:26
actionwp_enqueue_scriptsincludes/Enqueue.php:27
filterwoocommerce_get_price_htmlincludes/Product_Display.php:27
filterwoocommerce_product_get_priceincludes/Product_Display.php:28
filterwoocommerce_product_variation_get_priceincludes/Product_Display.php:29
filterwoocommerce_product_get_regular_priceincludes/Product_Display.php:30
filterwoocommerce_product_variation_get_regular_priceincludes/Product_Display.php:31
filterwoocommerce_product_get_sale_priceincludes/Product_Display.php:34
filterwoocommerce_product_variation_get_sale_priceincludes/Product_Display.php:35
filterwoocommerce_product_is_on_saleincludes/Product_Display.php:38
filterwoocommerce_sale_flashincludes/Product_Display.php:39
actionwoocommerce_before_add_to_cart_formincludes/Product_Display.php:44
actionwoocommerce_before_add_to_cart_buttonincludes/Product_Display.php:47
actionrest_api_initincludes/REST_API.php:26
Maintenance & Trust

DiscountKit – Discount Rules, Bulk Pricing & Dynamic Pricing for WooCommerce Maintenance & Trust

Maintenance Signals

WordPress version tested6.9.4
Last updatedDec 11, 2025
PHP min version7.4
Downloads177

Community Trust

Rating0/100
Number of ratings0
Active installs0
Developer Profile

DiscountKit – Discount Rules, Bulk Pricing & Dynamic Pricing for WooCommerce Developer Profile

Nazmun Sakib

6 plugins · 10 total installs

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

How We Detect DiscountKit – Discount Rules, Bulk Pricing & Dynamic Pricing 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/discountkit/assets/css/frontend.css/wp-content/plugins/discountkit/assets/css/admin-app.css/wp-content/plugins/discountkit/assets/js/admin-clean.js
Version Parameters
discountkit/assets/css/frontend.css?ver=discountkit/assets/css/admin-app.css?ver=discountkit/assets/js/admin-clean.js?ver=

HTML / DOM Fingerprints

JS Globals
DiscountKitObj
REST Endpoints
/wp-json/discountkit/v1/rules/wp-json/discountkit/v1/rules/\d+/wp-json/discountkit/v1/products/wp-json/discountkit/v1/categories/wp-json/discountkit/v1/rules/\d+/duplicate/wp-json/discountkit/v1/customers/wp-json/discountkit/v1/settings/wp-json/discountkit/v1/settings/reset
FAQ

Frequently Asked Questions about DiscountKit – Discount Rules, Bulk Pricing & Dynamic Pricing for WooCommerce