Repository navigation
Releases
v0.0.191
This release is signed with the squirrelscan release key, key id 3d10cf3775665622. If squirrel self update from 0.0.189 or earlier fails with ATTESTATION_FAILED (only when the GitHub CLI is logged in), re-run the install one-liner once (curl -fsSL https://install.squirrelscan.com | bash). It rolls up v0.0.191-beta.1 and v0.0.191-beta.2, with the new security/csp-violations rule, wider security/leaked-secrets coverage and shared components no longer sinking scores as the headline changes.
Added
security/leaked-secretsreads the places a repository scanner cannot see: HTML comments (locationhtml-comment), framework server-side data payloads such as Next.js__NEXT_DATA__, Nuxt__NUXT__, Remix__remixContextand SvelteKit__sveltekit_*(locationframework-payload, with the framework and its loader named in the finding), the original sources inside same-origin source maps (source-map), and same-origin config endpoints a bundle fetches by literal URL (config-endpoint). Source maps and config endpoints cost at most 10 extra requests per audit, one per URL, on the audit's fetch budget, and a cross-origin URL is never requested (#362)security/cspnow says whether the policy would contain a compromised third-party script on a page that loads one:csp-connect-unrestrictedwarns when script can send data to any host (no restrictingconnect-srcordefault-src, or one with*or a scheme such ashttps:),csp-strict-dynamic-third-partynotes that'strict-dynamic'trusts scripts vendors insert,csp-no-reportingnotes an enforced policy with noreport-toorreport-uri, andcsp-unsafe-scriptsnames the vendor scripts'unsafe-eval'exposes (#2087)- A failed
squirrel self update, or a failed update accepted at the startup prompt, now reports one bounded error code to telemetry (self_update:<CODE>, fixed message, no URLs or paths). Telemetry opt-outs apply as before. (#2243) - New rule
security/csp-violationsreports what the browser actually blocked under a page's Content-Security-Policy during a rendered crawl, grouped by blocked host and directive, with the host to add. A blocked analytics, ads, payments, captcha, form or booking vendor is an error. Plain HTTP pages are skipped with a reason, and rendered pages whose renderer did not record violations are listed as not checked, never passed. (#425)
Changed
- Scores: the issue-density penalty now pools the findings that component evidence marks as one shared element (such as a header logo link repeated on every page) and caps the pool, per score, at the weight of one failing element, however many pages or shared findings it holds, so shared components can no longer sink the overall score. Scores move for audits with repeated chrome findings, and the report's adjustment line says how much of the density penalty came from shared components (#2256)
squirrel auth loginandsquirrel setup(when signed in) now end with a plain-text pointer to the dashboard at https://app.squirrelscan.com to finish onboarding (#4976)- Rendered cloud audits now start checking a page as soon as its cloud data is ready, instead of waiting for the cloud step to finish across the whole crawl, so rules run earlier on pages that are already prefetched. (#2121)
Fixed
a11y/identical-links-same-purposeno longer reports links whose visible text is missing from their aria-label, whicha11y/label-content-name-mismatchalready flags, so one defect gives one finding (#2226)- A link written without a scheme (
example.org/a) is now shown masked in reports asexample.org/ainstead of a bare…(#2281) squirrel self updateno longer says a binary "was not built by the release workflow" when an attestation check fails, and every attestation or signature failure now names the recovery step (re-run the install one-liner) and links the docs (#2284)security/cookie-flags: there is onecookie-httponlycheck again. A session-like cookie withoutHttpOnlyon a page that loads third-party scripts iscookie-httponlyat fail, any other cookie withoutHttpOnlyiscookie-httponlyat warn, so a cookie that moves from warn to fail is one finding getting worse and keeps its first-seen date. 0.0.191-beta.1 shipped a separatecookie-httponly-third-party-scriptscheck name, so a beta user's local store will see that check disappear andcookie-httponlyreturn at fail on the next audit (#2298)- A merged
cookie-httponlyfinding no longer states fewer cookies than the items it lists when pages each list different cookies; the count reads as a range up to the merged items. (#2300) - Partial re-audits now score the same as full audits for findings that repeat as shared components on carried pages, including findings with several items (#2301, #2304).
security/supabase-rlsandreliability/broken-formsnow read an explicit "this audit may request other hosts" flag instead of inferring it from the external link results, sosecurity/supabase-rlsruns in the normal pass and is no longer capped by the late link-check deadline on aggressive runs with a time limit (#2109)- A crawl whose only page is a 2xx bot-challenge or empty-shell document (no doctype or
<html>, or generic "checking your browser" wording) is now reported asblockedwith no score, the same as a hard block, instead of a normal-looking health score (#2250). squirrel crawlno longer shows the project-name prompt when stdin or stdout is not a TTY, so piped and scripted runs no longer hang (#2263)
Security
security/leaked-secretsnow masks a secret that sits in the URL a finding names, such as a key in a script's query string or a token in a path segment, so the report no longer prints it in plain text. Labels, affected pages, occurrences and the lists of unread scripts all show it as a short prefix and suffix around an ellipsis, in every report format (#2270)security/cookie-flagsandsecurity/token-storagenow rate a finding one step higher, from warning to failure, when the page loads scripts from another domain, and name up to five of those script hosts, since any script on the page can read a cookie withoutHttpOnlyor a token in web storage.security/cookie-flagsraises only session-like cookies, ascookie-httponlyat fail. Pages with no third-party script report as before (#2089)
Docs
- The rule pages for 42 more rules (crawl and security) list the check names each rule emits and which clean check clears which problem check (#2218).
- The rule pages for 38 more rules (ax, core and url) list the check names each rule emits and which clean check clears which problem check (#2218).
- The telemetry FAQ and
selfdocs now say a failedsquirrel self updatealso sends the error category's fixed one-line description, never the raw error text. (#2243)
npm: this version is published to npm without provenance. It was built off GitHub Actions, and npm provenance needs a GitHub OIDC identity. The binaries carry the squirrelscan release-key signature instead.
Signed with the squirrelscan release key 3d10cf3775665622: every asset has a .sig (DER ECDSA P-256 over SHA-256), verify with openssl dgst -sha256 -verify.
v0.0.191-beta.1
Added
security/cspnow says whether the policy would contain a compromised third-party script on a page that loads one:csp-connect-unrestrictedwarns when script can send data to any host (no restrictingconnect-srcordefault-src, or one with*or a scheme such ashttps:),csp-strict-dynamic-third-partynotes that'strict-dynamic'trusts scripts vendors insert,csp-no-reportingnotes an enforced policy with noreport-toorreport-uri, andcsp-unsafe-scriptsnames the vendor scripts'unsafe-eval'exposes (#2087)- A failed
squirrel self update, or a failed update accepted at the startup prompt, now reports one bounded error code to telemetry (self_update:<CODE>, fixed message, no URLs or paths). Telemetry opt-outs apply as before. (#2243) - New rule
security/csp-violationsreports what the browser actually blocked under a page's Content-Security-Policy during a rendered crawl, grouped by blocked host and directive, with the host to add. A blocked analytics, ads, payments, captcha, form or booking vendor is an error. Plain HTTP pages are skipped with a reason, and rendered pages whose renderer did not record violations are listed as not checked, never passed. (#425)
Changed
- Rendered cloud audits now start checking a page as soon as its cloud data is ready, instead of waiting for the cloud step to finish across the whole crawl, so rules run earlier on pages that are already prefetched. (#2121)
Fixed
security/supabase-rlsandreliability/broken-formsnow read an explicit "this audit may request other hosts" flag instead of inferring it from the external link results, sosecurity/supabase-rlsruns in the normal pass and is no longer capped by the late link-check deadline on aggressive runs with a time limit (#2109)- A crawl whose only page is a 2xx bot-challenge or empty-shell document (no doctype or
<html>, or generic "checking your browser" wording) is now reported asblockedwith no score, the same as a hard block, instead of a normal-looking health score (#2250). squirrel crawlno longer shows the project-name prompt when stdin or stdout is not a TTY, so piped and scripted runs no longer hang (#2263)
Security
security/cookie-flagsandsecurity/token-storagenow rate a finding one step higher, from warning to failure, when the page loads scripts from another domain, and name up to five of those script hosts, since any script on the page can read a cookie withoutHttpOnlyor a token in web storage.security/cookie-flagsraises only session-like cookies, in a newcookie-httponly-third-party-scriptscheck. Pages with no third-party script report as before (#2089)
Docs
- The rule pages for 38 more rules (ax, core and url) list the check names each rule emits and which clean check clears which problem check (#2218).
- The telemetry FAQ and
selfdocs now say a failedsquirrel self updatealso sends the error category's fixed one-line description, never the raw error text. (#2243)
npm: this version is published to npm without provenance. It was built off GitHub Actions, and npm provenance needs a GitHub OIDC identity. The binaries carry the squirrelscan release-key signature instead.
Signed with the squirrelscan release key 3d10cf3775665622: every asset has a .sig (DER ECDSA P-256 over SHA-256), verify with openssl dgst -sha256 -verify.
v0.0.190
This release is signed with the squirrelscan release key, key id 3d10cf3775665622. If squirrel self update from 0.0.189 or earlier fails with ATTESTATION_FAILED (only when the GitHub CLI is logged in), re-run the install one-liner once (curl -fsSL https://install.squirrelscan.com | bash). It rolls up v0.0.190-beta.1 and v0.0.190-beta.2, with key-signed releases, the stale-HTML re-audit fix and em-dash-free output as the headline changes.
Added
- Smart-audit reports state, per rule check, how many pages held an open finding going in, how many this run re-checked and how many stayed carried (
meta.coverage.findings), and the requested page set when one is given (meta.coverage.requested), so a consumer can decide whether an issue may resolve after a partial re-audit. JSON schema 1.30. (#2079) squirrel audit --target-urlaccepts--compare-url(repeatable): a comparison set fetched once next to the targets, socontent/duplicate-descriptionandcrawl/schema-noindex-conflictrun over those pages instead of skipping withtargeted-run. Every other site rule is reported as not checked. (#2096)
Changed
- CLI output and rule messages no longer contain em dashes; they use a colon, comma or parentheses instead, and a guard test keeps them out. (#2211)
- The console report labels its counts: section headers count findings ("3 warning findings") and the Group and Category Breakdown count checks ("Category Breakdown (checks):"), so the numbers no longer read as a contradiction. (#2212)
schema/entity-publisher-mismatchnow says "two entities share the name X" and names both@ids when the publisher and the primary organization have the same name, instead of calling the publisher "not the primary organization" (#2227).security/form-captcharecognises honeypot fields: a public form whose only protection is a hidden decoy input withtabindex="-1"andautocomplete="off"now reports as info naming the honeypot instead of a warning. (#2228)- A targeted audit (
squirrel audit --target-url) now runs the site rules that can be judged from the listed pages alone:links/broken-links,links/broken-anchorsandlinks/broken-external-linksreport broken links on the listed pages,security/leaked-secretsscans those pages and the scripts they load, andsecurity/csp,security/hstsandsecurity/x-frame-optionsjudge each listed page's own response headers, each finding naming the pages it was read from. The links on the listed pages are status-checked again, each target once and nothing else: the internal link check sends its HEAD control to a listed page instead of the start URL, and external link checks follow the run's level and--external-links/--no-external-links(the note that--external-linksis ignored is gone, andmeta.auditLevel.settings.externalLinksis the run's real setting). Rules that need the whole site (orphan pages, sitemap coverage, duplicates across pages) still skip withtargeted-run.squirrel report --difflists a site finding that names no page as not compared, with the new reasontargeted-run, instead of counting it fixed after a targeted run. The scan line now reads "rules that need the whole site were not run". (#1778) - Correction to an earlier release note: the rule cache adds under 3% of CPU time on a cold run for typical sites (measured at +2.2% on squirrelscan.com and +0.6% on docs.squirrelscan.com), rather than the earlier cost being gone entirely. Very large pages are still being measured in #2206. (#1971)
security/supabase-rlswaives an intentionally public table by its bare name:[[ignore]]withitems = ["posts"]waives thepoststable in every project. Each finding item is now labelled with the table name alone, with the row count beside it, and the fail message no longer lists table names, so a waived table no longer appears in it (#2103)security/supabase-rlsnow probes up to 30 tables per Supabase project and 40 per audit (was 8 and 10), picks them in a fixed name order so the same site probes the same tables on every run, and says how many tables were checked and how many were left unchecked in a not-checked result and in a fail that did not reach every table (#2104)a11y/paste-inputsnow reports paste blocking on password and one-time-code fields only (type="password", orautocompleteofcurrent-password,new-passwordorone-time-code) and maps to WCAG 2.2 success criterion 3.3.8 Accessible Authentication (Minimum), so--wcag-level AAkeeps it. Paste, copy or cut blocking on other fields, and copy or cut blocking on password fields, is no longer reported. (#2106)crawl/server-errorsnow reports each 5xx page as its own finding, so findings store, compare and resolve per page: a page that recovers resolves while other pages still fail, and a page the crawl did not fetch keeps its open finding (#2130).- Team is now a flat plan: $89 a month or $890 a year for 15,000 pooled credits, with unlimited members and no seat charge. Per-seat Team subscriptions keep their price, seats and credits (#2148).
Fixed
a11y/duplicate-id-ariano longer errors on a missingaria-controlsoraria-ownstarget of a collapsed disclosure (aria-expanded="false") oraria-haspopuptrigger. Missing ids now read "ARIA reference to a missing id", separate from duplicated ids; a missingaria-labelledbyoraria-describedbytarget stays an error and other missing targets are a warning. (#2224)crawl/sitemap-domainno longer flags URLs from a sitemap declared in robots.txt on another host (or its child sitemaps), and its messages say whether the sitemap was robots-declared. (#2225)squirrel analyzeno longer counts warnings from advisory rules in its warning total, so its totals match the audit report, and it prints a line saying why the totals can still differ slightly (#2213).a11y/aria-command-nameno longer flags a link or button named by a childsvg role="img"witharia-labeloraria-labelledby(#2223).- Re-audits no longer reuse a stored page for up to a day when a site sends CDN cache headers (
s-maxage,stale-while-revalidate): the crawler ignoress-maxageand revalidates stale pages with a conditional request (#2229). - A leaking current-user endpoint such as
/api/meis now always reported exactly once.security/unauthenticated-apireports every endpoint it finds, and squirrel keeps one finding per endpoint after the site rules finish: thesecurity/auth-endpoint-disclosurefinding when that rule reported the endpoint, otherwise thesecurity/unauthenticated-apione. Before, an endpoint handed tosecurity/auth-endpoint-disclosurelost its finding when that rule threw an error or ran past its time budget. (#2082) For JSON consumers: thedeferredToAuthdetail on thesecurity/unauthenticated-apiclean row is replaced byreportedByandreportedElsewhere. - A password, password hash or secret field that both
security/json-sensitive-fieldsandsecurity/auth-endpoint-disclosurefind on a current-user or session endpoint such as/api/accountis now reported once, bysecurity/auth-endpoint-disclosure, and the endpoint is requested once per audit. Each rule reports on its own, and after the site rules finish squirrel drops only the overlapping field fromsecurity/json-sensitive-fields, which keeps its other fields, such as card numbers and access tokens. (#2083) - Console output: correct singular counts ("1 error", "1 warning"), the
analyzeConfig line printed above the spinner instead of onto it,squirrel entitieslisting every entity the "no @id" count includes with unnamed entities printed once, and the--probe aggressivehint shown once in the exposed files note (#2086). - links/anchor-mismatch no longer flags links on translated stores: inflected anchor words ("Sadler" for "cykelsadel"), trailing counts ("Shoes (15)") and locale prefixes in the target path ("/da-dk/") are matched correctly (#2092).
- Fixed the date column in the
squirrel reportlist running into the Pages column. (#2095) - Re-audits that crawl only part of a site no longer count a check that was skipped on a carried-over page (for example
perf/ttfbwith no timing data) as a pass: the page row records what its last crawl could not evaluate, in the cloud and in the CLI's local store, so the carried page scores as it did in the full audit (#2099). squirrel report --inputnow keepsmeta.partialAuditfrom the saved report and publishes with it, so a partial audit is no longer republished as complete. (#2102)a11y/color-contrastnow holds large text (18pt, or 14pt bold) to the WCAG 3:1 ratio instead of 4.5:1, so large headings and buttons are no longer flagged when they pass (#2105).- a11y/reduced-motion counts a reduced-motion rule as handling only for the selectors it covers, or for the whole page when it is a global reset (
*,html,body,:root), so a library stylesheet such as Font Awesome 6 no longer hides a page's own motion; a motion library's own reduce rule ([data-aos],.animate__animated,.animated) still handles that library. Matching is by element, not selector text, so Tailwind'smotion-reduce:animate-noneon ananimate-spinelement and animate.css infinite animations covered by the library's reduce rule no longer warn, and a reduce rule for.Spinno longer clears.spin(#2111) - The
a11y/zoom-disabledrule page and solution now say WCAG 1.4.4 requires 200% text resize and that themaximum-scalecutoff of 5 is the Lighthouse threshold. Rules with no WCAG criterion can now list related criteria as links on their rule page. (#2115) - Quick crawls now fetch the start URL when the sitemap lists it past maxPages, so home-page-unreachable no longer fires falsely. (#2127)
- Rules near-duplicate, conversion-path and commerce-readiness report a coded gap (or keep a stored finding open) for input they did not fully check (#2134)
- `squirrel entit...
v0.0.190-beta.2
This release is signed with the squirrelscan release key, key id 3d10cf3775665622. If you are logged in to gh and on 0.0.189 or older, run the install one-liner once (curl -fsSL https://install.squirrelscan.com | bash), or run env -u GH_TOKEN -u GITHUB_TOKEN GH_CONFIG_DIR=$(mktemp -d) squirrel self update, because older CLIs only accept GitHub attestations. Re-audits no longer reuse a stored copy of a page for up to a day when the site sends CDN cache headers (#2229).
Added
- Smart-audit reports state, per rule check, how many pages held an open finding going in, how many this run re-checked and how many stayed carried (
meta.coverage.findings), and the requested page set when one is given (meta.coverage.requested), so a consumer can decide whether an issue may resolve after a partial re-audit. JSON schema 1.30. (#2079)
Changed
- CLI output and rule messages no longer contain em dashes; they use a colon, comma or parentheses instead, and a guard test keeps them out. (#2211)
- The console report labels its counts: section headers count findings ("3 warning findings") and the Group and Category Breakdown count checks ("Category Breakdown (checks):"), so the numbers no longer read as a contradiction. (#2212)
schema/entity-publisher-mismatchnow says "two entities share the name X" and names both@ids when the publisher and the primary organization have the same name, instead of calling the publisher "not the primary organization" (#2227).security/form-captcharecognises honeypot fields: a public form whose only protection is a hidden decoy input withtabindex="-1"andautocomplete="off"now reports as info naming the honeypot instead of a warning. (#2228)
Fixed
squirrel analyzeno longer counts warnings from advisory rules in its warning total, so its totals match the audit report, and it prints a line saying why the totals can still differ slightly (#2213).a11y/aria-command-nameno longer flags a link or button named by a childsvg role="img"witharia-labeloraria-labelledby(#2223).- Re-audits no longer reuse a stored page for up to a day when a site sends CDN cache headers (
s-maxage,stale-while-revalidate): the crawler ignoress-maxageand revalidates stale pages with a conditional request (#2229).
Docs
- The rule pages for 39 more rules (adblock, ai, analytics, i18n, integrity, legal, local, mobile, reliability, social and video) list the check names each rule emits and which clean check clears which problem check (#2218).
npm: this version is published to npm without provenance. It was built off GitHub Actions, and npm provenance needs a GitHub OIDC identity. The binaries carry the squirrelscan release-key signature instead.
Signed with the squirrelscan release key 3d10cf3775665622: every asset has a .sig (DER ECDSA P-256 over SHA-256), verify with openssl dgst -sha256 -verify.
v0.0.190-beta.1
This release is signed with the squirrelscan release key, key id 3d10cf3775665622, instead of a GitHub attestation. If you are logged in to gh and on 0.0.189 or older, run the install one-liner once (curl -fsSL https://install.squirrelscan.com | bash), or run env -u GH_TOKEN -u GITHUB_TOKEN GH_CONFIG_DIR=$(mktemp -d) squirrel self update, because older CLIs only accept GitHub attestations. The token variables are unset because either one would still authenticate gh. Everyone else is unaffected. Signed installs on Linux need openssl or a logged-in gh; the installer adds openssl itself on Alpine when run as root. npm has no provenance attestation on this release.
Added
squirrel audit --target-urlaccepts--compare-url(repeatable): a comparison set fetched once next to the targets, socontent/duplicate-descriptionandcrawl/schema-noindex-conflictrun over those pages instead of skipping withtargeted-run. Every other site rule is reported as not checked. (#2096)
Changed
- A targeted audit (
squirrel audit --target-url) now runs the site rules that can be judged from the listed pages alone:links/broken-links,links/broken-anchorsandlinks/broken-external-linksreport broken links on the listed pages,security/leaked-secretsscans those pages and the scripts they load, andsecurity/csp,security/hstsandsecurity/x-frame-optionsjudge each listed page's own response headers, each finding naming the pages it was read from. The links on the listed pages are status-checked again, each target once and nothing else: the internal link check sends its HEAD control to a listed page instead of the start URL, and external link checks follow the run's level and--external-links/--no-external-links(the note that--external-linksis ignored is gone, andmeta.auditLevel.settings.externalLinksis the run's real setting). Rules that need the whole site (orphan pages, sitemap coverage, duplicates across pages) still skip withtargeted-run.squirrel report --difflists a site finding that names no page as not compared, with the new reasontargeted-run, instead of counting it fixed after a targeted run. The scan line now reads "rules that need the whole site were not run". (#1778) - Correction to an earlier release note: the rule cache adds under 3% of CPU time on a cold run for typical sites (measured at +2.2% on squirrelscan.com and +0.6% on docs.squirrelscan.com), rather than the earlier cost being gone entirely. Very large pages are still being measured in #2206. (#1971)
security/supabase-rlswaives an intentionally public table by its bare name:[[ignore]]withitems = ["posts"]waives thepoststable in every project. Each finding item is now labelled with the table name alone, with the row count beside it, and the fail message no longer lists table names, so a waived table no longer appears in it (#2103)security/supabase-rlsnow probes up to 30 tables per Supabase project and 40 per audit (was 8 and 10), picks them in a fixed name order so the same site probes the same tables on every run, and says how many tables were checked and how many were left unchecked in a not-checked result and in a fail that did not reach every table (#2104)a11y/paste-inputsnow reports paste blocking on password and one-time-code fields only (type="password", orautocompleteofcurrent-password,new-passwordorone-time-code) and maps to WCAG 2.2 success criterion 3.3.8 Accessible Authentication (Minimum), so--wcag-level AAkeeps it. Paste, copy or cut blocking on other fields, and copy or cut blocking on password fields, is no longer reported. (#2106)crawl/server-errorsnow reports each 5xx page as its own finding, so findings store, compare and resolve per page: a page that recovers resolves while other pages still fail, and a page the crawl did not fetch keeps its open finding (#2130).- Team is now a flat plan: $89 a month or $890 a year for 15,000 pooled credits, with unlimited members and no seat charge. Per-seat Team subscriptions keep their price, seats and credits (#2148).
Fixed
- A leaking current-user endpoint such as
/api/meis now always reported exactly once.security/unauthenticated-apireports every endpoint it finds, and squirrel keeps one finding per endpoint after the site rules finish: thesecurity/auth-endpoint-disclosurefinding when that rule reported the endpoint, otherwise thesecurity/unauthenticated-apione. Before, an endpoint handed tosecurity/auth-endpoint-disclosurelost its finding when that rule threw an error or ran past its time budget. (#2082) For JSON consumers: thedeferredToAuthdetail on thesecurity/unauthenticated-apiclean row is replaced byreportedByandreportedElsewhere. - A password, password hash or secret field that both
security/json-sensitive-fieldsandsecurity/auth-endpoint-disclosurefind on a current-user or session endpoint such as/api/accountis now reported once, bysecurity/auth-endpoint-disclosure, and the endpoint is requested once per audit. Each rule reports on its own, and after the site rules finish squirrel drops only the overlapping field fromsecurity/json-sensitive-fields, which keeps its other fields, such as card numbers and access tokens. (#2083) - Console output: correct singular counts ("1 error", "1 warning"), the
analyzeConfig line printed above the spinner instead of onto it,squirrel entitieslisting every entity the "no @id" count includes with unnamed entities printed once, and the--probe aggressivehint shown once in the exposed files note (#2086). - links/anchor-mismatch no longer flags links on translated stores: inflected anchor words ("Sadler" for "cykelsadel"), trailing counts ("Shoes (15)") and locale prefixes in the target path ("/da-dk/") are matched correctly (#2092).
- Fixed the date column in the
squirrel reportlist running into the Pages column. (#2095) - Re-audits that crawl only part of a site no longer count a check that was skipped on a carried-over page (for example
perf/ttfbwith no timing data) as a pass: the page row records what its last crawl could not evaluate, in the cloud and in the CLI's local store, so the carried page scores as it did in the full audit (#2099). squirrel report --inputnow keepsmeta.partialAuditfrom the saved report and publishes with it, so a partial audit is no longer republished as complete. (#2102)a11y/color-contrastnow holds large text (18pt, or 14pt bold) to the WCAG 3:1 ratio instead of 4.5:1, so large headings and buttons are no longer flagged when they pass (#2105).- a11y/reduced-motion counts a reduced-motion rule as handling only for the selectors it covers, or for the whole page when it is a global reset (
*,html,body,:root), so a library stylesheet such as Font Awesome 6 no longer hides a page's own motion; a motion library's own reduce rule ([data-aos],.animate__animated,.animated) still handles that library. Matching is by element, not selector text, so Tailwind'smotion-reduce:animate-noneon ananimate-spinelement and animate.css infinite animations covered by the library's reduce rule no longer warn, and a reduce rule for.Spinno longer clears.spin(#2111) - The
a11y/zoom-disabledrule page and solution now say WCAG 1.4.4 requires 200% text resize and that themaximum-scalecutoff of 5 is the Lighthouse threshold. Rules with no WCAG criterion can now list related criteria as links on their rule page. (#2115) - Quick crawls now fetch the start URL when the sitemap lists it past maxPages, so home-page-unreachable no longer fires falsely. (#2127)
- Rules near-duplicate, conversion-path and commerce-readiness report a coded gap (or keep a stored finding open) for input they did not fully check (#2134)
squirrel entitiesno longer fails or bloats on sites with very large entity maps: stored references per page and edges per source are capped at 1000, and a corrupt references row is skipped with a warning instead of aborting the command (#2135).- An audit whose config
[rules]selection plus the WCAG level leaves zero rules to run is now refused before the crawl starts, instead of crawling the site and reporting an empty audit (#2110). - Local incremental re-audit totals and score now count carried findings in the full audit's check units. (#2159)
- A sourced
install.shno longer sends failure reports, and a report with no message names what failed. Test harnesses and wrappers that source the script were reporting made-up failures as real install failures. A failure with no message now says which command failed, on which line, how the script was run and which bash ran it, and a curl exit code is only blamed on curl when a request was made (repo#5020). install.shnow providesopensslon Alpine/musl (as root, withapk, next tolibstdc++), so signed releases install on a bare Alpine image. On other Linux systems withoutopensslor a logged-ingh, the signed-release error names the fix (apt-get install -y openssl,dnf install opensslorapk add openssl, the line for your distro first). It never runs a package manager for you outside Alpine.
Security
install.sh,install.ps1andsquirrel self updateaccept a release signed by a pinned squirrelscan release key (ECDSA P-256, checked withopenssl, .NET and WebCrypto) as well as one with a GitHub build attestation. A signature from an unpinned or revoked key, or one that does not verify, stops the install even if an attestation would pass. Fromfirst_signed_versionup, sha256 alone is never accepted: a missing.sigwith no verifiable attestation is a hard failure, with or withoutgh. The current key, id 3d10cf3775665622, is pinned, and this release is the first one signed with it (docs) (squirrelscan/repo#5032)
Docs
- The
squirrel reporthelp says...
v0.0.189
A new rule, reliability/js-errors, reports JavaScript errors and failed runtime requests on rendered pages, and says plainly when a page has no runtime data instead of counting it as a pass. The CLI now checks a site with the same user agent its crawl uses, and when a site resets connections from browser-like clients it falls back to squirrelscan's own user agent and tells you. squirrel feedback --json returns a receipt, and the agent setup prompt keeps the first audit free and asks before anything that spends credits or publishes.
Added
squirrel feedback --json(and the MCPsend_feedbacktool) now returns areceiptid once the API accepts the feedback, and stores it with the entry so the team can find it. The agent setup prompt also gets a failure-report step (#4951).- New cloud-only rule
reliability/js-errors: reports uncaught JavaScript exceptions, framework hydration mismatches, first-partyconsole.errormessages and runtime requests that fail after load (5xx or 404), as seen by the cloud render. Findings are grouped across the site by message and source file with the page count. 401 and 403 from the site's own API, requests the renderer blocks or aborts,ResizeObserver loopmessages, CSP violations and WAF challenge pages are not reported. A local or--httpaudit lists it among the cloud checks that did not run. It reads a new optionalruntimeblock on a render result, which the cloud renderer does not record yet. A page with no runtime data is a coded gap,runtime-not-recorded, listed under Not checked: until the renderer records it the rule is skipped, and once it does, a pass needs runtime data from every page judged. (#704)
Fixed
- The audit no longer dies on sites that reset browser-like clients. The reachability probe now sends
[crawler] user_agent(and drops Chrome client hints for non-Chrome agents), and when a connection reset hits the default browser agent it retries once as the honestSquirrelScan/...agent and crawls as that agent, saying so in one line and in the report (userAgentFallback, JSON schema 1.29). A site that resets every client now reports "connection reset by the site: it may block browser-like clients" with the fix. (#2140)
Docs
- The agent setup prompt now runs the first audit with
--offline --level quickwhatever the sign-in state, checkssquirrel auth statusfirst, asks for consent before credit spend, publishing or recurring audits, never passes--yes, preserves an existing setup, and ends with a sanitized failure report and the exact next step (#4949, #4950, #4951).
v0.0.188
Leaked secret findings now show where the key sits: a redacted snippet of the code around it, with nearby passwords, tokens and quoted values starred out, so you can find it in your source without the report repeating anything sensitive. ax/markdown-response now catches a site that errors on a strict Accept: text/markdown request, and reports an unanswered probe as not checked instead of fixed. Every rule declares whether its findings are about a page or something shared, and the agent skills served over MCP cover report groups and rule-group filters.
Added
security/leaked-secretsfindings carrymeta.context: a redacted snippet of up to 120 characters either side of the match, so you can find the key in the source without refetching it. The key is masked as in the item id. Nearby quoted literals keep none of their characters, whatever their length. A stray apostrophe (as in a// don'tcomment) or a quote in a regex does not unmask a literal after it when that literal is an assigned value, an argument, a list item, a||or&&operand, or has no whitespace in it (echo 'a;b',-p'S3cr;t'). Unquoted values after=,:or=>are replaced by asterisks up to the next whitespace or quote, whatever their length, son=482andcvv=91show none of their characters, and when the key names a secret (password,DB_PASS,dbPassword,api_key,PASSWORD2,"password",passwordless,pin, but notpassword_hint,token_urlorspinner) up to the end of the line and onto every following line indented deeper than the key, sopassword: correct horse battery staple, a YAMLpassword: |or>block,PASSWORD=correct horse battery STRIPE=on the match's own line andDB_PASS=Tr0ub;4dor&xshow none of their words. Such a key is read from up to 1,024 characters before the snippet, so its value is starred even when the key itself is cut off, and the direct text of an XML element named by a label (<password>hunterabc</password>) is starred too. A run of 12 or more characters after a secret's label such aspassword,passcode,pin,API keyorX-Api-Keyis starred out, and so are auth-scheme tokens, long token-shaped runs, letter-and-digit runs and URL credentials. Known limits: after a stray quote, a literal that holds whitespace and code punctuation in a place that is not an operand (echo 'a b;c') can show, so can a word of under 12 letters only after a label with no=or:(password hunter), and so can text inside a CDATA section or a nested child element of a labelled XML element (<password><![CDATA[correct horse battery]]></password>). Code punctuation between two literals can be starred out with them. See security/leaked-secrets. (squirrelscan/repo#2215)
Fixed
ax/markdown-responsenow tells a server error apart from absent Markdown. The probe also requests the homepage with a strictAccept: text/markdown, the header a Markdown-only agent sends, because the lenient probe ends in*/*and a server can answer it with HTML while it errors on the strict one. A 5xx on the strict request, while the lenient request was answered, is reported as a newmarkdown-negotiation-errorfailure that counts against the score. When the strict request gets no answer (refused, throttled, timed out or out of probe budget), the check is skipped as not checked with the coded reasonstrict-probe-unanswered, so an earlier finding stays open instead of reading as fixed. A site that simply does not serve Markdown still gets the score-neutral recommendation, and an/index.mdthat never answered is reported as not checked, not absent. (squirrelscan/repo#1322)
Docs
- Plugin rules can declare
findingScope("page" or "resource") to say whether a finding is about one page or something shared across pages, and every built-in rule now declares it. Nothing in audit output, scores or the JSON report changes. (squirrelscan/repo#1885) - The agent skills served over MCP (the
io.modelcontextprotocol/skillsextension ofsquirrel mcpand the hosted server) now coverreport --group,group:<id>in rule filters, the 24 hour script cache and theISSUE_REPLACEDerror with duplicate issue handling, and carry the new skill versions: squirrelscan 2.2, audit-website 3.2 (squirrelscan/repo#4912).
v0.0.187
Three more rules, again landed as one batch: pages that are near copies of each other with a city or a date swapped, product pages whose offer is missing what a shopping agent needs (price, availability, shipping, returns), and pricing or product pages whose only calls to action leave the site. squirrel entities now reads exact per-page figures from the local store, Microsoft Clarity is detected in first-party bundles, and the agent skills served over MCP say 350+ rules.
Added
- New rule
content/near-duplicate. Groups indexable pages whose main text is nearly identical: the same page with a city name, a date or a sentence swapped, a small edit (location pages, programmatic landing pages), whichcontent/duplicate-contentcannot see because it only matches exact copies. Each page's main text (navigation, header, footer, sidebars and forms dropped) is reduced to a 64-bit simhash over distinct word triples (a repeated phrase counts once), and pages within 5 bits of each other form a cluster that lists every member URL. A paragraph rewritten out of several is beyond the limit and is not reported. A cluster of 10 or more distinct texts fails (doorway scale), a smaller one warns. Exact copies inside a cluster are counted and left tocontent/duplicate-content, a group made only of exact copies is not reported twice, and pages that share one canonical or are hreflang versions of each other are left out. Skips a crawl under 10 pages. The hash is stored per page (page_features.content_simhash, schema version 46) so the streaming and legacy paths give the same answer. (squirrelscan/repo#1369) squirrel entitiesnow reads exact per-page figures from the local store. The store records each page's declaration count and references, and whether an audit wrote a map at all, so a page that declares the same entity twice keeps itsentityCount, and an audit that found no JSON-LD is shown as a completed empty map instead of being passed over for an older audit. Audits stored before this release still read as before. The local store schema is version 47 (two new tables, nothing existing changed). (squirrelscan/repo#2105)- New rule
content/conversion-path: warns when a pricing, service or product page has prominent call-to-action buttons that all leave the site for a social profile and the page has no form,mailto:ortel:link, or link to a contact, booking or checkout page. When the only way to convert is an off-site booking or checkout tool such as Calendly or Stripe Checkout, it reports info. Money pages are found from the URL path andProduct,OfferorServiceschema; blog posts and documentation are never judged. A page that was not read completely and showed no call to action is not judged, so a finding from an earlier audit stays open. See content/conversion-path. (squirrelscan/repo#3004) - New rule
ax/commerce-readiness: on sites detected as ecommerce or marketplace, checks each product page's offer for price, currency, availability, shipping details, a return policy and a product identifier, and notes linked product feeds and agent checkout manifests (detected only, never scored). Other site types get one skipped check. Force it on or off with[rule_options."ax/commerce-readiness"] applies = "on" | "off", or thecommerceargument of theaudit_websiteMCP tool. A page that was not read completely is not judged, so a finding from an earlier audit stays open. See ax/commerce-readiness. (squirrelscan/repo#3881)
Docs
- The agent skills served over MCP (the
io.modelcontextprotocol/skillsextension ofsquirrel mcpand the hosted server) now state 350+ rules, matching the rule registry, and carry the new skill versions: squirrelscan 2.1, audit-website 3.1 (squirrelscan/repo#4859).
v0.0.186
Five more rules, landed together in one batch: a page that still answers 5xx is now a finding, typography slips such as mixed quotes and double spaces get flagged, pages whose navigation drifted from the rest of the site stand out, generic "click here" anchors are measured as a share of the whole site, and an advisory check spots question headings that never get to the point. The new server errors rule judges a site only on a complete crawl, so quick and surface audits show it as not checked. That takes squirrelscan to 350+ rules.
Added
- New rule
content/typography: flags typographic inconsistencies in body copy: repeated spaces between words, straight and curly quotes or apostrophes mixed on one page, a space before, . ; : ! ?, and--used where a dash was meant. Text inside<pre>,<code>,<samp>and<kbd>is never read. The space-before-punctuation check is not run for French and related locales, nor for a page with nolang. It is an info rule with weight 1 and a warning at most (a fail only at 20 or more occurrences), so it cannot move the score more than any other info-class rule. See content/typography. (squirrelscan/repo#1358) - New rule
links/nav-set-divergence: flags pages whose navigation is missing links the rest of the site has: a landing page built outside the shared layout, an older template, a header or footer include that failed to render. The norm is every internal header, navigation and footer link carried by at least 70% of the pages, and it must be shared by at least 70% of them to count. A page missing norm links is reported with the exact hrefs (a warning, or a failure when it is missing at least half the norm). A section with its own navigation, such as a docs sidebar, is compared within its page type and is not flagged against the marketing nav, and a localized section (/fr/,/de/) is compared within its own locale. The rule skips a crawl under 10 pages, under 10 pages with navigation links, or with no clear norm. It is a normal local rule: no model, no account, no surcharge. The per-page set is stored inpage_features.nav_link_set(schema version 45) so the streaming and legacy paths give the same answer. See links/nav-set-divergence. (squirrelscan/repo#1370) - New rule
links/generic-anchor-density: measures generic anchor text ("click here", "read more", "learn more", "here", "this page") as a site-wide share of internal content anchors, not a per-page note. It warns at 20% and fails at 40% by default (warnRatio,failRatio), lists the ten pages with the most generic anchors, and skips a crawl with fewer than 30 anchors (minAnchors). Nav, header, footer and aside links are not counted. The generic phrase list is now shared withlinks/anchor-textanda11y/link-text, which both gainthis page. See links/generic-anchor-density. (squirrelscan/repo#1387) - New rule
crawl/server-errorsfails once per crawled page whose final response is 5xx, listing the URL and status code. A page that errors and then answers on a retry is stored as the healthy page it became and is not reported. A page still 5xx after the retries is now stored as an error page so the rule can see it. Throttled responses (429, or a 503 withRetry-After) are not server errors. A crawl that stopped at its page cap or left URLs queued reports the 5xx pages it did fetch but is not counted as clean, since a page it never reached may still be failing. The same holds for a crawl that gave up on some pages (a timeout, a refused connection, a body it could not read): it is listed as not checked with the reasonpages-not-fetched(squirrelscan/repo#2036). - New rule
ax/answer-blocks, an advisory rule for content pages. It lists question headings (h2toh4ending in a question mark) with no short, self-contained answer in the first two sentences, and data tables or charts with no source next to them. It isinfoseverity, so it never changes the score. The Agents section of the console, text, markdown and HTML reports now carries one line that links to the existing date, author and citation rules (eeat/content-dates,content/freshness,content/date-agreement,eeat/author-byline,eeat/author-expertise,eeat/citations) with their status, without repeating their findings. See ax/answer-blocks. (squirrelscan/repo#3882)
Docs
- Rule totals say 350+. With
crawl/server-errorsthe live total reaches 350 enabled rules, so the README, the docs and the npm and plugin descriptions now state 350+ (squirrelscan/repo#2036).
v0.0.185
Seven new rules this time, with a soft spot for the things that quietly go wrong as a site grows: titles chopped mid-word by a character limit, pages left behind on an old template, a palette that sprawled into a dozen almost identical blues, one anchor text pointing three different ways, a 404 page that answers 200, a home page that does not load at all, and the WebMCP tools a browsing agent can call. Every report now says how much JavaScript a site ships and who sent it, squirrel report --group filters by rule group, and script-heavy pages audit faster.
Added
- When your balance makes
squirrel auditrun a smaller audit, the CLI prints your balance, what the next audit needs, and a top-up or upgrade link, at most once a day per account (squirrelscan/repo#1118). - New rule
content/truncation-artifacts(squirrelscan/repo#1360): flags a<title>, meta description or body excerpt that was cut mid-word by a character limit. A text counts as cut when it is the start of a longer text on the page (the H1,og:title,og:descriptionor the body) and the longer text carries on inside a word, when an ellipsis is glued to a partial word at a round CMS limit (60, 70, 155, 160 and so on), or when a title or description of exactly that length ends on a dangling word such astheorand. A title or description cut fails; body copy ending in an orphaned ellipsis with no read more link only warns. An ellipsis after a whole word, a quotation and noindex pages are left alone. - New rule
integrity/chrome-outlierflags pages left on an outdated or broken site template: pages in small template clusters and singletons on a site where one template covers at least 70% of pages (10 pages minimum) that lack that template's navigation, its footer, all of its stylesheets or all of its CSS and script hosts. A page that only adds a route-level stylesheet or a body class, or keeps the site stylesheet while lacking a post stylesheet, an image CDN or a preconnect host, is not reported. It reads the stored template fingerprint, skips pages thatintegrity/template-discontinuityalready reports, and warns on a few stragglers or fails when they reach 10% of the crawl. See integrity/chrome-outlier. (squirrelscan/repo#1367) - New rule
links/anchor-target-conflict(squirrelscan/repo#1372): reports one anchor text that points at several different pages across the site (the pages that deviate from the leading destination are listed), and one page linked with four or more unrelated anchor texts. Generic anchors such asread more, navigation links and the homepage are left out, it needs at least 10 pages, and an anchor is only reported when one destination takes at least 70% of the pages using it. See links/anchor-target-conflict. - New rule
content/color-sprawl: converts every color literal (hex,rgb(),hsl(),oklch(), named) in<style>blocks andstyle=attributes to OKLab and clusters by perceptual distance. It warns when more colors are visually indistinguishable from another thanmax_redundant(default 6), failing at three times that, and warns for a color that only one page uses inline and no linked stylesheet the audit read uses or defines. Literals in--custom-propertydefinitions are not counted, so a token-driven design system stays clean. Near-duplicates are counted from inline styles only. Up to 20 same-site linked stylesheets are read (ctx.site.stylesheets) to define the palette, so a brand color a stylesheet uses site-wide is not an outlier; every finding says how many stylesheets were read, or that none were. A site with no inline color data is skipped, not passed. A crawl under 10 pages is skipped. Local rule, no account, no credits. The per-page signal joins the site-dom-signals record, so each site's first audit after the upgrade runs fresh once. See content/color-sprawl. (squirrelscan/repo#1377) - New probing rule
crawl/custom-404(squirrelscan/repo#1386): on anactiveoraggressiverun it sends oneGETto a random path that cannot exist and judges the answer. A 2xx is a soft 404 (fail), a redirect is a warning, and a real 404 or 410 is checked for a stock server page, a route back into the site andnoindex. Belowactive, offline, or when no 404 response was observed it reports skipped, never pass. It extendscrawl/soft-404, which still judges the pages the crawl fetched. - New rule
crawl/home-page-unreachable: when the audited URL does not load because its DNS did not resolve, the TLS handshake failed, the connection was refused or dropped, the server timed out or it answered 5xx, the audit now reports an error finding with the cause, so a down site shows up in findings and alerts instead of only as a failed run. A 4xx answer, a robots.txt refusal and a bot wall are not reported by this rule. When the audit has no result for the home page (it was not fetched, or failed for a reason squirrel could not classify), the check is listed as not checked and an earlier finding stays open. See crawl/home-page-unreachable. (squirrelscan/repo#2035) - A JavaScript shipped line in every report format. It gives the script bytes the audit measured, the framework runtime's share when one is recognised by its chunk path (Next.js, Nuxt, Astro or SvelteKit), the third-party share, the scripts not measured, and the three pages that load the most script. The JSON report has a top-level
javascriptobject (schema 1.28), and the LLM and XML reports a<javascript>element. The line is left out when no script was measured, never affects the score, and survives a latersquirrel report. See JavaScript shipped (squirrelscan/repo#3397). - New rule
ax/webmcp(squirrelscan/repo#396): reports declarative WebMCP tools, the<form toolname tooldescription>declarations a browsing agent can call, and flags invalid ones (an empty or malformedtoolname, a missingtooldescription, duplicate names,toolnameon a non-form, named-parameter problems). It also lists forms that are not tools, notes inlinenavigator.modelContextregistration (detected, not validated) and notes a visible CAPTCHA widget on a tool form, recommending an invisible or agent-tolerant check while keeping the protectionsecurity/form-captchaasks for. It is informational and never lowers the score; the accessibility and layout-shift checks stay in the existinga11y/*andperf/cls-hintsrules, which it links to. See ax/webmcp. That makes 343 rules. - On rendered pages, the XHR and fetch requests a page makes now feed endpoint discovery as
rendercandidates, under the same same-origin filter and caps. Cross-origin requests are recorded but never probed (squirrelscan/repo#4188). - Filter by rule group (
seo,performance,security,ai).squirrel report --group securityshows only that group's issues; it takes a comma-separated list and combines with--category, so an issue must match both.rules.enableandrules.disablein config, and--rule-includeand--rule-exclude, acceptgroup:<id>, which expands to every category in the group (group:performancecoversperf/*). An unknown group is an error that lists the valid ones. See squirrel report and config (squirrelscan/repo#639).
Changed
- A re-audit within 24 hours reads the site's scripts from the local cache instead of requesting them again, keeping each script's content type, compression, caching headers and response time;
--refreshor--no-incrementalturns the cache off, and a script that redirects or sends aSourceMapheader is never cached, so its redirect and source map findings stay accurate on every run (squirrelscan/repo#1415). - Script-heavy pages audit faster (squirrelscan/repo#1864): each inline script's text is read once per rule.
security/leaked-secretsno longer scans every inline script a second time inside the page's HTML, which takes its per-page cost on a 1 MB storefront page from about 32 to 17 ms. A value in an inline script is reported only atinline-script(a public Shopify token on a Shopify page used to show ashtml), andmeta.occurrencesno longer lists a duplicatehtmlentry for it.a11y/skip-linkandperf/js-librariesno longer serialise or search the whole page for what they already read; their results are unchanged. schema/breadcrumbno longer fails a page because of one link: only a breadcrumb trail named in the markup (anaria-label,classoridcontaining breadcrumb, outside the site header and footer, and not a page-state class such ashas-breadcrumbsor a page wrapper) counts, a link the page classifier's model alone placed in the breadcrumbs section never does, and the trail needs at least two links. Because the trail is read from the markup, the check now also runs with--no-classifier, and a link in a markup-named trail now carries thebreadcrumbssection (squirrelscan/repo#3365).- With the page classifier on,
content/keyword-stuffingleaves words in the header, navigation, footer, sidebar and other site chrome out of its density count, and checks footer link blocks on their own (keyword-stuffing-footer). With the classifier off nothing changes (squirrelscan/repo#3544).
Fixed
crawl/sitemap-coverageandintegrity/orphan-pagetreat a sitemap whose read state was not recorded as unknown, not complete. Coverage skips its missing-page check and says why, and orphan-page no longer escalates a page to likely injected on that sitemap's word (#1869).- The CLI's bot protection warning now appears only when the craw...