Samrat Profit Calculator for WooCommerce Security & Risk Analysis

wordpress.org/plugins/samrat-profit-calculator-for-woocommerce

This plugin helps you to calculate profit for your WooCommerce products by tracking buying prices and generating detailed reports.

0 active installs v1.0.0 PHP 7.4+ WP 5.0+ Updated Feb 7, 2026
costprofitreportwoocommerce
100
A · Safe
CVEs total0
Unpatched0
Last CVENever
Safety Verdict

Is Samrat Profit Calculator for WooCommerce Safe to Use in 2026?

Generally Safe

Score 100/100

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

No known CVEs Updated 3mo ago
Risk Assessment

The static analysis of "samrat-profit-calculator-for-woocommerce" v1.0.0 reveals a generally strong security posture, with no identified dangerous functions, SQL injection vulnerabilities, or external HTTP requests. The high percentage of properly escaped output (93%) and the consistent use of prepared statements for SQL queries are excellent practices. The presence of nonce checks (5) further indicates an effort to prevent common WordPress attacks.

However, the analysis does highlight a few areas for potential improvement. The complete absence of capability checks is a significant concern, as it means that potentially sensitive actions within the plugin may not be properly restricted to authorized users. Additionally, the presence of a bundled library, dompdf, without specific version information raises a flag, as outdated bundled libraries can introduce known vulnerabilities. While the taint analysis found no issues, the limited scope (2 flows analyzed) means this aspect might not be exhaustive.

Furthermore, the plugin has no recorded vulnerability history, which is a positive indicator. This suggests the plugin has either been remarkably secure or has not been subjected to rigorous security scrutiny. Combined with the strong code signals, this points to a plugin that is likely safe but could benefit from implementing capability checks to further harden its attack surface.

Key Concerns

  • No capability checks found
  • Bundled library (dompdf) - potential for outdated version
Vulnerabilities
None known

Samrat Profit Calculator for WooCommerce Security Vulnerabilities

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

Samrat Profit Calculator for WooCommerce Release Timeline

v1.0.0Current
Code Analysis
Analyzed Mar 17, 2026

Samrat Profit Calculator for WooCommerce Code Analysis

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

Bundled Libraries

dompdf

Output Escaping

93% escaped61 total outputs
Data Flows · Security
All sanitized

Data Flow Analysis

2 flows
extra_tablenav (includes\ProfitListTable.php:77)
Source (user input) Sink (dangerous op) Sanitizer Transform Unsanitized Sanitized
Attack Surface

Samrat Profit Calculator for WooCommerce Attack Surface

Entry Points0
Unprotected0
WordPress Hooks 8
actionadmin_enqueue_scriptsincludes\Assets.php:15
actionwoocommerce_product_options_pricingincludes\ProductMeta.php:15
actionwoocommerce_admin_process_product_objectincludes\ProductMeta.php:16
actionwoocommerce_checkout_create_order_line_itemincludes\ProductMeta.php:17
actionwoocommerce_variation_options_pricingincludes\ProductMeta.php:19
actionwoocommerce_save_product_variationincludes\ProductMeta.php:20
actionplugins_loadedincludes\ProfitCalculation.php:45
actionadmin_menuincludes\ProfitTable.php:15
Maintenance & Trust

Samrat Profit Calculator for WooCommerce Maintenance & Trust

Maintenance Signals

WordPress version tested6.9.4
Last updatedFeb 7, 2026
PHP min version7.4
Downloads145

Community Trust

Rating100/100
Number of ratings2
Active installs0
Developer Profile

Samrat Profit Calculator for WooCommerce Developer Profile

MD. Samrat Hossen

3 plugins · 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 Samrat Profit Calculator 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/samrat-profit-calculator-for-woocommerce/assets/css/admin.css/wp-content/plugins/samrat-profit-calculator-for-woocommerce/assets/css/jquery-ui.css/wp-content/plugins/samrat-profit-calculator-for-woocommerce/assets/js/admin.js
Script Paths
/wp-content/plugins/samrat-profit-calculator-for-woocommerce/assets/js/admin.js
Version Parameters
samrat-profit-calculator-for-woocommerce/assets/css/admin.css?ver=samrat-profit-calculator-for-woocommerce/assets/css/jquery-ui.css?ver=samrat-profit-calculator-for-woocommerce/assets/js/admin.js?ver=

HTML / DOM Fingerprints

CSS Classes
profit-greenprofit-redcompany-name
Data Attributes
data-plugin-name="samrat-profit-calculator-for-woocommerce"
JS Globals
samrprca_translations
FAQ

Frequently Asked Questions about Samrat Profit Calculator for WooCommerce