prefix ) { return array(); } return array( $this->make_result( array( 'id' => 'default_db_prefix', 'title' => __( 'Default database prefix (wp_) in use', 'aipatch-security-scanner' ), 'description' => __( 'Your database tables use the default wp_ prefix, which is well-known to attackers.', 'aipatch-security-scanner' ), 'severity' => 'low', 'confidence' => 'high', 'category' => 'configuration', 'why_it_matters' => __( 'A custom table prefix adds a small layer of defense against automated SQL injection attacks that target the default prefix.', 'aipatch-security-scanner' ), 'recommendation' => __( 'For new installations, use a custom prefix. For existing sites, changing the prefix requires careful database migration.', 'aipatch-security-scanner' ), 'dismissible' => true, 'evidence' => sprintf( 'Current DB prefix: %s', $wpdb->prefix ), ) ), ); } }