[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"$fDgEU60tQf341-nixKN0anFdJwaC3QEAGRCl3X9Eto-k":3},{"slug":4,"name":5,"version":6,"author":7,"author_profile":8,"description":9,"short_description":10,"active_installs":11,"downloaded":12,"rating":11,"num_ratings":13,"last_updated":14,"tested_up_to":15,"requires_at_least":16,"requires_php":17,"tags":18,"homepage":21,"download_link":22,"security_score":23,"vuln_count":24,"unpatched_count":24,"last_vuln_date":25,"fetched_at":26,"vulnerabilities":27,"developer":28,"crawl_stats":25,"alternatives":35,"analysis":36,"fingerprints":117},"provinces-and-districts-of-panama-for-woocommerce","Provinces and Districts of Panama for WooCommerce","1.0.4","Yordan Soares","https:\u002F\u002Fprofiles.wordpress.org\u002Fyordansoares\u002F","\u003Cp>This plugin allows you to choose the \u003Cstrong>Provinces, Districts and Corregimientos of Panama\u003C\u002Fstrong> as a dropdown menu in the \u003Cstrong>WooCommerce address forms\u003C\u002Fstrong>. It also makes filterable the \u003Cstrong>Province\u003C\u002Fstrong> and \u003Cstrong>Districts-Corregimiento\u003C\u002Fstrong> fields to enhance the \u003Cstrong>user experience\u003C\u002Fstrong>.\u003C\u002Fp>\n\u003Cp>Additionally it adds the \u003Cstrong>Provinces\u003C\u002Fstrong> to the \u003Cstrong>Shipping Zones\u003C\u002Fstrong> (The Districts and Corregimientos are not compatible with this area).\u003C\u002Fp>\n","Provinces, Districts and Corregimientos of Panama for WooCommerce.",100,2856,2,"2022-02-21T04:36:00.000Z","5.9.13","4.6","7.0",[19,20],"panama-provinces-and-districts","provincias-y-distritos-de-panama","https:\u002F\u002Fwordpress.org\u002Fplugins\u002Fprovinces-and-districts-of-panama-for-woocommerce\u002F","https:\u002F\u002Fdownloads.wordpress.org\u002Fplugin\u002Fprovinces-and-districts-of-panama-for-woocommerce.1.0.4.zip",85,0,null,"2026-03-15T15:16:48.613Z",[],{"slug":29,"display_name":7,"profile_url":8,"plugin_count":30,"total_installs":31,"avg_security_score":23,"avg_patch_time_days":32,"trust_score":33,"computed_at":34},"yordansoares",4,9140,30,84,"2026-04-04T15:15:57.257Z",[],{"attackSurface":37,"codeSignals":93,"taintFlows":105,"riskAssessment":106,"analyzedAt":116},{"hooks":38,"ajaxHandlers":89,"restRoutes":90,"shortcodes":91,"cronEvents":92,"entryPointCount":24,"unprotectedCount":24},[39,46,50,54,59,64,68,72,74,77,81,85],{"type":40,"name":41,"callback":42,"priority":43,"file":44,"line":45},"filter","woocommerce_billing_fields","billing_fields",10,"includes\\class-wc-panama-corregimientos-select.php",19,{"type":40,"name":47,"callback":48,"priority":43,"file":44,"line":49},"woocommerce_shipping_fields","shipping_fields",20,{"type":40,"name":51,"callback":52,"priority":43,"file":44,"line":53},"woocommerce_form_field_city","form_field_city",21,{"type":55,"name":56,"callback":57,"file":44,"line":58},"action","wp_enqueue_scripts","load_scripts",24,{"type":40,"name":60,"callback":61,"file":62,"line":63},"woocommerce_states","pdpw_pa_provinces","provinces-and-districts-of-panama-for-woocommerce.php",46,{"type":40,"name":65,"callback":66,"file":62,"line":67},"woocommerce_default_address_fields","pdpw_change_state_and_city_order",58,{"type":40,"name":69,"callback":70,"file":62,"line":71},"woocommerce_checkout_fields","pdpw_disable_postcode_cart",99,{"type":40,"name":41,"callback":73,"file":62,"line":11},"pdpw_disable_billing_postcode",{"type":40,"name":47,"callback":75,"file":62,"line":76},"pdpw_disable_shipping_postcode",101,{"type":55,"name":78,"callback":79,"file":62,"line":80},"init","pdpw_disable_postcodes",105,{"type":55,"name":82,"callback":83,"file":62,"line":84},"plugins_loaded","pdpw_init",109,{"type":55,"name":86,"callback":87,"file":62,"line":88},"admin_notices","pdpw_woocommerce_required",124,[],[],[],[],{"dangerousFunctions":94,"sqlUsage":95,"outputEscaping":97,"fileOperations":24,"externalRequests":24,"nonceChecks":24,"capabilityChecks":24,"bundledLibraries":104},[],{"prepared":24,"raw":24,"locations":96},[],{"escaped":98,"rawEcho":99,"locations":100},17,1,[101],{"file":62,"line":102,"context":103},116,"raw output",[],[],{"summary":107,"deductions":108},"The \"provinces-and-districts-of-panama-for-woocommerce\" plugin version 1.0.4 exhibits a strong security posture based on the provided static analysis. The absence of any detected dangerous functions, SQL injection vulnerabilities (all queries use prepared statements), and file operations is highly commendable. Furthermore, the analysis indicates excellent output escaping practices with only a small percentage of outputs potentially unescaped. The lack of external HTTP requests also contributes positively to its security. The plugin's vulnerability history is also clean, with no recorded CVEs, suggesting a well-maintained and secure codebase over time.\n\nHowever, a notable area of concern is the complete absence of nonce checks and capability checks. While the static analysis shows zero entry points without authentication, the lack of explicit checks for nonces and user capabilities on any potential (even if currently undetectable) entry points is a significant oversight. This could leave the plugin vulnerable to attacks if new entry points are introduced or if existing ones are not as thoroughly protected as the static analysis suggests. The taint analysis showing zero flows is positive, but the lack of nonce\u002Fcapability checks means that even a minor oversight could lead to a flow if data manipulation is possible.\n\nIn conclusion, the plugin demonstrates robust coding practices in critical areas like SQL and output handling, and a clean vulnerability track record. The primary weakness lies in the fundamental security checks (nonces and capabilities), which are absent. This represents a potential risk that should be addressed to ensure comprehensive security, especially as the plugin evolves.",[109,112,114],{"reason":110,"points":111},"Missing nonce checks",7,{"reason":113,"points":111},"Missing capability checks",{"reason":115,"points":13},"Minor output escaping concerns","2026-03-16T21:08:03.345Z",{"wat":118,"direct":127},{"assetPaths":119,"generatorPatterns":122,"scriptPaths":123,"versionParams":124},[120,121],"\u002Fwp-content\u002Fplugins\u002Fprovinces-and-districts-of-panama-for-woocommerce\u002Fassets\u002Fcss\u002Fprovinces-and-districts-of-panama-for-woocommerce.css","\u002Fwp-content\u002Fplugins\u002Fprovinces-and-districts-of-panama-for-woocommerce\u002Fassets\u002Fjs\u002Fprovinces-and-districts-of-panama-for-woocommerce.js",[],[121],[125,126],"provinces-and-districts-of-panama-for-woocommerce\u002Fassets\u002Fcss\u002Fprovinces-and-districts-of-panama-for-woocommerce.css?ver=","provinces-and-districts-of-panama-for-woocommerce\u002Fassets\u002Fjs\u002Fprovinces-and-districts-of-panama-for-woocommerce.js?ver=",{"cssClasses":128,"htmlComments":131,"htmlAttributes":173,"restEndpoints":176,"jsGlobals":177,"shortcodeOutput":179},[129,130],"province-select-wrapper","district-select-wrapper",[132,133,134,135,136,137,138,139,140,141,142,143,144,145,146,147,148,149,150,151,152,153,154,155,156,157,158,159,159,160,161,162,163,164,165,166,167,168,169,170,171,172],"\u003C!-- Plugin Name: Provinces and Districts of Panama for WooCommerce -->","\u003C!-- Plugin URI: https:\u002F\u002Fwordpress.org\u002Fplugins\u002Fprovinces-and-districts-of-panama-for-woocommerce\u002F -->","\u003C!-- Description: This plugin allows you to choose the Provinces, Districts and Corregimientos of Panama in the WooCommerce address forms. -->","\u003C!-- Author: Yordan Soares -->","\u003C!-- Author URI: https:\u002F\u002Fyordansoar.es\u002F -->","\u003C!-- License: GPL v2 or later -->","\u003C!-- License URI: https:\u002F\u002Fwww.gnu.org\u002Flicenses\u002Fgpl-2.0.html -->","\u003C!-- Text Domain: provinces-and-districts-of-panama-for-woocommerce -->","\u003C!-- Domain Path: \u002Flanguages -->","\u003C!-- Version: 1.0.4 -->","\u003C!-- Requires at least: 4.6 -->","\u003C!-- Requires PHP: 7.0 -->","\u003C!-- WC requires at least: 3.0.x -->","\u003C!-- WC tested up to: 6.2 -->","\u003C!-- Exit if file is open directly -->","\u003C!-- Check if WooCommerce is active -->","\u003C!-- Define the constants for plugin PATH and URL -->","\u003C!-- Prepara the init function -->","\u003C!-- Load text domain for internationalization -->","\u003C!-- Get the Class WC_PA_Districts_And_Corregimientos_Select -->","\u003C!-- Instantiate the Class WC_PA_Districts_And_Corregimientos_Select in $_GLOBALS variable -->","\u003C!-- Get the Provinces of Panama -->","\u003C!-- Insert the Provinces into WooCommerce Options -->","\u003C!-- Change the order of State and City fields to have more sense with the steps of form -->","\u003C!-- If you want to enable the Post Code fields in all the forms -->","\u003C!-- put this code in your function.php file in your theme: -->","\u003C!-- define( 'PDPW_ENABLE_POSTCODE', true); -->","\u003C!-- Disable Post Code in Billing Form in Cart -->","\u003C!-- Disable Post Code in Billing Form -->","\u003C!-- Disable Post Code in Shipping Form -->","\u003C!-- ...shows a notice to asking for WooCommerce activation -->","\u003C!-- And deactivate the plugin until WooCommerce is active -->","\u003C!-- This class is a fork of \"WC City Select\" by 8manos -->","\u003C!-- https:\u002F\u002Fwordpress.org\u002Fplugins\u002Fwc-city-select\u002F -->","\u003C!-- js scripts -->","\u003C!-- Load only the city files the shop owner wants\u002Fneeds. -->","\u003C!-- Do we need a clear div? -->","\u003C!-- Required markup -->","\u003C!-- Custom attribute handling -->","\u003C!-- Validate classes -->","\u003C!-- field p and labe -->",[174,175],"data-plugin-path","data-plugin-url",[],[178],"wc_corregimientos_select",[]]