{"summary":{"plugin_name":"imsanity","display_name":"Imsanity","version":"2.9.4","risk_level":"low","risk_score":25.0,"risk_factors":{"static_analysis":5,"owasp":5,"attack_surface":10,"superglobal_density":10,"installs_modifier":-5},"last_analyzed":"2026-11-23T11:35:08.829745","removed_from_directory":false,"closed_reason":null,"closed_date":null,"commercial":false,"free_counterpart":null,"active_installs":200000,"rating":98,"num_ratings":291,"tested":"7.1.5","requires":"6.8","requires_php":"7.4","author":"Shane Bishop","short_description":"Automatically resizes huge image uploads. Are contributors uploading huge photos? Tired of manually resizing your images? Imsanity to the rescue!","tags":["image","quality","resize","scale","space saver"],"added":"2011-07-22","last_updated":"2026-08-20 8:49pm GMT","metadata_fetched_at":"2026-11-22T04:42:51.706950+00:00","modules_missing":[],"modules_failed":[],"latest_release":"2.9.4"},"security_metrics":{"total_issues":3,"parameters_found":23,"unknown_parameters":0,"headers_accessed":1,"cookies_accessed":0,"wp_hooks":2,"rest_routes":0,"query_vars":0,"shortcode_atts":0,"rest_routes_with_access_patterns":0,"file_upload_parameters":0,"owasp_findings":{"A03":1,"A04":1,"A08":1},"attack_surface_level":"medium","attack_surface_score":25,"tainted_sinks":6,"tainted_sql":0,"tainted_ssrf":0,"tainted_file_ops":0,"auth_bypass_sinks":0,"dangerous_patterns":0},"comparison":{"percentile":74.1,"rank":118959,"peer_count":460161,"better_than":74.1,"risk_distribution":{"medium":113312,"minimal":51089,"high":175469,"low":82415,"critical":37876}},"executive_summary":null,"vulnerabilities":[],"recommendations":[{"category":"A03","name":"Injection","severity":"medium","findings_count":1,"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 'file_include' sink x3 - 3 attacker-reachable 'file_include' sink(s) found by the reachability analyzer"]},{"category":"A08","name":"Software and Data Integrity Failures","severity":"medium","findings_count":1,"description":"Code and infrastructure that does not protect against integrity violations — notably insecure deserialization of attacker-controlled data","recommendations":["Never call unserialize() on attacker-controlled data — use json_decode() instead","If deserialization is unavoidable, pass ['allowed_classes' => false]","Verify integrity (signatures/checksums) of updates and imported data"],"findings_summary":["Reachable 'unserialize' sink x3 - 3 attacker-reachable 'unserialize' sink(s) found by the reachability analyzer"]},{"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: 10 plugin file(s) reachable by direct HTTP request, bypassing the WordPress bootstrap — insecure design"]}],"owasp_findings":{"A03":[{"type":"reachability_sink","sink":"file_include","count":3,"risk":"3 attacker-reachable 'file_include' sink(s) found by the reachability analyzer"}],"A04":[{"type":"direct_file_access","count":10,"risk":"10 plugin file(s) reachable by direct HTTP request, bypassing the WordPress bootstrap — insecure design"}],"A08":[{"type":"reachability_sink","sink":"unserialize","count":3,"risk":"3 attacker-reachable 'unserialize' sink(s) found by the reachability analyzer"}]}}