Linktarythe notary for links

How Linktary verifies a link

2026-09-25 · 9 min read · Linktary team

Every Linktary short link is traced to its real destination and risk-scored before it goes live. This article is the complete technical description of that process: what we fetch, what we look for, how we score it, and what each verdict means. We publish this because our verification is the product — and a verification system you can't inspect isn't worth trusting.

Step 1: the bounded chain fetch

When you create a link, Linktary fetches the destination with a strict budget:

The SSRF guard: what we refuse to fetch

Linktary fetches attacker-chosen URLs, so before every hop — the initial destination, every Location target, every meta-refresh target — the target is screened. This is server-side request forgery (SSRF) protection, and it exists so our verification engine can never be turned into a probe for someone's internal network:

Two honest limitations we document rather than hide: if the DNS resolver itself is unreachable, the check fails open (the fetch proceeds without pinning) — a resolver outage must not turn legitimate links into CAUTIONs. And pinning is best-effort at the platform layer; the literal-IP deny and resolve-and-check are the guarantees. A refused target is never silent: it produces the private_network_target signal (below), the partial chain stays visible on the trust report, and the verdict is CAUTION. Refusal reasons are logged for the link owner, never served to visitors in a form useful for probing.

Meta-refresh redirects

Phishing kits use <meta http-equiv="refresh"> precisely because naive checkers only follow Location headers. We follow meta-refresh targets too — parsed as markup, never executed as code. They count against the same 5-hop budget and re-enter the SSRF guard like any other redirect.

The fetch never runs on the click path. Verification happens once, at creation — plus whenever the owner explicitly asks for a recheck. When someone clicks your link later, the redirect is a single database read. That's deliberate: the hot path must be fast and deterministic, and it must never depend on a third-party server responding in time.

Step 2: the signal taxonomy

Each fetched chain is scored against four signal families. Every signal has a code, a severity (block / warn / info), and a numeric weight. The weights are what make the verdicts reproducible: the same chain always scores the same.

Chain signals — what the redirect path itself says:

Host signals — what the domain names say:

Content signals — what the bytes say (final hop only):

Domain-age signals — how new the destination is:

Threat-intel corroboration comes from URLhaus (abuse.ch): when a (free) abuse.ch API key is configured, the destination URL is submitted to the URLhaus API, and a listing there is a block-strength signal (their entries are human-confirmed malicious URLs, not heuristics). The provider is fail-open by contract — a feed outage, a timeout, or a missing API key contributes zero signals, never an error, and never blocks link creation on its own. Without the key, abuse.ch returns HTTP 401 and the provider is inert; the engine then relies entirely on its built-in signals. The provider seam in the engine stays open for more feeds.

Step 3: score → verdict

The score is the sum of all signal weights. The thresholds are public and fixed:

ScoreVerdictWhat the visitor sees
100 or moreBLOCKEDThe destination never loads. A block page explains why, naming the top signals in plain language. There is no bypass.
40 to 99CAUTIONAn interstitial shows a destination preview with the reasons for caution. The visitor can proceed only by explicitly confirming.
Below 40SAFEA direct 302 redirect, like any short link.

If the engine itself fails — the destination times out, the network errors, something unexpected breaks — the result degrades to CAUTION, never to an error and never to a silent pass. Link creation never fails because the verification engine had a bad day; the cautious verdict is the default.

Step 4: the trust report

Every verdict is published on a public trust report at linktary.com/v/<code> — no account needed. It shows the verdict badge, the full redirect chain hop by hop, the plain-language explanation of every signal, the score, and when the check ran. Agents get the same data as JSON at /v/<code>/status (canonical) or /v/<code>.json.

The trust report is the point of the whole design. Anyone who receives one of our links — a colleague, an IT admin, a suspicious recipient — can open it and see exactly what was checked, what fired, and why the engine issued the verdict it did. A verification nobody can audit is marketing. Ours is inspectable.

The design principles, summarized

  1. Verify at creation, never on the hot path. Clicks are a single
  2. database read. Verification gets a bounded budget and never touches the redirect.

  3. Publish the machinery. Signal codes, weights, thresholds — all
  4. public, all reproducible.

  5. Fail cautious. Engine trouble is a CAUTION verdict, not an error
  6. and not a free pass.

  7. Show your work. Every verdict ships with a public, machine-readable
  8. trust report.

  9. Refuse what we can't safely check. Private and internal network
  10. targets are never fetched — not to verify you, not to verify anyone. The refusal itself is part of the report.

Transparency is the moat. Anyone can build a shortener; the reason to trust ours is that you can read exactly how it thinks. For the question every CISO asks next — what can Linktary see, and what can't it — read The honest crypto design and the /security page.