You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Rule: detect information disclosure in crawled responses (stack traces, filesystem paths, debug pages, DB errors) #2334
Many sites leave debug output, absolute filesystem paths, stack traces or database errors on normal pages and error pages. Version numbers in headers are already covered by security/version-disclosure.
Acceptance Criteria
A shared info-disclosure classifier lives in the rules package and detects absolute paths (/var/www, /home/*/public_html, C:\inetpub), stack traces (Python, Java, Node, PHP), framework debug pages (Laravel, Symfony, Django, Rails, ASP.NET) and DB errors (SQLSTATE, ORA-, PG::, mysqli)
A rule applies it to crawled page and error-page bodies and quotes a snippet of bounded length
Version numbers in headers stay with security/version-disclosure and are not reported twice
A styled 404 page with no internal details is not flagged
Activity
fix(rules): info-disclosure needs a trace beside bare identifiers, sp…
feat(rules): security/info-disclosure flags stack traces, paths, debu…
fix(rules): info-disclosure needs a trace beside bare identifiers, sp…
docs(rules): bump the agent skills pages to 360+ audit rules #2334
feat(rules): security/info-disclosure flags stack traces, paths, debu…
fix(rules): info-disclosure needs a trace beside bare identifiers, sp…
feat(rules): security/info-disclosure flags stack traces, paths, debu…
fix(rules): info-disclosure needs a trace beside bare identifiers, sp…
feat(rules): security/info-disclosure flags stack traces, paths, debu…
fix(rules): info-disclosure needs a trace beside bare identifiers, sp…