{"summary":{"plugin_name":"shiptastic-for-woocommerce","display_name":"Shiptastic for WooCommerce","version":"5.1.8","risk_level":"medium","risk_score":35.0,"risk_factors":{"static_analysis":5,"owasp":5,"attack_surface":15,"unauth_ratio":5,"superglobal_density":5},"last_analyzed":"2026-11-23T13:48:26.634432","removed_from_directory":false,"closed_reason":null,"closed_date":null,"commercial":false,"free_counterpart":null,"active_installs":10000,"rating":100,"num_ratings":5,"tested":"7.2","requires":"5.4","requires_php":"5.6","author":"vendidero","short_description":"Shiptastic for WooCommerce is your all-in-one shipping and fulfillment solution for WooCommerce.","tags":["fulfillment","shipments","shipping","woo","woocommerce"],"added":"2025-03-17","last_updated":"2026-11-09 10:15am GMT","metadata_fetched_at":"2026-11-22T11:52:52.148496+00:00","modules_missing":[],"modules_failed":[],"latest_release":"5.1.8"},"security_metrics":{"total_issues":127,"parameters_found":114,"unknown_parameters":1,"headers_accessed":1,"cookies_accessed":0,"wp_hooks":2,"rest_routes":5,"query_vars":0,"shortcode_atts":0,"rest_routes_with_access_patterns":1,"file_upload_parameters":1,"owasp_findings":{"A01":3,"A03":5},"attack_surface_level":"large","attack_surface_score":131,"tainted_sinks":0,"tainted_sql":0,"tainted_ssrf":0,"tainted_file_ops":0,"auth_bypass_sinks":0,"dangerous_patterns":4},"comparison":{"percentile":64.1,"rank":179626,"peer_count":500100,"better_than":64.1,"risk_distribution":{"low":101009,"high":178034,"medium":121218,"critical":38811,"minimal":61028}},"executive_summary":null,"vulnerabilities":[],"recommendations":[{"category":"A01","name":"Broken Access Control","severity":"high","findings_count":3,"description":"Access control enforces policy such that users cannot act outside of their intended permissions","recommendations":["Add a real permission_callback to every REST route — never '__return_true' for state-changing endpoints","Verify nonces on all wp_ajax_nopriv_ handlers and re-check capabilities server-side","Validate and canonicalize file paths to block traversal on read/write/delete operations","Never trust a user-supplied role/capability — enforce it against the acting user's own permissions"],"findings_summary":["REST route 'None' - REST route registered with permission_callback '__return_true' — open to unauthenticated callers","Pattern 'nopriv_no_nonce' x1 - Nopriv AJAX handler without nonce verification (1 occurrence(s))","Pattern 'rest_no_permission' x1 - REST endpoint with no permission check (1 occurrence(s))"]},{"category":"A03","name":"Injection","severity":"high","findings_count":5,"description":"User-supplied data is not validated, filtered, or sanitized by the application","recommendations":["Use $wpdb->prepare() for all database queries — never interpolate or concatenate input","Sanitize all user input with appropriate WordPress functions","Escape output based on context (esc_html, esc_attr, etc.)","Never pass user input to eval(), include/require, or a variable function"],"findings_summary":["phpcs_security: Easy XSS detected because of direct user input with $_REQUEST on echo","phpcs_security: Easy XSS detected because of direct user input with $_REQUEST on echo","phpcs_security: Easy XSS detected because of direct user input with $_REQUEST on echo","phpcs_security: Easy XSS detected because of direct user input with $_REQUEST on echo","Pattern 'sqli_interpolated' x2 - Interpolated variable in SQL query string (2 occurrence(s))"]}],"owasp_findings":{"A01":[{"type":"rest_route","name":null,"risk":"REST route registered with permission_callback '__return_true' — open to unauthenticated callers"},{"type":"pattern_match","pattern":"nopriv_no_nonce","count":1,"severity":"high","examples":["src/PickupDelivery.php:38"],"risk":"Nopriv AJAX handler without nonce verification (1 occurrence(s))"},{"type":"pattern_match","pattern":"rest_no_permission","count":1,"severity":"high","examples":["src/Tracking/Helper.php:65"],"risk":"REST endpoint with no permission check (1 occurrence(s))"}],"A03":[{"type":"phpcs_security","message":"Easy XSS detected because of direct user input with $_REQUEST on echo","file":"/plugins/shiptastic-for-woocommerce/tags/5.1.8/src/Admin/Admin.php","line":1964},{"type":"phpcs_security","message":"Easy XSS detected because of direct user input with $_REQUEST on echo","file":"/plugins/shiptastic-for-woocommerce/tags/5.1.8/src/Admin/Admin.php","line":1964},{"type":"phpcs_security","message":"Easy XSS detected because of direct user input with $_REQUEST on echo","file":"/plugins/shiptastic-for-woocommerce/tags/5.1.8/src/Admin/Admin.php","line":2000},{"type":"phpcs_security","message":"Easy XSS detected because of direct user input with $_REQUEST on echo","file":"/plugins/shiptastic-for-woocommerce/tags/5.1.8/src/Admin/Admin.php","line":2000},{"type":"pattern_match","pattern":"sqli_interpolated","count":2,"severity":"critical","examples":["uninstall.php:26","src/DataStores/Label.php:539"],"risk":"Interpolated variable in SQL query string (2 occurrence(s))"}]}}