Privacy Design

Status: Live

The hosted feed at https://feeds.thecutline.org measures usage without storing addresses. Code is public at feeds-worker.

The Narge feed measures usage without storing addresses. This page documents how distinct fetching addresses are counted per ASN per day, with no addresses, prefixes, or fetcher IDs written to storage.

The Challenge

When organizations load the Narge list into their DNS or firewall, we want to count usage without storing addresses. Traditional analytics would log addresses, which we explicitly do not want.

Address-Free Counting

The feed Worker counts distinct fetching addresses per ASN per UTC daywithout storing addresses, using an address-free pipeline:

1. Edge Processing (One Request)

When a firewall or DNS server fetches the list:

  1. The Worker reads the connecting address and ISP (ASN) from request.cf
  2. IPv6 addresses are reduced to their /64 prefix (standard privacy practice)
  3. A one-day ID is derived: HMAC(K_day, normalized_address)
  4. The address is dropped at once — it is never written to storage or logs
  5. The one-day ID is passed to a Durable Object (in-memory counter)

2. Daily HMAC Key

The daily key K_day is derived from a long-lived secret and the UTC date:

K_day = HMAC(COUNTER_SECRET, "cutline-feeds/counter/v1/" + day)

Key rotation: The day key changes at midnight UTC. Fetcher IDs from different days cannot be linked because they use different keys. However, the long-lived secret means any day's key can be re-derived (it is not destroyed in the cryptographic sense).

3. In-Memory De-Duplication

The Durable Object keeps fetcher IDs in memory only (not in storage):

Caveat: If the Durable Object is evicted mid-day (rare), the in-memory sets are lost. The counter increments a "resets" field, and that day's distinct counts become upper bounds (disclosed in stats).

4. What Gets Stored

Only aggregated, non-identifying metrics are written to storage (KV and Durable Object):

What is NOT stored: Addresses, address prefixes, fetcher IDs, user agents, geographic coordinates, device identifiers, or any personally identifiable information.

Publishing Thresholds

Daily aggregated stats are published at https://feeds.thecutline.org/stats.jsonwith k-anonymity protection:

k-Anonymity (k=10)

Per-ASN rows are published only when ≥10 distinct fetchers in that ASN that day. This prevents revealing "one address on Comcast fetched the list."

Example published row:

{
  "asn": 7922,
  "as_org": "Comcast Cable Communications",
  "distinct": 14,
  "fetches": 28
}

This reveals nothing about any individual address or organization. It shows only that multiple distinct addresses in that network requested the list.

Published Metrics

The public stats.json includes:

The "distinct" count is distinct fetching addresses per ASN per day (not organizations, not installations, not seats). An organization with multiple offices in different ASNs would be counted separately in each.

Per-Organization Tokens

Organizations can request a unique feed URL token for attribution:

https://feeds.thecutline.org/v1/<org-token>/narge.txt

Tokens are 26-character base32 strings (e.g., abc2def3ghi4jkl5mno6pqr7st). The token identifies the organization in internal aggregates (not published by name), but addresses are still dropped at once.

Rate limiting: Tokens are rate-limited per organization (120 requests/minute), not per address. The anonymous feed URL (/v1/narge.txt or /v1/public/narge.txt) shares one "public" rate limit across all anonymous fetchers.

What Is Not Built

The following features are not implemented:

If a feature is listed above, do not claim it is live. The Privacy and Privacy Design pages reflect what is actually built.

How to Verify

The feed Worker code is public and testable:

The counter is a Cloudflare Durable Object(single-threaded SQLite-backed object). Its de-dup sets live in memory (JavaScript Map<string, Set<string>>), not in storage.

Data Retention

The daily key secret (COUNTER_SECRET) and a brute-forced address could theoretically recover an IPv4 address from a fetcher ID if the ID were stored. That is why fetcher IDs never leave memory and are never written to storage or logs.

Operator

The Narge feed and specification are maintained by Dov Allison. For privacy questions or to report issues:

Email: it@thecutline.org
GitHub: dov-max/narge-spec

Related