CluPilotCloud/routes
nexxo f5f4d2a8cd fix(security): close the Livewire bypass of the admin host restriction
Admin actions post to /livewire/update, which a path-scoped guard skips — an
operator session could drive admin components through a PUBLIC hostname despite
ADMIN_HOSTS. The restriction is now registered as Livewire-persistent middleware
and listed on the admin route group, so Livewire re-applies it from the
component snapshot.

Proven by replaying a snapshot taken from the real rendered page: identical
payload -> 404 on a public host, 200 on the allowed host (positive control, so
the test cannot pass for the wrong reason).

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
2026-07-25 20:50:22 +02:00
..
channels.php fix(admin): self-heal legacy is_admin into Owner (no RBAC bypass); validate datacenter country server-side 2026-07-25 18:19:24 +02:00
console.php feat(engine): orchestrator core (state machine + tick + lock) 2026-07-25 09:54:52 +02:00
web.php fix(security): close the Livewire bypass of the admin host restriction 2026-07-25 20:50:22 +02:00