Repository navigation
Description
Summary
Technology detection runs only in cloud audits ("Local audits run the deterministic rules only. The cloud-backed rules (AI analysis, technology detection, browser rendering) need an account and credits", guides/local-audits-cli). Logged out, technologies.items holds only what headers reveal (for example nginx). We need the stack of every audited site (CMS, shop system, tag managers, consent tools, CDNs) to route findings to the right owner, so we run a second detector with the webappanalyzer catalog next to squirrel.
Request
A local, signature-based detection pass for logged-out audits: match headers, cookies, meta tags, script src and HTML patterns from a bundled catalog against the pages the crawl already fetched, no extra requests. The cloud detection can stay the deeper option (script bundles, versions, confidence).
Why
The crawl already holds everything a signature match needs. With it we could drop our own matcher, catalog import and signature file (about 550 lines) and read one technologies block for routing.
Triage
A local, no-HTTP technology scan already exists: detectLocalTechnologies in apps/cli/src/audit/cloud.ts (since #407, shipped by v0.0.80) runs detectReportTechnologiesMulti (packages/audit-engine/src/technologies.ts) over the crawled pages and fetched scripts, using the MIT @squirrelscan/tech-detect package (header, meta, script-url, script-content, html, dom and url-path detectors, about 300 generated fingerprints plus hand-curated per-category files). controllers/audit.ts falls back to it whenever the cloud tech-detect did not run, so a logged-out audit should populate report.technologies with CMS, CDN and tag-manager hits beyond headers. The claim that only header-derived items appear is therefore not accurate as a design statement, but it may be accurate for the reporter's run: --http mode and -m 30 limit what the tech sample and script fetch see (script-content detectors need fetched bodies), and the curated catalog is smaller than webappanalyzer. The docs line quoted (guides/local-audits-cli) is likely stale or misleading and should be corrected. Recommend not importing an external catalog: the fingerprints in this MIT package are first-party research, and that stays the policy. Instead, reproduce against the reporter's site class (Shopify, Storyblok, consent tools), add fingerprints for the gaps with scripts/generate-tech-fingerprints.ts, and fix the docs.
Acceptance Criteria
- A logged-out
squirrel audit --httprun on a fixture site with a known CMS, shop system, tag manager and consent tool reports all of them intechnologies.items, with a test. - The cause of header-only results in
--httpmode is identified and either fixed or documented (which detectors need fetched scripts). - Fingerprints are added for the stack categories the reporter needs (CMS, shop system, tag managers, consent tools, CDNs) where missing, each with a detection test.
- No third-party catalog data or signature file is copied into the repo; new fingerprints are written from first-party research and noted as such.
-
guides/local-audits-clidocs state that local audits run a free signature-based technology scan and what the cloud scan adds (versions, confidence, cross-scan diff). -
make validatepasses indocs/. -
scripts/test-suites.ts --run restpasses, andbun testforpackages/tech-detectpasses by explicit file path.
Activity
nc9 commentedon Oct 29, 2026
Thanks @deniskern for the report. A local signature-based technology scan already exists and runs on logged-out audits, so we will find out why your
--httprun only showed header hits, fill fingerprint gaps for the stacks you listed and correct the docs. We keep the fingerprint catalog first-party, so we will add signatures ourselves rather than import an external list. Queued.nc9 commentedon Oct 29, 2026
Hi @deniskern, complete coincidence: we have exactly this ready to ship. #1256 (closing #1254) merged today and lands in v0.0.140, due out later today.
What changes for logged-out audits:
[tech_detect] bundle_bytesinsquirrel.toml(default 64 KB, max 256 KB).technologiesblock as cloud audits, so you can route on one field.The docs line you quoted (
guides/local-audits-cli) is out of date. We're fixing it in the same release.Once v0.0.140 is out, could you run
squirrel self updateand re-run your audit, including the--http -m 30run? If CMS, shop, tag manager or consent tools are still missing for a site class, post it here and we'll add first-party fingerprints for it.docs(guides): local audits run a free technology scan, the cloud adds…
docs(guides): local audits run a free technology scan, the cloud adds…
fix(tech-detect): link rel split without regex, local source on llm/x…
fix(tech-detect): list platform asset links first, cap 40, glued self…
fix(utils,tech-detect): allow-list liferay-portal and x-azure-ref hea…
feat(tech-detect): local scan sees stylesheet URLs, 24 stack fingerpr…
fix(tech-detect): link rel split without regex, local source on llm/x…
fix(tech-detect): list platform asset links first, cap 40, glued self…
fix(utils,tech-detect): allow-list liferay-portal and x-azure-ref hea…
feat(tech-detect): local scan sees stylesheet URLs, 24 stack fingerpr…
fix(tech-detect): link rel split without regex, local source on llm/x…
fix(tech-detect): list platform asset links first, cap 40, glued self…
fix(utils,tech-detect): allow-list liferay-portal and x-azure-ref hea…
nc9 commentedon Oct 30, 2026
Shipped in v0.0.144 (commits 5ee108f, defe450, a85e52a, afec799). Checked every acceptance criterion against current main: local technology detection for logged-out audits, the header-only cause documented, 24 stack fingerprints written from first-party research, docs for local audits and the cloud scan.
nik