Skip to content

feat: v0.0.179 batch E-H - #1764

Merged
nc9 merged 60 commits into
mainfrom
integration/v0179
Nov 11, 2026
Merged

nc9 merged 60 commits into
mainfrom
integration/v0179

Conversation

@nc9

@nc9 nc9 commented Nov 11, 2026 •

Copy link
Copy Markdown
Contributor

Integration bundle E+F+G+H for v0.0.179, rebased on v0.0.178 (main b6c3dbc). One PR, one CI run, one train. It replaces batch E (#1763, now a draft) and the single PRs and Boat patches listed below.

Closes

Batch E (from #1763)

Batches F, G, H

Release order

#1639 adds the partial reason crawl_timeout, which the private API validates. After this merges, the private gitlink bump must deploy BEFORE the v0.0.179 version bump and tag.

Docs for issues as action plans and for the cloud version were dropped from this bundle: the private API does not match them yet. They go in a later bundle once the private side ships.

JSON report schema

E keeps 1.12 (crawlPhase, lcp-preload page evidence). #1734 is 1.13 (lockedRules, cause, causeDetail). #1744 is 1.14 (meta.pageTypes). All three are in limits.ts, docs/configuration/output.mdx and the version tests.

Score note

Rules that ran and found nothing now record a clean pass instead of an empty checks list (nine rules: the four page integrity rules, kit-signature, cloaking and known-malicious-url as skipped when off, content/date-agreement, schema/rating-scope). Pass rows count toward the score, so scores can rise by about a point. The canonical golden pins this (health 53 to 54, 105251 to 108253 findings).

Rule meta text or name changes (private catalog regen needed in the gitlink bump)

Rule cache format is now prc-6 (#1756 adds stylesheetBackgrounds to the page-rule context).

Verified

Rebuilt by cherry-picking F, G and H onto the E base; CHANGELOG rebuilt so Unreleased holds exactly the bundle's bullets and released sections equal origin/main. extract-changelog.awk for 0.0.179, test-changelog-extraction.sh and check-released-changelog.sh origin/main pass. Gates run locally by explicit path: tsgo in core-contracts, utils, rules, report, audit-engine, crawler, fetchers, parser and cli; apps/cli format:check and lint; docs make validate; the schema, report, rules declaration, golden (streaming canonical, finding messages), publish-cap, render-blocking, leaked-secrets, page-type, nut-shop, MCP and template fan-out tests. golden-baseline was not run (machine out of swap). DCO sign-off on every commit.

Agent skill: needs a change for the local MCP list_pages tool and meta.pageTypes (private issue squirrelscan/repo#4010).

nc9 added 30 commits November 12, 2026 00:47
… state in sitemap-coverage #1651

Signed-off-by: Nik Cubrilovic <[email protected]>
…t only, engine tests for sitemap read state #1651

Signed-off-by: Nik Cubrilovic <[email protected]>
…dling #1639

Add --crawl-timeout and [crawler] crawl_timeout (max 6 h), derive the default from page budget and effective per-host rate, report a crawl_timeout partial status with a crawlPhase object (JSON schema 1.12), and report rate-limited or challenged sitemap URLs as unverified instead of orphans.

Signed-off-by: Nik Cubrilovic <[email protected]>
…lPhase stamping and rebuild #1639

Signed-off-by: Nik Cubrilovic <[email protected]>
…reasons #1655

A 429 from an off-origin sitemap host no longer stops the optional probes.
Agent access and RSL probes now observe block signals, a block on a
configured page is not checked, and a redirect that was not followed has
its own not-checked reason. Adds samePathRedirect tests.

Signed-off-by: Nik Cubrilovic <[email protected]>
Move the node:tls probe from apps/cli to @squirrelscan/fetchers/tls-probe
(egress guard and CONNECT proxy handling unchanged); the CLI path re-exports
it. wwwVariant moves to utils/tls-certificate so fetchers does not depend on
rules. The raw-socket guard test allowlists the one probe file. Add an
audit-engine test that runStreamingRules threads tlsProbe to the rule.

Signed-off-by: Nik Cubrilovic <[email protected]>
An explicit http CONNECT proxy wins over the proxy environment and NO_PROXY
and is used like an environment proxy (name vetted, CONNECT to the vetted
address, TLS inside the tunnel). An unusable URL is not checked, never a
direct socket. Unset: behaviour is unchanged.

Signed-off-by: Nik Cubrilovic <[email protected]>
…d #3922

A hosted run (RunnerScope.hosted, ctx.hosted) reports security/tls-certificate
as not checked without advice about networks, proxies or --offline, and the
report hint follows details.environment. The CLI wording is unchanged. Tests
cover both wordings and an engine-level verdict change through
runStreamingRules. The rule docs describe where the check runs.

Signed-off-by: Nik Cubrilovic <[email protected]>
…scanned counts) for the dashboard and the published report #3915

Signed-off-by: Nik Cubrilovic <[email protected]>
…lscan.com; reports live on the org's squirrel.report address

Signed-off-by: Nik Cubrilovic <[email protected]>
…d_party_scan credit feature

Signed-off-by: Nik Cubrilovic <[email protected]>
…ult, linked skill versions, auto-update, offline scores #1730

Signed-off-by: Nik Cubrilovic <[email protected]>
…utes on macOS and Linux #1733

127.0.0.2 only routes to loopback on Linux. 0.0.0.0 reaches this machine on both and is not on the localhost fast path, so the request tool still carries the probe. Checked by mutation: with the body-sample timeout, the reachability timeout and the request deadline all disabled, the test fails.

Signed-off-by: Nik Cubrilovic <[email protected]>
…eason, rendered per reason in every format #1734

Adds LockedRule.reason (plan, provider_error, unsupported_environment) and detail, and cause/causeDetail on notChecked entries; all optional. Reports with no reason keep today's wording. JSON schema 1.12 (lockedRules, notChecked cause). Docs: reports.mdx, configuration/output.mdx. Agent skill: no change needed (the reason is data in the report an agent already reads).

Signed-off-by: Nik Cubrilovic <[email protected]>
… page and header evidence #1735

crawl/schema-noindex-conflict: pages and items (capped sample, sorted by URL) with each page's schemaTypes and blockedBy, true count in details.occurrences and details.pagesTruncated. security/csp: every check names the page (pages, details.pageUrl) and header; csp-unsafe-scripts and csp-wildcard add the directive carrying the weak source, its value (cut to 300 chars) and a directives list. Prose unchanged. Verified in the streaming engine (golden test, no DOM) and with a local squirrel audit --offline of a fixture site: affectedPages, items and details came out as documented. Docs: both rule pages. No rule count change; README/docs index untouched. Agent skill: no change needed.

Signed-off-by: Nik Cubrilovic <[email protected]>
…rried invariant, rotated-set test #1031

Public half only. Criteria 1 and 2 (a count of pages with a finding and no page record) need the hosted store's GROUP BY (private repo#3509); the docs now state the real semantics and the invariant, and a test pins a capped run that rotates its pages.

Signed-off-by: Nik Cubrilovic <[email protected]>
…ne repeated across 5+ cards; pin the short contact page #1441

Narrow relaxation only. The 20% deduction cap, the raw-density limit and the floor are unchanged, so AC1 and AC3 (a card-dominated page, and raising the cap on large grids) still await the cap decision: the pins for the card-dominated 24-card page stay as they were (the shipping note is now deductible but the cap leaves it counted). AC2 (short contact page with a plain menu) pinned; AC6 docs updated.

Signed-off-by: Nik Cubrilovic <[email protected]>
…s and skips the cloud checks #2729

Signed-off-by: Nik Cubrilovic <[email protected]>
…ome, so missing and present-but-weak differ #1737

Check rename: hsts-no-pages, hsts-not-applicable, hsts-missing, hsts-malformed, hsts-disabled, hsts-max-age-short, hsts (adequate, kept); x-frame-options-no-pages, x-frame-options-missing, x-frame-options-allow-from, x-frame-options-invalid, x-frame-options-csp-frame-ancestors, x-frame-options (valid header, kept). Check names are part of finding identity, so findings that carried the old single name re-key once on the next audit: a missing, short or invalid header appears as a new finding and the old one resolves. Golden finding-messages updated (two lines). Docs: both rule pages list the names. Agent skill: no change.

Signed-off-by: Nik Cubrilovic <[email protected]>
…e chain, the five-hop cap and a loop #1281

Checkpoint. The feature itself (resolver, consent, exit 4, MCP handshake, SSRF guard per hop, destination estimate and registration, outputs, docs, skill) is on main; the cloud alias of the original URL on the website row is the one open criterion and is a hosted change (private). No local https fixture exists, so the http to https to www chain stays a resolver unit test; the e2e covers the multi-hop shape.

Signed-off-by: Nik Cubrilovic <[email protected]>
… dead domain, reserved suffix), awaiting-confirmation gets its own warning, pass message says what was verified #1739 #1740

Signed-off-by: Nik Cubrilovic <[email protected]>

#1739: links/broken-external-links severity is error. Confirmed broken (404, 410, 'domain does not exist', 'invalid link: no such domain suffix') fails under broken-external-links; 5xx, timeouts, TLS and connection errors and other 4xx warn under possibly-broken-external-links; a first failure awaiting its confirming check (unverifiedReason awaiting-confirmation) warns under awaiting-confirmation-external-links ('likely broken, being confirmed'), no longer under waf-blocked-external-links; walls, rate limits, refused and not-requested still only inform. #1740: a link under .invalid, .test or .example (RFC 6761) on a public site's audit is answered as 'no such domain suffix' without a lookup and is never sent to the cloud checker, not listed as refused; a private-network audit looks it up. A non-resolving name on a real TLD stays broken ('domain does not exist'); a local NXDOMAIN is confirmed on a second lookup, and a resolver timeout or SERVFAIL is unverifiable, never broken. refused-external-links covers only private, loopback, link-local and metadata addresses and no longer mentions DNS. The pass message says 'X of Y verified working; Z could not be verified or were not checked' when any link was not verified. The solution says a lapsed domain can be re-registered. Squashed into one commit because the rule file's edits for both issues interleave. Score impact on the local fixture (one 404 link, one dead host, one working): overall 31 -> 31, Reliability 87 -> 75, failures 4 -> 5. The private side confirms a first 404 itself (#3991).
…that ran never return an empty list (#1741)

Signed-off-by: Nik Cubrilovic <[email protected]>
…blish cap keeps coverage-gap rows (#1749)

Signed-off-by: Nik Cubrilovic <[email protected]>
nc9 added 14 commits November 12, 2026 00:53
… than 1 s with their measured time #1751

Signed-off-by: Nik Cubrilovic <[email protected]>
…e computed background and counts what it cannot measure #1752

Signed-off-by: Nik Cubrilovic <[email protected]>
…sized image, perf/total-byte-weight names the heaviest resource #1753

Signed-off-by: Nik Cubrilovic <[email protected]>
…arm host, so it stops flapping near the limit #1751

Signed-off-by: Nik Cubrilovic <[email protected]>
… missing meta, lang fix/regress diff

Signed-off-by: Nik Cubrilovic <[email protected]>
Signed-off-by: Nik Cubrilovic <[email protected]>
@nc9 nc9 mentioned this pull request Nov 11, 2026
…e-site linked stylesheets #1756

Signed-off-by: Nik Cubrilovic <[email protected]>
Comment thread packages/fetchers/src/tls-probe.ts Dismissed
nc9 added 10 commits November 12, 2026 01:01
…ylesheet paints as not measured #1756

Signed-off-by: Nik Cubrilovic <[email protected]>
… whatever the crawl order #1761

Signed-off-by: Nik Cubrilovic <[email protected]>
…undle and script-limit fixes

Signed-off-by: Nik Cubrilovic <[email protected]>
…ce, to 8 levels, and bounds the selector guard #1756

Signed-off-by: Nik Cubrilovic <[email protected]>
…e (CodeQL polynomial-redos)

Signed-off-by: Nik Cubrilovic <[email protected]>
…lean pass, product-discovery goes through parser/dom, refused fetches stop optional probes (#1741, #1651, #1655)

Signed-off-by: Nik Cubrilovic <[email protected]>
…0.0.179 until the private API matches (#1738, #1743)

Signed-off-by: Nik Cubrilovic <[email protected]>
…tml, text and markdown reports (#1734)

Signed-off-by: Nik Cubrilovic <[email protected]>
@nc9
nc9 merged commit d28a9e8 into main Nov 11, 2026
16 checks passed
@nc9
nc9 deleted the integration/v0179 branch November 11, 2026 19:14
@nc9 nc9 mentioned this pull request Nov 11, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

content/keyword-stuffing: card microcopy, teaser and menu terms still warn on a real shop (#1315 residual)

2 participants