Skip to content

chore: merge-train bundle v0.0.181 - #1823

Merged
nc9 merged 25 commits into
mainfrom
bundle/v0.0.181
Nov 13, 2026
Merged

nc9 merged 25 commits into
mainfrom
bundle/v0.0.181

Conversation

@nc9

@nc9 nc9 commented Nov 13, 2026

Copy link
Copy Markdown
Contributor

Merge-train bundle for v0.0.181. Cherry-picks (authorship kept, DCO signed) in this order:

  1. fix(report): retain discovery probe coverage gaps #1794 #1806 d7f520a56 discovery probe coverage gaps
  2. chore(waf-detect): capture and sanitise WAF block-page samples #1328 #1809 b879e5057 WAF block-page sample capture (sanitiser)
  3. refactor(fetchers): share the TLS probe with the cloud worker through a subpath #3922 #1812 d291bd114 TLS probe subpath, requireProxy
  4. feat(release): verify GitHub build attestation in the install path #169 #1810 dfe1fb0be build attestation in the install path (the older feat(release): verify GitHub build attestation in the install path #169 #1810 commits that docs(security): keep tls-certificate wording CLI-only until the cloud probe ships (merge-train 1113c) #1814 carried are not duplicated)
  5. feat(core-contracts): add llm_rules_page credit feature, pricing v13 #1815 7f748956c llm_rules_page credit feature, pricing v13
  6. docs(mcp): add the verify_url tool to the hosted tool list #1817 324ea57e verify_url in the hosted MCP tool list
  7. feat(report): host addresses, offline GeoIP country and connect time (#10) #1818 2a5943b97 host addresses, offline GeoIP country, connect time (schema 1.17)
  8. feat(report): detect the edge separately from the origin (#1807) #1819 189c78bd9 edge detection apart from the origin (schema 1.18); only its own Detect edge hosting (CDN or edge platform) separately from the origin host, from headers, IP ranges and ASN #1807 commits, feat(report): host addresses, offline GeoIP country and connect time (#10) #1818's are not repeated. Adds the CHANGELOG entry for host.edge, host.cloudRange, ASN and schema 1.18.
  9. fix(ax): ai-crawlers emits one check for a bare wildcard Disallow (#1780) #1820 b35d0ff0f ai-crawlers one row for a bare wildcard Disallow, plus the CHANGELOG line about the score shift
  10. feat(report): say whether robots.txt was honoured and how many pages it kept out (#1782) #1821 098c67261 robots.txt honoured and pages kept out, renumbered to schema 1.19 (constant, docs output.mdx, CHANGELOG, version-pin tests); limits.ts history lists 1.17, 1.18, 1.19

Schema history: 1.16 -> 1.17 (#10 GeoIP) -> 1.18 (#1807) -> 1.19 (#1782 scanScope).

Closes #10
Closes #1807
Closes #1780
Closes #1782
Closes #169
Closes #1794
Part of #1328
Part of squirrelscan/repo#3922
Part of squirrelscan/repo#3877

Supersedes #1806 #1809 #1810 #1812 #1814 #1815 #1817 #1818 #1819 #1820 #1821

Gates

  • tsgo --noEmit: clean in apps/cli, audit-engine, core-contracts, crawler, fetchers, report, rules, utils, waf-detect
  • apps/cli lint and format:check: clean
  • 34 test files (every member PR's tests, the report-schema version pins, audit-engine streaming-rules-canonical-golden) in batches of 5, plus scripts/install-attestation-169.test.ts: all pass, 0 fail
  • make validate in docs/: all good

Rule meta text changed: private rule catalog must be regenerated (ax/ai-crawlers gained the ai-crawlers-wildcard-blocked check).

nc9 and others added 21 commits November 13, 2026 04:53
Signed-off-by: Nik Cubrilovic <[email protected]>
(cherry picked from commit d7f520a)
Signed-off-by: Nik Cubrilovic <[email protected]>
Signed-off-by: Nik Cubrilovic <[email protected]>
(cherry picked from commit 8d706e0)
Signed-off-by: Nik Cubrilovic <[email protected]>
Review of the capture tool found gaps in what it scrubs before a sample
can be committed:

- x-served-by names the cache node, so its value is now redacted (the
  name stays as evidence).
- x-amz-cf-id joins the request-id headers.
- x-nf-client-connection-ip and fastly-client-ip join the client-IP
  headers, so their values are replaced whole.
- Every *.netlify.app origin is replaced in bodies and headers, not only
  the captured host. app.netlify.com is kept, as provider evidence.
- An absolute Location has its host replaced whatever the host is, with
  userinfo removed. A relative Location is kept.

The request sends no authorization or cookie header; a test now guards
that. Tests cover IPv6 (and keep times and CSS alone), cf-ray,
x-amz-cf-id, and each item above. Five of the tests (the flipped x-served-by case and four new ones) fail on the
previous script.

Signed-off-by: Nik Cubrilovic <[email protected]>
(cherry picked from commit b879e50)
Signed-off-by: Nik Cubrilovic <[email protected]>
… a subpath, add requireProxy #3922

Signed-off-by: Nik Cubrilovic <[email protected]>
(cherry picked from commit d291bd1)
Signed-off-by: Nik Cubrilovic <[email protected]>
….ps1 and self update #169

Signed-off-by: Nik Cubrilovic <[email protected]>
(cherry picked from commit cd25b4e)
Signed-off-by: Nik Cubrilovic <[email protected]>
…to github.com #169

gh probes get 15s and verify 120s in install.sh, install.ps1 and the CLI. A
probe timeout is a skip with a warning, a verify timeout fails closed.
self update prints the verified line, and the docs section moves below the
GitHub-blocked body.

Signed-off-by: Nik Cubrilovic <[email protected]>
(cherry picked from commit 6ba3483)
Signed-off-by: Nik Cubrilovic <[email protected]>
…elf-hosted runners #169

--repo alone accepts attestations from any workflow on any branch. Add --cert-identity for release.yml@refs/heads/main and --deny-self-hosted-runners in install.sh, install.ps1 and the CLI, and in the manual command in docs/quickstart.mdx.

Signed-off-by: Nik Cubrilovic <[email protected]>
(cherry picked from commit dfe1fb0)
Signed-off-by: Nik Cubrilovic <[email protected]>
… pricing v13

Signed-off-by: Nik Cubrilovic <[email protected]>
(cherry picked from commit 7f74895)
Signed-off-by: Nik Cubrilovic <[email protected]>
…quirrelscan/repo#3877

Signed-off-by: Nik Cubrilovic <[email protected]>
(cherry picked from commit 99ccebd)
Signed-off-by: Nik Cubrilovic <[email protected]>
Signed-off-by: Nik Cubrilovic <[email protected]>
(cherry picked from commit 324ea57)
Signed-off-by: Nik Cubrilovic <[email protected]>
… edge-labelled #10

Adds a report-only `host` section (JSON schema 1.17): resolved IPv4/IPv6
addresses, the GeoIP country of the first address, and a TCP connect time
labelled as such. The country comes from a bundled DB-IP Lite country
snapshot (2026-11, CC BY 4.0, source sha256 in packages/utils/geoip-db/
SNAPSHOT.json); lookups are offline and a missing country is omitted.

When existing technology detection finds Cloudflare, CloudFront, Vercel,
Netlify, Fastly or Akamai, the country is labelled an edge/anycast location
and not the origin's, in every output format. No new edge detection.

Attribution is in the README and THIRD_PARTY_NOTICES; compiled CLI grows
by about 2.2 MiB.

Co-Authored-By: Claude Sonnet 5.5 <[email protected]>
Signed-off-by: Nik Cubrilovic <[email protected]>
(cherry picked from commit fe985b4)
Signed-off-by: Nik Cubrilovic <[email protected]>


Signed-off-by: Nik Cubrilovic <[email protected]>
(cherry picked from commit 2a5943b)
Signed-off-by: Nik Cubrilovic <[email protected]>
…SN, apart from the origin (#1807)

Adds `host.edge` (JSON schema 1.18): the CDN or edge platform answering for
the host, the strongest matching source (header, ip-range or asn) and every
source that agreed, an edgeHosted flag for Vercel, Netlify and Cloudflare
Pages, and the origin kept separate (identified, edge-hosted or unknown,
never the edge). The country is labelled an edge location when any source
finds an edge.

Data is bundled and matched offline. scripts/refresh-edge-data.ts is the
only code that fetches it and records the fetch date and sha256 of every
file: Cloudflare, CloudFront (CLOUDFRONT service only), Fastly, Google
Cloud (cloud.json, marked broad: it is not Cloud CDN specific) and Azure
Front Door (AzureFrontDoor.Frontend) ranges, plus DB-IP IP to ASN Lite
(CC BY 4.0) reduced to edge-specific ASNs. Akamai, Vercel and Netlify have
no range list and stay header or ASN detected.

Co-Authored-By: Claude Sonnet 5.5 <[email protected]>
Signed-off-by: Nik Cubrilovic <[email protected]>
(cherry picked from commit 2214093)
Signed-off-by: Nik Cubrilovic <[email protected]>
… an edge (#1807)

Google's cloud.json lists every Google Cloud range, including a plain
Compute Engine VM, and Google publishes no Cloud CDN-only list. A match
no longer sets host.edge, labels the country as an edge location, or
appears as an edge or alsoMatched source. It is reported as
host.cloudRange (provider, address) and as a "Cloud range" row that says
it is not evidence of a CDN or edge. The edge is set only by a header or
a CDN-specific range or ASN. The range data is unchanged. The schema stays
1.18, which is not yet released.

Signed-off-by: Nik Cubrilovic <[email protected]>
(cherry picked from commit 189c78b)
Signed-off-by: Nik Cubrilovic <[email protected]>
…e into one row #1780

Signed-off-by: Nik Cubrilovic <[email protected]>
(cherry picked from commit d9ede4b)
Signed-off-by: Nik Cubrilovic <[email protected]>
Signed-off-by: Nik Cubrilovic <[email protected]>
(cherry picked from commit de962a7)
Signed-off-by: Nik Cubrilovic <[email protected]>
Signed-off-by: Nik Cubrilovic <[email protected]>
(cherry picked from commit b35d0ff)
Signed-off-by: Nik Cubrilovic <[email protected]>
…it kept out #1782

Signed-off-by: Nik Cubrilovic <[email protected]>
(cherry picked from commit 914ff74)
Signed-off-by: Nik Cubrilovic <[email protected]>
Comment thread packages/utils/src/geoip/ip.ts Fixed
Comment thread scripts/refresh-edge-data.ts Fixed
Comment thread scripts/refresh-edge-data.ts Dismissed
Comment thread scripts/refresh-edge-data.ts Dismissed
nc9 added 4 commits November 13, 2026 05:01
…1782

Signed-off-by: Nik Cubrilovic <[email protected]>
(cherry picked from commit 098c672)
Signed-off-by: Nik Cubrilovic <[email protected]>
The v0.0.181 bullets sat under v0.0.180. Also drop the crawl/conflicting-index-signals
bullet the bundle had copied into v0.0.180; it already ships under v0.0.179.

Signed-off-by: Nik Cubrilovic <[email protected]>
…ct db-ip host check (CodeQL) #10

Signed-off-by: Nik Cubrilovic <[email protected]>
@nc9
nc9 merged commit f46c058 into main Nov 13, 2026
21 checks passed
@nc9
nc9 deleted the bundle/v0.0.181 branch November 13, 2026 06:19
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

2 participants