Debugbar and Clockwork Check: What StackShield Detects
Checks whether Laravel Debugbar or Clockwork is active on the public site.
What This Check Detects
Checks whether Laravel Debugbar or Clockwork is active on the public site.
Full Documentation
What this check looks for
StackShield looks for Laravel Debugbar and Clockwork on your public site. For Debugbar it checks whether the bar is rendered into your pages and whether stored requests can be read from /_debugbar/open. For Clockwork it checks for the X-Clockwork-Id response header and whether collected request data is served from /__clockwork.
Why it matters
Both tools exist to show a developer everything about a request: every SQL query with its bindings, the session, request headers, log output and configuration. On a production site they show the same to every visitor, and their storage endpoints let a visitor browse other people's requests.
What a failed check means
A debugging tool is collecting and serving request data in production. Set DEBUGBAR_ENABLED=false or CLOCKWORK_ENABLE=false, keep APP_DEBUG=false, and install these packages with composer require --dev so a --no-dev deploy leaves them out entirely.
This check is paired with the scanner package's inside view. A mismatch between the two usually means the production environment differs from what the codebase assumes.
Related Security Checks
Laravel Ignition Exposure
Checks if Laravel Ignition error page is exposed in production.
Laravel Telescope Exposure
Checks if Laravel Telescope debugging tool is exposed in production.
Laravel Debug Mode
Checks if Laravel debug mode is enabled in production.
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.