Zum Hauptinhalt springen
tsecurity.de LIVE
Echtzeit-Radar & Feeds
Alle RSS Feeds ➔
👥 Community & Social
•
Windows Tipps & SecurityBatterietester für unter 10 Euro: So prüfen Sie leere Batterien schnell(24.09.2026 um 13:14 Uhr)
•
Windows Tipps & SecurityBentley bringt sein erstes Elektroauto auf den Markt(24.09.2026 um 13:49 Uhr)
••
Windows Tipps & SecurityAvocor integriert Korbyt-CMS in B-Series Displays(24.09.2026 um 13:05 Uhr)
•
Windows Tipps & SecuritydBTechnologies erweitert Opera-Familie um Nona-Serie(24.09.2026 um 13:15 Uhr)
•
Windows Tipps & SecurityJens Miedek wird Senior Vice President Sales bei Qvest(24.09.2026 um 13:20 Uhr)
•
Windows Tipps & SecurityBenQ bringt vier neue Boards mit KI-Beschleuniger(24.09.2026 um 13:33 Uhr)
••
Unix & Linux Server(中文) 小U同学更新:操作更少,秒回更快(24.09.2026 um 13:04 Uhr)
••
Windows Tipps & SecurityBatterietester für unter 10 Euro: So prüfen Sie leere Batterien schnell(24.09.2026 um 13:14 Uhr)
•
Windows Tipps & SecurityBentley bringt sein erstes Elektroauto auf den Markt(24.09.2026 um 13:49 Uhr)
••
Windows Tipps & SecurityAvocor integriert Korbyt-CMS in B-Series Displays(24.09.2026 um 13:05 Uhr)
•
Windows Tipps & SecuritydBTechnologies erweitert Opera-Familie um Nona-Serie(24.09.2026 um 13:15 Uhr)
•
Windows Tipps & SecurityJens Miedek wird Senior Vice President Sales bei Qvest(24.09.2026 um 13:20 Uhr)
•
Windows Tipps & SecurityBenQ bringt vier neue Boards mit KI-Beschleuniger(24.09.2026 um 13:33 Uhr)
••
Unix & Linux Server(中文) 小U同学更新:操作更少,秒回更快(24.09.2026 um 13:04 Uhr)
•
Intelligence View
⚡ tsecurity.de Intelligence

Shipping a Livewire 4 + Flux admin UI inside a package: four gotchas that 500'd on me

Bundling an admin UI inside a Laravel package is a different game from building one in an app. The app's conveniences — a compiled Vite manifest, a registered layout, your own Livewire components — aren't there. Today, getting the bundled a…

0
↗ Quelle (dev.to)
Reagiere als Erste:r — dein Feedback zählt!

Bundling an admin UI inside a Laravel package is a different game from building one in an app. The app's conveniences — a compiled Vite manifest, a registered layout, your own Livewire components — aren't there. Today, getting the bundled admin UI in laravel-config-webhook to actually render meant walking through four separate 500s. Each one is a small, sharp lesson about the boundary between a package and its host app.






1. A Livewire 4 component name can't contain ::



I registered the component with a namespaced-looking name and got a ComponentNotFoundException at runtime. The cause is subtle: under Livewire 4, a name containing :: triggers namespace resolution that ignores singly-registered components. So a "nice looking" name silently routes to a lookup that will never find it.



The fix is to register a plain, dotted name:




// ❌ looks tidy, but the "::" sends Livewire down a namespace path
Livewire::component('config-webhook::webhooks', Webhooks::class);

// ✅ a flat dotted name resolves to the singly-registered component
Livewire::component('config-webhook.webhooks', Webhooks::class);






Lesson: in a package, treat the component name as an identifier with framework-reserved characters — :: is not yours to use.






2. Flux ships Heroicons, not Pro/Lucide names



The free tier of Flux ships Heroicons. Reach for a Pro-only or Lucide-style name and it throws at runtime. I'd used webhook, ellipsis, and list; the free equivalents are bolt, ellipsis-horizontal, and queue-list.



This is the same trap that bit my SSO package — which is exactly why I now guard it with a static test that reads the Blade and checks every icon against Flux's actual stub files. (Separate post on that.) If you ship a package UI with Flux, assume free-tier icons only unless you require Pro.






3. Don't @vite host assets that don't exist



The bundled fallback layout @vite-d the host app's assets. In a fresh consumer (or the package's own workbench) there's no compiled manifest, so you get a ViteManifestNotFoundException. A package's fallback layout has to stand on its own:




{{-- bundled fallback layout: self-contained, no host build step --}}
<head>
<script src="https://cdn.tailwindcss.com"></script>
@fluxAppearance
</head>
<body>
{{ $slot }}
@fluxScripts
</body>






Tailwind Play CDN + Flux directives mean the UI renders out of the box, with zero assumptions about the host's build pipeline. The host can always override the layout when it wants the real thing.






4. A non-null layout default defeats your own fallback



This one is sneaky. The config had:




'ui' => [
'layout' => 'components.layouts.app', // a sensible-looking default…
],






…and the render used config('config-webhook.ui.layout') ?: $bundledFallback. Because the default was non-null, the ?: never fell back — it always pointed at components.layouts.app, which doesn't exist in a bare consumer, so: 500. Defaulting to null lets the fallback actually do its job:




'ui' => [
'layout' => null, // null → the bundled fallback is used unless the host sets one
],






Lesson: when you offer a fallback via ?: or ??, the default that triggers it must be the empty value, not a placeholder that looks like a value.






Bonus: prove it end-to-end in the workbench



Bugs like these hide because nothing exercises the full path. So I wired the package's Testbench workbench to deliver a webhook for real: seed an active subscriber, add a /receiver route that verifies the HMAC signature, and — importantly — exclude the CSRF middleware (PreventRequestForgery) from that receiver route, since an inbound webhook isn't a browser form post:




Route::post('/receiver', VerifyAndStore::class)
->withoutMiddleware(PreventRequestForgery::class);






Now /fire delivers end-to-end straight after migrate:fresh --seed. The whole point: a demo that actually runs the real path is the cheapest way to keep these four gotchas from coming back.






The takeaway



Every one of these bugs lives at the package ↔ host boundary — names the framework reserves, assets the host may not have built, layouts the host may not define, defaults that quietly disable your own safety net. When you ship UI inside a package, assume the host gives you nothing, make the fallback self-sufficient, and wire a workbench that exercises the real path end-to-end.



Open source: github.com/cleaniquecoders/laravel-config-webhook.

CTI Threat Relationship Graph2 Knoten / 1 Relationen
CVE / Incident Software MITRE ATT&CK CWE Weakness IoC
SOC Incident Playbook: Remote Code Execution (RCE) Defense
title: Detect Exploitation - Shipping a Livewire 4 + Flux admin UI inside a package: four gotchas that 500'd on me
id: 25c1ce2b-8783-4d80-ada9-dbfa6317297e
status: experimental
description: Automatisch generierte SIEM-Erkennungsregel basierend auf CTI Intelligence
references:
  - https://tsecurity.de/
author: iShareStuff CTI Automated Detection Engine
date: 2026-09-24
logsource:
  category: network_connection
  product: any
detection:
  selection:
      CommandLine|contains:
        - 'exploit'
  condition: selection
falsepositives:
  - Legitime administrative Zugriffe oder Penetrationstests
level: high
tags:
  - attack.initial_access
rule CTI_Threat_Indicator {
    meta:
        author = "iShareStuff CTI Automated Detection Engine"
        date = "2026-09-24"
        description = "YARA Signature for "
    strings:
        $str = "Shipping a Livewire 4 + Flux a" ascii wide
    condition:
        any of them
}
tsecurity.de Cognitive Threat RAG
Fokus-Vektor:

Kognitive Analyse für identifizierte Bedrohung: Erhöhte Bedrohungslage im Bereich Shipping a Livewire 4 + Flux admin UI in.... Basierend auf 368k Vektor-Korrelationen werden sofortige Isolationsmaßnahmen für betroffene Endpunkte empfohlen.

🛡️ Angriffsfläche & Exposure

Netzwerk/Remote-Zugriff ohne Vorauthentifizierung möglich.

⚡ Empfohlene Sofortmaßnahmen
  • 1. Perimeter-Inspektion: Relevante Portfreigaben und exponierte Endpunkte unverzüglich scannen.
  • 2. Patch-Applikation: Hersteller-Hotfix einspielen oder betroffene Daemons in isolierte DMZ-Segmente überführen.
  • 3. Telemetrie & EDR-Alerts: Prozessaufrufe und Child-Processes auf anomale Shell-Spawns überwachen.
🔗 Semantisch verwandte Zero-Days MariaDB 11.7 VEC
Ähnliche Beiträge
🔍 Verwandte News

Auch interessante Nachrichten Shipping a Livewire 4 + Flux admin UI inside a package: four gotchas that 500'd on me

Thematisch verwandte Begriffe: Shipping, Livewire, Flux, admin · 6 Treffer

Laden...

Videos werden geladen ...

Laden...

Beiträge werden geladen ...

Laden...

Videos werden geladen ...

Laden...

Beiträge werden geladen ...

Laden...

Videos werden geladen ...

Laden...

Beiträge werden geladen ...

Laden...

Videos werden geladen ...

Laden...

Beiträge werden geladen ...

Laden...

Videos werden geladen ...

Zum Aktualisieren ziehen
ZERO-DAY CVE-2026-97152 | Nanomsg versions 0.5-beta through 1.x before 1.2.3 has a remotely exploi…
Advisory →
TTS Reader • tsecurity.de Voice
tsecurity.de Icon
tsecurity.de App
Offline-Lesen, Eilmeldungen & 0ms Ladezeit

Installiere tsecurity.de direkt auf deinen Home-Bildschirm für das ultimative Vollbild-Magazinerlebnis ohne Browser-Leisten.

Nächster Beitrag
Themen-Radar & Intelligence Matrix
Echtzeit-Taxonomie nach Angriffsvektoren & Plattformen

tsecurity.de Live Threat Radar

🔴 LIVE RADAR
MONITORING
AKTIV
CVE-DATENBANK
LIVE
🔍
Community Radar & Live Chat
Sentinel Bot online • Live-Stream
Dein Cluster: Security Explorer
Match:
lädt…
Verbindung zum Community-Stream wird aufgebaut...
Bearbeitungsmodus — Senden überschreibt deine Nachricht
Community-Puls — was gerade passiert
lädt…
Aktivitäten deiner Analysten
lädt…
Neues Thema oder Eilmeldung einreichen

Reiche interessante Links, Zero-Days oder Debatten ein. Die Community entscheidet per Upvote über die Veröffentlichung.

Heiß diskutierte Einreichungen
🔖 Gespeicherte Artikel
📂 Keine gespeicherten Artikel vorhanden.
Zurück Ziehen Vor
Links: vorheriger Artikel • Rechts: nächster Artikel • unten: schließen
News NIS-2 Frühwarnung Tier-1 Intel TTP ⏱️ 3 Min vor 10 Min
Artikeldaten werden geladen...

Zurück: vorheriger • Vor: nächster
↗ Original-Quelle
Social Reaktionen Deine Reaktion zählt
Einstufung & Relevanz-Poll 0 Stimmen
In sozialen Netzwerken teilen 1-Klick