Skip to content

feat(detect-platform): platform/CMS/framework fingerprinting mode#25

Merged
arberx merged 1 commit intomainfrom
arberx/platform-detect
Apr 28, 2026
Merged

feat(detect-platform): platform/CMS/framework fingerprinting mode#25
arberx merged 1 commit intomainfrom
arberx/platform-detect

Conversation

@arberx
Copy link
Copy Markdown
Member

@arberx arberx commented Apr 28, 2026

Summary

  • Adds --detect-platform CLI mode that fingerprints the stack a site is built on (CMS, site builder, e-commerce, framework, SSG, hosting), with single-URL and --urls batch flavors, bounded concurrency (--concurrency, default 5), and --min-confidence filtering.
  • Detector inspects HTML, headers, <meta name="generator">, script/link/img sources, and platform-specific globals; emits per-platform confidence scores plus aggregated isCustom flag, with text/markdown/JSON formatters and exit code keyed off detection success.
  • Skips the /llms.txt, /llms-full.txt, /robots.txt, /sitemap.xml auxiliary fetches in detection mode (new fetchPage({ skipAuxiliary }) option) so batch detection doesn't burn 4×N unrelated requests.
  • Tunes HubSpot CMS weights so a single tracking/forms script no longer reports HubSpot CMS at "high" confidence — <meta name="generator"> remains the strong signal.
  • Bumps version to 1.6.0; documents the new mode in README and the AEO skill, and adds 38 new tests across detect-platform and CLI URL-list parsing.

Test plan

  • pnpm run typecheck
  • pnpm test (132 tests pass)
  • pnpm lint
  • Smoke: pnpm run build && node bin/aeo-audit.js https://example.com --detect-platform
  • Smoke: batch via --urls from a file and from stdin

🤖 Generated with Claude Code

…mode

Adds --detect-platform mode (single URL or batched via --urls) that
fingerprints CMS, site builder, e-commerce, framework, SSG, and hosting
stacks from HTML, headers, generator meta, and platform-specific globals.
Skips auxiliary fetches in detection mode and tunes HubSpot CMS weights so
tracking pixels alone don't trigger high-confidence false positives.

Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
@arberx arberx merged commit 0a6416a into main Apr 28, 2026
2 checks passed
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.

1 participant