Price Guard – Hide Price & Add to Cart for WooCommerce Security & Risk Analysis

wordpress.org/plugins/price-guard-for-woocommerce

Hide product prices and "Add to Cart" buttons in your WooCommerce store, replacing them with custom buttons for quote requests or inquiries.

200 active installs v1.0.0 PHP 7.2+ WP 5.0+ Updated Sep 30, 2024
add-to-carthide-pricepricequotewoocommerce
92
A · Safe
CVEs total0
Unpatched0
Last CVENever
Safety Verdict

Is Price Guard – Hide Price & Add to Cart for WooCommerce Safe to Use in 2026?

Generally Safe

Score 92/100

Price Guard – Hide Price & Add to Cart for WooCommerce 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 "price-guard-for-woocommerce" plugin, version 1.0.0, exhibits a strong security posture based on the provided static analysis. The absence of any identified dangerous functions, raw SQL queries, or file operations is a significant strength. Furthermore, the high percentage of properly escaped output suggests diligent attention to preventing cross-site scripting (XSS) vulnerabilities. The lack of any recorded vulnerabilities or CVEs in its history further reinforces this positive assessment, indicating a track record of secure development.

However, the analysis does highlight potential areas of concern, primarily stemming from the complete absence of nonce checks and capability checks. While the current attack surface appears minimal and all identified entry points are protected (according to the data), this lack of explicit authorization checks could become a significant risk if the plugin's functionality or attack surface expands in future versions. The current state suggests the plugin might be overly reliant on the context in which it's called, which is not a robust security pattern.

In conclusion, version 1.0.0 of "price-guard-for-woocommerce" is currently very secure, demonstrating good coding practices in critical areas like SQL and output handling, and benefiting from a clean vulnerability history. The primary weakness lies in the absence of authentication and authorization mechanisms, which, while not posing an immediate threat in its current state, represents a latent risk that should be addressed to ensure future-proof security.

Key Concerns

  • Missing nonce checks
  • Missing capability checks
  • High percentage of unescaped output (1 of 30)
Vulnerabilities
None known

Price Guard – Hide Price & Add to Cart for WooCommerce Security Vulnerabilities

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

Price Guard – Hide Price & Add to Cart for WooCommerce Code Analysis

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

Output Escaping

97% escaped30 total outputs
Attack Surface

Price Guard – Hide Price & Add to Cart for WooCommerce Attack Surface

Entry Points0
Unprotected0
WordPress Hooks 12
filterwoocommerce_get_price_htmlincludes\class-price-guard-public.php:19
filterwoocommerce_is_purchasableincludes\class-price-guard-public.php:20
actionwoocommerce_single_product_summaryincludes\class-price-guard-public.php:21
filterwoocommerce_loop_add_to_cart_linkincludes\class-price-guard-public.php:22
filterwoocommerce_settings_tabs_arrayincludes\class-price-guard-settings.php:19
actionwoocommerce_settings_tabs_price_guardincludes\class-price-guard-settings.php:20
actionwoocommerce_update_options_price_guardincludes\class-price-guard-settings.php:21
actionadmin_enqueue_scriptsincludes\class-price-guard-settings.php:22
actionwoocommerce_admin_field_price_guard_multiselectincludes\class-price-guard-settings.php:23
actionplugins_loadedincludes\class-price-guard.php:58
actioninitincludes\class-price-guard.php:59
actionbefore_woocommerce_initprice-guard.php:29
Maintenance & Trust

Price Guard – Hide Price & Add to Cart for WooCommerce Maintenance & Trust

Maintenance Signals

WordPress version tested6.6.5
Last updatedSep 30, 2024
PHP min version7.2
Downloads1K

Community Trust

Rating0/100
Number of ratings0
Active installs200
Developer Profile

Price Guard – Hide Price & Add to Cart for WooCommerce Developer Profile

wpmariocom

1 plugin · 200 total installs

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

How We Detect Price Guard – Hide Price & Add to Cart 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/price-guard-for-woocommerce/assets/css/price-guard.css/wp-content/plugins/price-guard-for-woocommerce/assets/js/price-guard.js
Script Paths
/wp-content/plugins/price-guard-for-woocommerce/assets/js/price-guard.js
Version Parameters
/wp-content/plugins/price-guard-for-woocommerce/assets/css/price-guard.css?ver=/wp-content/plugins/price-guard-for-woocommerce/assets/js/price-guard.js?ver=

HTML / DOM Fingerprints

CSS Classes
price-guard-settings-wrapprice-guard-hide-price-textprice-guard-pro-featureprice-guard-button-functionprice-guard-custom-button-textprice-guard-custom-button-link
Data Attributes
data-price-guard-hide-pricedata-price-guard-hide-add-to-cartdata-price-guard-button-textdata-price-guard-button-link
JS Globals
price_guard_hide_priceprice_guard_hide_price_textprice_guard_hide_add_to_cartprice_guard_button_functionprice_guard_custom_button_textprice_guard_custom_button_link+2 more
FAQ

Frequently Asked Questions about Price Guard – Hide Price & Add to Cart for WooCommerce