Debug Tooling
EasyChecks whether Laravel Debugbar or Clockwork is active on the public site.
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.
Automatically detect this issue
StackShield can automatically scan your Laravel application for this security issue and alert you when it's detected.
Start Free Trial