{"summary":{"plugin_name":"easy-code-manager","display_name":"FluentSnippets – High-Performance Code Snippets, Header & Footer Code, Custom CSS & PHP Code Manager","version":"10.58","risk_level":"low","risk_score":10.0,"risk_factors":{"static_analysis":5,"owasp":5},"last_analyzed":"2026-11-23T11:25:49.827626","removed_from_directory":false,"closed_reason":null,"closed_date":null,"commercial":false,"free_counterpart":null,"active_installs":50000,"rating":94,"num_ratings":79,"tested":"7.1.5","requires":"6.0","requires_php":"7.3","author":"WPManageNinja","short_description":"Fast, file-based code snippets plugin. Insert header & footer scripts and add PHP, CSS, JS & HTML snippets with conditional logic. Zero DB queries.","tags":["code-snippets","custom css","functions.php","header footer","php"],"added":"2017-08-15","last_updated":"2026-10-23 12:45pm GMT","metadata_fetched_at":"2026-11-22T04:51:38.388169+00:00","modules_missing":[],"modules_failed":[],"latest_release":"10.58"},"security_metrics":{"total_issues":3,"parameters_found":6,"unknown_parameters":0,"headers_accessed":0,"cookies_accessed":0,"wp_hooks":2,"rest_routes":1,"query_vars":0,"shortcode_atts":1,"rest_routes_with_access_patterns":0,"file_upload_parameters":1,"owasp_findings":{"A01":2,"A02":1,"A03":3,"A04":1},"attack_surface_level":"medium","attack_surface_score":15,"tainted_sinks":20,"tainted_sql":0,"tainted_ssrf":0,"tainted_file_ops":6,"auth_bypass_sinks":0,"dangerous_patterns":3},"comparison":{"percentile":87.7,"rank":61829,"peer_count":503762,"better_than":87.7,"risk_distribution":{"low":102751,"high":178367,"medium":121837,"critical":38979,"minimal":61828}},"executive_summary":null,"vulnerabilities":[],"recommendations":[{"category":"A03","name":"Injection","severity":"high","findings_count":3,"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":["Reachable 'code_exec' sink x3 - 3 attacker-reachable 'code_exec' sink(s) found by the reachability analyzer","Reachable 'file_include' sink x11 - 11 attacker-reachable 'file_include' sink(s) found by the reachability analyzer","Pattern 'sqli_interpolated' x3 - Interpolated variable in SQL query string (3 occurrence(s))"]},{"category":"A01","name":"Broken Access Control","severity":"medium","findings_count":2,"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":["Reachable 'file_read' sink x2 - 2 attacker-reachable 'file_read' sink(s) found by the reachability analyzer","Reachable 'file_write' sink x4 - 4 attacker-reachable 'file_write' sink(s) found by the reachability analyzer"]},{"category":"A02","name":"Cryptographic Failures","severity":"low","findings_count":1,"description":"Failures related to cryptography which often lead to exposure of sensitive data","recommendations":["Never store passwords or API keys in plain text","Use WordPress options API with encryption for sensitive data","Implement proper key management practices","Use HTTPS for all sensitive data transmission"],"findings_summary":["Parameter 'snippet_secret' - Sensitive data exposure"]},{"category":"A04","name":"Insecure Design","severity":"low","findings_count":1,"description":"Missing or ineffective control design — e.g. plugin files that perform work when requested directly, bypassing the WordPress bootstrap","recommendations":["Add a `defined('ABSPATH') || exit;` guard to every PHP file so it cannot be requested directly","Move logic out of directly-reachable files into hook callbacks loaded by WordPress","Threat-model unauthenticated entry points during design, not after release"],"findings_summary":["Direct file access: 3 plugin file(s) reachable by direct HTTP request, bypassing the WordPress bootstrap — insecure design"]}],"owasp_findings":{"A01":[{"type":"reachability_sink","sink":"file_read","count":2,"risk":"2 attacker-reachable 'file_read' sink(s) found by the reachability analyzer"},{"type":"reachability_sink","sink":"file_write","count":4,"risk":"4 attacker-reachable 'file_write' sink(s) found by the reachability analyzer"}],"A02":[{"type":"parameter","name":"snippet_secret","locations":{"GET":[{"file":"/plugins/easy-code-manager/tags/10.58/app/Hooks/Handlers/CodeHandler.php","line":300,"offset":10808,"snippet":"$_REQUEST['snippet_secret']"},{"file":"/plugins/easy-code-manager/tags/10.58/app/Hooks/Handlers/CodeHandler.php","line":302,"offset":10960,"snippet":"$_REQUEST['snippet_secret']"}],"POST":[{"file":"/plugins/easy-code-manager/tags/10.58/app/Hooks/Handlers/CodeHandler.php","line":300,"offset":10808,"snippet":"$_REQUEST['snippet_secret']"},{"file":"/plugins/easy-code-manager/tags/10.58/app/Hooks/Handlers/CodeHandler.php","line":302,"offset":10960,"snippet":"$_REQUEST['snippet_secret']"}]},"risk":"Sensitive data exposure"}],"A03":[{"type":"reachability_sink","sink":"code_exec","count":3,"risk":"3 attacker-reachable 'code_exec' sink(s) found by the reachability analyzer"},{"type":"reachability_sink","sink":"file_include","count":11,"risk":"11 attacker-reachable 'file_include' sink(s) found by the reachability analyzer"},{"type":"pattern_match","pattern":"sqli_interpolated","count":3,"severity":"critical","examples":["app/Services/OldPluginMigrator.php:14","app/Services/OldPluginMigrator.php:19","app/Services/OldPluginMigrator.php:69"],"risk":"Interpolated variable in SQL query string (3 occurrence(s))"}],"A04":[{"type":"direct_file_access","count":3,"risk":"3 plugin file(s) reachable by direct HTTP request, bypassing the WordPress bootstrap — insecure design"}]}}