Repository navigation
Description
A user reports audits failing on servers that run a common fail2ban "sensitive files" jail. Before the crawl starts, every audit requests a fixed set of discovery paths. The requests for /swagger.json and /openapi.json match the jail, the server bans the auditing IP, and every request after that gets connection refused. The audit fails after the first page.
Reproduced on 0.0.98: five /.well-known/* requests did not trigger a ban. swagger.json and openapi.json did.
--rule-exclude ax does not help. The probes run inside the crawler, before any rule runs, whether or not a rule will read their results.
What runs before the first page
About 28 extra requests to the root origin on every audit, besides robots.txt and sitemaps:
| Probe | Requests |
|---|---|
/llms.txt, /llms-full.txt |
2 |
markdown negotiation: / with Accept: text/markdown, /index.md |
2 |
| well-known and agent files (list below) | 20, sent at the same time |
/ fetched as a browser, GPTBot and Claude-User |
3 |
RSL licensing: /robots.txt plus any license docs it links |
1+ |
The 20 well-known and agent-file paths
/.well-known/mcp/server-card.json, /.well-known/mcp.json, /.well-known/mcp, /.well-known/mcp-server, /.well-known/agent-card.json, /.well-known/agent-skills/index.json, /.well-known/api-catalog, /openapi.json, /swagger.json, /api/openapi.json, /.well-known/oauth-authorization-server, /.well-known/oauth-protected-resource, /AGENTS.md, /agents.md, /.well-known/agents.md, /docs/AGENTS.md, /ai-plugin.json, /.well-known/ai-plugin.json, /.well-known/llms.txt, /docs/llms.txt
All 20 go out at once and bypass the per-host throttle, so per_host_concurrency = 1 and per_host_delay_ms (the settings we recommend for crawling a sensitive host politely) do not slow them down.
Proposal
- A switch to turn them all off:
[crawler] discovery_probes = falseinsquirrel.toml, plus--no-discovery-probesfor a single run. robots.txt and sitemap discovery keep running, because the crawl needs them. - Follow the rule selection. If every rule that reads a probe's results is excluded (
--rule-exclude ax,rules.disable), skip that probe with no extra setting. - When a probe does not run, the rules that depend on it say "not checked". They never report the file as missing.
- Discovery probes respect the per-host throttle, like every other request.
Acceptance Criteria
- with
[crawler] discovery_probes = false, an audit sends no request to any path listed above, and robots.txt and sitemap discovery still run -
--no-discovery-probesdoes the same for one run and overrides the config value - excluding every rule that reads a probe (for example
--rule-exclude ax) skips that probe with no other setting - a rule whose probe did not run reports "not checked", never "missing", and is not counted as a failure
- discovery probes obey
per_host_concurrencyandper_host_delay_ms - the docs list the pre-crawl requests and show how to turn them off
- the squirrelscan skill (squirrelscan/skills,
skills/squirrelscan/SKILL.md) covers the switch: when an audit fails after the first page with connection refused or a sudden block, the agent reruns with--no-discovery-probesor sets[crawler] discovery_probes = false
Activity
nc9 commentedon Sep 23, 2026
related is the draft probe intensity work for detecting security issues - audit runs fail on this because of WAFs and network firewalls.
add documentation on authenticating squirrelscan
nc9 commentedon Sep 23, 2026
ensure we're consistent in the cli and config on disable / enable vs yes / no (disable would be preferred)
feat(crawler): let users turn off the pre-crawl discovery probes (#409)
feat(cli): rename to --disable-discovery-probes, point at firewall ex…
fix(crawler): discovery probe review fixes (#409)
docs(squirrelscan): rename to --disable-discovery-probes, point at fi…
feat(crawler): let users turn off the pre-crawl discovery probes (#409)…
docs(squirrelscan): rerun without discovery probes when a firewall ba…
docs(cli): keep the #409 history comment accurate
docs(cli): keep the #409 history comment accurate
docs(cli): keep the #409 history comment accurate