AETERNAE AI RESEARCH LLC INDEPENDENT RESEARCH
ÆAETERNAERESEARCH
Sign inRequest access
← Malware catalog

Attributed metadata history

REPORTPUBLIC METADATA

Packing 79,463 CNAME-Cloaked sGTM Domains Into a

While auditing 2,328 live European websites from Frankfurt on Google Consent Mode v2 (gcs/gcd transitions across Cold Load -> Reject All -> Accept All), one recurring pattern stood out: Sites paying for server-side Google Tag Manager (sGTM) — often hosted on Stape or Cloud Run behind a custom subdomain like sgtm.example.com or metrics.example.com — were still losing tracking hits because their custom subdomain had already landed on public CNAME-cloaking and DNS ad-blocker lists. I wanted to build an instant, zero-login checker that runs entirely at the edge on Cloudflare Workers with < 5ms cold start and lookup latency, zero external DNS queries, and zero database round-trips. Here is how we packed 79,463 domains across 5 major filter lists into a compact Worker bundle. 1. The 5 Blocklists We Indexed Ad-blocker and DNS filter maintainers actively sweep CNAME-cloaked first-party tracking proxies. Merging and deduplicating the 5 most widely deployed lists (used by AdGuard, Brave, NextDNS, Pi-hole, and uBlock Origin) yields 79,463 unique indexed domains: Blocklist Source Raw Entries Indexed sGTM / Proxy Domains AdGuard CNAME-Cloaked Trackers (stape_justdomains) 69,332 49,569 HaGeZi Multi Normal DNS Blocklist 179,620 23,077 AdGuard DNS Filter (AdguardSDNSFilter) 195,395 21,827 EasyPrivacy 47,855 4,409 1Hosts (Lite) 202,954 1,335 (A single domain can appear in multiple lists — e.g. both adguard_cname and hagezi_multi.) 2. Why a Naive JSON Object Blows Up Cloudflare Worker Cold Starts Dropping a raw JSON map of 79,463 domain strings -> list arrays into a Cloudflare Worker causes two immediate problems: Bundle size & memory: Plain JSON with list names repeated 79k times quickly balloons past multi-megabyte Worker size limits. Cold-start CPU: Parsing a massive JSON object or building a new Set(...) on every isolate boot burns tens of milliseconds of startup CPU before the first request is even served. Our Fix: Bitmask Buckets + Front-Coded Blocks + Lazy Binary Search Instead of storing an array of list names per domain, we assign each of the 5 lists a single bit (1 << 0 through 1 << 4), group domains by their 5-bit mask (1..31), sort each bucket lexicographically, and front-code adjacent entries in fixed-size blocks separated by blank lines: analytics.chimar.com Lityskydive.nl # shares 11-char prefix ("analytics.c") + "ityskydive.nl" Mur.cz # shares 12-char prefix ("analytics.ci") + "ur.cz" Because every block starts with one unencoded header domain, the Worker never decompresses the whole index at startup: At request time, it binary-searches only the block headers inside each bitmask bucket (zero heap allocations for untouched blocks). Only the single candidate block that could contain the target domain is decoded sequentially. For any queried hostname like collect.sgtm.brand.de, we walk parent suffixes (collect.sgtm.brand.de -> sgtm.brand.de -> brand.de) so wildcard/parent rules match immediately: const parts = host.split("."); let matchedRule: string | null = null; let matchedMask = 0; for (let i = 0; i <= parts.length - 2; i++) { const candidate = parts.slice(i).join("."); const mask = lookupDomainBitmask(candidate); if (mask !== 0) { matchedRule = candidate; matchedMask = mask; break; } } Result: < 5ms cold start and lookup latency inside a standard Cloudflare Worker, with zero external API calls. 3. Catching "Not Listed Yet" Subdomains With Giveaway-Prefix Heuristics Even if a brand-new sgtm.example.com subdomain hasn't been scraped into adguard_cname yet, filter-list maintainers regularly sweep obvious tracking prefixes. Alongside exact blocklist matching, we check subdomain labels against high-risk giveaway prefixes (sgtm, ssgtm, sst, gtm, tagging, metrics, analytics, telemetry, tracking, collect, pixel, stats) and surface a HIGH / MED

Reference details

Source category
research-report
First reported
Nov 30, 2026 18:08 UTC
Last reported
Nov 30, 2026 18:08 UTC
Catalog updated
Nov 30, 2026 18:10 UTC
Record ID
3f1a6253198a2cf7acc3bd66ca61715c6b78e40df260ab581809e24be42c46cf

Published indicators

Network indicators are visibly defanged. This page does not make them clickable or send them to another service.

No validated file hashes or network indicators are stored for this record.

Source observations

intelligence_src_6dc544294b7f21f98a

Source-provided label
Publisher RSS metadata
Evidence class
mentioned in report
Confidence
Not reported
Observed
Nov 30, 2026 18:08 UTC
Retrieved
Nov 30, 2026 18:10 UTC

This record contains metadata and attribution only. It does not host, download, unpack, render, or execute malware samples.

Feed collection status

Sources represented on this page. Publication and observation dates describe the content; successful batch dates describe local collection. A recent batch does not certify complete coverage or current provider availability.

1 sources: 0 stale, 0 needing attention, 0 paused, 0 unverified.

Review source update dates and status
  • intelligence_src_6dc544294b7f21f98aRecent successful batchLast successful batch: Last attempt:

Stale means older than twice the recorded collection interval, with a minimum of one hour; without an interval, the threshold is 24 hours. Cached content remains available while a feed is stale, paused, or unverified.