Repository navigation
feat(tech-detect): Lovable, Base44, Replit, v0, Supabase, Clerk, Firebase SDK fingerprints #1242 - #1243
Conversation
…base SDK fingerprints #1242 Signed-off-by: Nik Cubrilovic <[email protected]>
Signed-off-by: Nik Cubrilovic <[email protected]>
…tch Base44 beacon template #1242 Signed-off-by: Nik Cubrilovic <[email protected]>
…meta image match #1242 Signed-off-by: Nik Cubrilovic <[email protected]>
|
Review of #1243 (vibe-coding and BaaS fingerprints). No blocking problems found. The detector design is careful and the tests cover near-misses and adversarial markup well. I read the diff only and did not run the test suite.
Process: the CHANGELOG entry and docs update are present. Please confirm 🤖 Generated with Claude Code |
…fixture id, add look-alike host fixtures #1242 Signed-off-by: Nik Cubrilovic <[email protected]>
|
Review of #1243 (Lovable, Base44, Replit, v0, Supabase, Clerk, Firebase fingerprints). I read the diff and No critical or high findings. The patterns are bounded, the comment stripping is linear, and the script/style body scan stops at the next script or style tag, so it stays linear on floods of unclosed tags. The blog-post false-positive test is a good guard.
Per AGENTS.md, a docs/CHANGELOG-only check was not needed beyond what's present. Please run 🤖 Generated with Claude Code |
Closes #1242.
Adds technology fingerprints for Lovable, Base44, Replit, v0, Supabase, Clerk and Firebase (client SDK). Firebase Hosting is unchanged. All live in
packages/tech-detect/src/fingerprints/other.ts; signature count 385 to 392.Signals (each checked against a real page fetched with curl, except where noted):
<meta name="author" content="Lovable">andtwitter:site@Lovable(template defaults, seen on 3 live apps),/__l5e/events.<hash>.jsand#lovable-badge(hosted apps),gpt-engineer-file-uploadsbucket URL (og:image),cdn.gpteng.co/gptengineer.js/lovable.js(both URLs resolve; not seen in a live page).base44_access_tokenshim,/api/app-logs/<24 hex>/log-user-in-appbeacon (live app),*.base44.apphost (documented).*.replit.app/*.repl.co/*.replit.devpage host,replit-dev-banner.js,/__replco/static/(seen on a replit.app error page). No live deployed app was reachable, so the host and banner are from docs and URL checks only.<meta name="generator" content="v0.app">(seen on a live v0 deploy;v0.devalso accepted). Skipped thev0-*.vercel.apphost: the prefix is only a default and not a reliable signal.<ref>.supabase.co/(storage|rest|auth|...)/v1in an attribute or in a next/image encoded URL, inlinecreateClient('https://<ref>.supabase.co', and the CDN@supabase/supabase-jsscript tag. Refs are 20 chars per Supabase docs. No live site with these in its HTML was found, so these come from documented URL shapes plus fixtures.clerk-jsscript tag (/npm/@clerk/clerk-js@N/..., any frontend API host, version read),*.clerk.accounts.devscript,data-clerk-js-script,data-clerk-publishable-key="pk_..."(seen on 2 live pages).www.gstatic.com/firebasejs/<ver>/script (version read, seen live),/__/firebase/init.jsHosting reserved script, inlineauthDomain: "<id>.firebaseapp.com".Review round 1 changes: Supabase is dropped when Base44 matches (Base44 apps load images from a shared storage project); the Base44 beacon also matches the
${appId}template that custom-domain apps ship; every inline-config, style and resource signal now needs real markup context (script/style body, tag attribute, not<a href>), HTML comments anddata-srcare ignored, placeholders (your...) are not refs, and bounded literal gates keep hostile markup fast (worst contrived page about 0.85 s).Round 2: inline-script and style matching now runs to the end of the element (stops at the next script or style tag, so each body is scanned once) instead of a fixed window; the Lovable social image meta must start its value with the bucket URL (og:image or twitter:image, either attribute order).
Known limits (no HTML parser in the engine): a raw
<script>tag written unescaped inside a<pre>or<p>is real markup to a regex and can match; a script string that itself contains<!--...-->loses the text between them to comment stripping (comment-wrapped legacy scripts work).False-positive guard: the engine scans raw HTML for
script-urlwhen no script list is passed, which would match a code sample in a blog post. Script URL signals here go throughscriptSrc(): anchored at the URL start, or inside a real<script ... src=tag. Host signals are anchored to the start of the URL. A test runs a blog post that mentions all seven (with escaped code samples) and expects no match. Also ran the detector over real pages of the vendors' own sites plus a few unrelated large sites: no vendor-site false positives.Tests:
bun teston the four tech-detect test files by path (75 pass),scripts/test-suites.ts --check, tsgo clean,make validatein docs.Agent skill: no change needed.
Follow-up outside this PR: logos for the new
iconslugs (lovable,base44,replit,v0,supabase,clerk,firebase) are not in the privateapps/web/public/tech-iconsyet.