Horizon Exposure Check: What StackShield Detects

Checks whether the Horizon queue dashboard or its API is readable without signing in.

application security Easy fix 10 minutes

What This Check Detects

Checks whether the Horizon queue dashboard or its API is readable without signing in.

Full Documentation

What this check looks for

StackShield requests the Laravel Horizon dashboard at /horizon and its statistics API without signing in, and checks whether either one answers with real Horizon content. A 403 means Horizon is installed and its gate is doing its job.

Why it matters

Horizon shows every queued, completed and failed job with its full payload. Payloads carry whatever your jobs were given: user records, email contents, API tokens, signed URLs. The dashboard also lets the visitor retry and delete jobs. Horizon lets everyone in when APP_ENV is local, so a production server with the wrong environment value has an open dashboard without anyone having changed the gate.

What a failed check means

Anyone who visits /horizon can read your job data. Define the viewHorizon gate in HorizonServiceProvider so only named users pass, and confirm APP_ENV=production.

This check is paired with the scanner package's inside view, which reports whether a production gate is configured. If your code says the gate is there and this check still fails, StackShield raises the disagreement as a mismatch.

Related Security Checks

Free security check

Is your Laravel app exposed right now?

34% of Laravel apps we scan have at least one critical issue, and most teams do not find out until something breaks. The free scan checks your live app in 60 seconds. Then StackShield re-runs every check after each deploy, so a fix you ship today does not quietly regress next week.

18% have debug mode on
72% missing security headers
12% have exposed .env
Scan My App Free No signup for the scan. Continuous monitoring on a 14-day trial, no card.