Skip to content

Instantly share code, notes, and snippets.

@cheesegrits
cheesegrits / LogLivewireAttacks.php
Last active September 7, 2026 11:23
Gate + camera middleware for Livewire update traffic — logging/attribution for automated Livewire probing (Filament 5 / Livewire 4). Not a vulnerability writeup; the framework held. Full story in the file header.
<?php
namespace App\Http\Middleware;
use Closure;
use Illuminate\Http\Request;
use Illuminate\Support\Facades\Log;
use Symfony\Component\HttpFoundation\Response;
use Throwable;