Files
pruefwerk/compliance-dast/tests
Sharang ParnerkarandClaude Opus 5.5 55409eb930
CI / Check (push) Skipped
CI / Detect Changes (pull_request) Skipped
CI / Deploy Agent (pull_request) Skipped
CI / Deploy Dashboard (pull_request) Skipped
CI / Deploy Docs (pull_request) Skipped
CI / Deploy MCP (pull_request) Skipped
CI / Agent integration (pull_request) Successful in 6m4s
CI / Check (pull_request) Successful in 20m33s
fix(dast): robots.txt is an Info finding only when it names reachable sensitive paths
The API fuzzer reported every robots.txt as a Medium "sensitive resource
that should not be publicly accessible", including `Disallow: /`. A
robots.txt is public by design.

- robots.txt leaves the list of paths that should not be public.
- A separate check reads its `Disallow` lines and keeps the literal paths
  that look sensitive (admin, backup, config, debug, .git, .env, ...);
  patterns and `Disallow: /` name no single resource.
- Each such path counts as reachable only when it answers with its own
  content, not with what the site sends for a made-up path (a single-page
  app's catch-all, a login page).
- Reachable paths make one Info finding (CWE-200) that lists them.

Part of #997.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01Q9inRcu428A2iNjDHPEAT9
2026-11-16 03:31:46 +01:00
..