Twelve structural URL signals you can inspect locally without querying a blocklist server — punycode, @ userinfo masks, brand-subdomain spoofing, shorteners, high-risk TLDs, and QR payloads — plus what offline checks cannot catch.
Written and measured by the operator of Is it AI? (run by one person) · Published 2026-11-28 · About the operator
When you receive a suspicious link or QR code, the riskiest habit is opening it “just to see what it is”. Loading the page can immediately expose device fingerprints or drop you onto a credential-harvesting clone. This article documents the twelve structural signals that our offline parser inspects before any network request is made, along with the blind spots that structural inspection cannot cover.
Short-lived phishing and smishing campaigns do most of their damage during the first few hours after launch, before enough user reports accumulate to place the domain on a reputation blocklist.
Even when attackers rotate domains every day, the structural tricks used to deceive human readers keep repeating: placing a trusted brand inside a subdomain, masking a destination behind a URL shortener, or encoding look-alike characters via punycode (xn--). Parsing the string locally avoids visiting the target site and avoids sending your private URLs to a third-party lookup server.
Both the web tool and the offline mobile security suite share the same local parser (src/linkcheck.ts). Rather than returning a black-box verdict, it combines weighted structural signals and lists every rule that fired.
| Category | Signals inspected | Why attackers use it |
|---|---|---|
| Destination masking | @ userinfo symbol · URL shorteners (bit.ly, etc.) | Shows a familiar brand before @ or hides the real host behind a redirect. |
| Look-alike hosts | Punycode (xn--) · non-Latin Unicode host · raw IP host | Mimics legitimate domains visually or skips domain registration trails. |
| Brand spoofing | Brand token outside registrable domain · excessive subdomains/hyphens | Makes addresses like paypal.verify-account.xyz look official at a glance. |
| Transport & TLD | Plain HTTP · non-standard port · high-abuse TLDs (.xyz, etc.) · unusually long URL | Collects credentials without TLS or hides generated phishing paths. |
Brand-impersonation checks match on dot/hyphen word boundaries rather than naive substrings, preventing false alarms when ordinary English words happen to contain a brand spelling. That boundary rule is locked down in src/linkcheck.test.ts.
With a text message link, a careful reader can still glance at the domain ending before tapping. With a QR code on a parking notice, flyer, or parcel sticker, a default camera app can open the browser immediately before the user reads the real host.
In the offline mobile security app, QR images are decoded locally with jsQR without opening any URL, and the decoded payload is passed straight into the URL structure checker or smishing text analyzer so you can inspect the real destination first.
src/linkcheck.tssrc/smishingdetect.tssrc/emailcheck.ts