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
Auditing a deep URL silently audits the site root; the page you named may not be audited #1369
squirrel audit https://example.com/blog/some-launch-post audits https://example.com. The CLI sets the report's baseUrl to the origin, seeds from the sitemap and crawls the site. The path you named may not be among the audited pages at all. Nothing in the output tells you this happened.
Seen at scale in a batch of ~38k audits (v0.0.141): 6,657 targets were deep URLs (product pages on company blogs, app-store listings, landing pages). Three audits of three different posts on one company blog had the same baseUrl and the same 41 pages, so they were three copies of one audit. Running per URL wasted about 5% of the batch, and anyone reading one of those reports assumes it covers the page they asked for.
Expected
If the start URL has a path, the CLI says up front that it will audit the whole site from the origin, and the report records the URL the user asked for (for example meta.requestedUrl) as well as baseUrl.
The requested page is always among the audited pages, even when -m is small.
Optional: a way to keep the crawl to the path prefix (for example --scope path) for people auditing one section of a large site.
Acceptance Criteria
squirrel audit <origin>/<path> prints a notice before crawling that names both the URL as given and the origin it will audit.
The JSON report holds the URL as given, alongside baseUrl.
With -m 5, the requested path is one of the audited pages (it is seeded first, before sitemap URLs).
A start URL with no path (https://example.com or https://example.com/) prints no notice and gives the same report as now.
The docs page for squirrel audit explains how a deep start URL is handled.
I can take this. I’ll keep the requested deep URL distinct from the origin in CLI/report output, put the requested page ahead of sitemap entries in the crawl frontier, and add focused tests plus the audit docs/changelog update.
Activity
WilliamK112 commentedon Oct 30, 2026
I can take this. I’ll keep the requested deep URL distinct from the origin in CLI/report output, put the requested page ahead of sitemap entries in the crawl frontier, and add focused tests plus the audit docs/changelog update.
style(cli): apply workspace formatter squirrelscan#1369
fix(cli): preserve deep audit start URL squirrelscan#1369
style(cli): apply workspace formatter squirrelscan#1369
fix(cli): align deep URL redirects squirrelscan#1369
fix(cli): harden deep URL seed ordering squirrelscan#1369
fix(cli): preserve deep audit start URL #1369
style(cli): apply workspace formatter #1369
fix(cli): align deep URL redirects #1369
fix(cli): harden deep URL seed ordering #1369
nc9 commentedon Oct 31, 2026
Shipped in v0.0.147 (
47271665b941d7fbaf46427fd94c6fc2), verified against main: every acceptance criterion is met. Release: https://github.com/squirrelscan/squirrelscan/releases/tag/v0.0.147nik