DEV Community

Cover image for Trust Is the Interface, Privacy Is the Default
Amelia Winger-Bearskin
Amelia Winger-Bearskin

Posted on

Trust Is the Interface, Privacy Is the Default

A black coffee and a lip balm

I recently sat down at a café that had no paper menus, only a QR code. I wanted a black coffee. To see the menu, the site asked for my name, date of birth, home address, phone number and email, then texted me a code to verify. That's five pieces of personal data and a phone check, just to read the price of a coffee.

The same week I ran into the opposite problem. My favorite lip balm changed its formula, and I didn't like the new one. So I asked Claude and ChatGPT to find something like the old formula, more moisturizing for winter, and vegan. Both did a great job pulling together Reddit threads and reviews. Neither could connect me to the actual product on Amazon, and neither could see what I'd bought before. My assistant knew everything about lip balm and nothing about me, because it had no way to prove it was acting for me.

The café asked me to prove far too much. My agent couldn't prove anything at all. Both are failures of the same thing: we don't yet have good ways to share exactly what's needed and nothing more.

In Trust Is the Interface, I argued that when software acts for us, trust becomes the interface. This piece is the other half of that idea. Agents need identity to be trusted. People need privacy to be safe. I don't think those are at odds. They're the new patterns developers will build for both at once.

Two ways to be private: hiding and proving

For most of the web's history, privacy has meant hiding. You use a VPN to mask your IP address, a private window to drop your cookies, a throwaway email to dodge the mailing list. Hiding works by removing information.

The agentic web adds a second way: proving. Instead of removing everything, you show exactly one fact and nothing else. "I'm over 21." "I'm a real person, not a bot farm." "This agent is acting for a customer who already paid." The site gets what it needs to say yes, and nothing it can use to follow you.

The two models fail in opposite directions:

  • Hiding alone breaks agents. Fraud and bot-detection systems lean on IP reputation and browser fingerprints. Traffic from a VPN or an automated browser looks suspicious, so it gets a CAPTCHA, a block, or a demand for more personal data.
  • Proving alone becomes surveillance. If every proof is tied to one stable identifier, like an email, phone number or account ID, then every "yes" is also a record of where you went. That's the café menu, at internet scale.

Developers don't have to pick one. The patterns below let a person stay hidden by default and prove only what a given moment requires. Hiding stays available to everyone; proving becomes precise.

Persistent is not the same as trackable

The industry tends to treat identity and surveillance as one thing. They aren't. A persistent identity means a site can recognize you when you come back. A trackable identity means anyone can connect your visits across sites. You can have the first without the second.

Passkeys already work this way. When you create a passkey, your device makes a new key pair for that one site, bound to the site's domain (its relying party ID). The cat rescue gets one public key, your bank gets a different one, and neither key reveals the other. There's no shared email or phone number to match across databases. You're recognized everywhere and linkable nowhere.

The same idea works for sign-in providers. OpenID Connect supports pairwise subject identifiers: the identity provider gives each site a different, stable ID for the same person. Each site can keep your account; no two sites can join their records on your ID.

For agents, this is the design rule I'd put on every whiteboard: give each relationship its own identifier. An agent that shops for you should look like a returning customer to the shop and a stranger to the ad network.

Four building blocks for hiding and proving

Each of these is a standard or a near-standard you can prototype with today. Together they cover who the agent is, who the person is, whether they're legitimate, and the one fact a site actually needs. The snippets are simplified to show the shape of each pattern; use a maintained library in production.

1. Agents that sign their requests (Web Bot Auth)

Today, sites guess whether traffic is a good bot from its IP address and user-agent string. Both are easy to fake, and both punish anyone on a VPN. HTTP Message Signatures for Bots, the IETF draft known as Web Bot Auth, replaces guessing with cryptography. The agent signs each request with its own key, built on HTTP Message Signatures (RFC 9421). The site checks the signature against a public key directory the agent's operator publishes at /.well-known/http-message-signatures-directory.

A signed request carries three headers: Signature-Agent (where to find the keys), Signature-Input (what was signed, and when it expires), and Signature.

import { sign } from "node:crypto";

// privateKey: the agent's Ed25519 key. keyid: its JWK thumbprint.
const created = Math.floor(Date.now() / 1000);
const expires = created + 300; // the draft caps this at 24 hours
const params =
  `("@authority" "signature-agent";key="sig1")` +
  `;created=${created};expires=${expires}` +
  `;keyid="${keyid}";tag="web-bot-auth"`;

const signatureBase = [
  `"@authority": catrescue.example`,
  `"signature-agent";key="sig1": "https://agent.example"`,
  `"@signature-params": ${params}`,
].join("\n");

const signature = sign(null, Buffer.from(signatureBase), privateKey)
  .toString("base64");

await fetch("https://catrescue.example/donate", {
  headers: {
    "Signature-Agent": `sig1="https://agent.example"`,
    "Signature-Input": `sig1=${params}`,
    "Signature": `sig1=:${signature}:`,
  },
});
Enter fullscreen mode Exit fullscreen mode

Notice what's missing: the person. The signature says "this is a known agent from agent.example," not "this is Amelia." The site can trust the traffic without learning who sent the agent, even when that traffic comes through a VPN.

2. Passkeys with a different identity for every site

When the person does need an account, make it a passkey, and don't use their email as the username. Here's registration with SimpleWebAuthn:

import { generateRegistrationOptions } from "@simplewebauthn/server";

const options = await generateRegistrationOptions({
  rpName: "Cat Rescue",
  rpID: "catrescue.example", // the key only works on this domain
  userName: "supporter-7f3a",  // a site-specific handle, not an email
  // userID is left out, so the library generates a random one
  attestationType: "none",     // don't ask which device they own
  authenticatorSelection: {
    residentKey: "preferred",
    userVerification: "preferred",
  },
});
Enter fullscreen mode Exit fullscreen mode

Three small choices do the privacy work: the key is bound to one domain, the user ID is random, and attestation is off, so the site doesn't learn the make and model of the person's device.

3. Prove you're legitimate without being tracked (Privacy Pass)

Privacy Pass (RFC 9576, with RFC 9577 for redemption and RFC 9578 for issuance) splits "are you legitimate?" from "who are you?". A trusted issuer gives the client tokens after a check, such as a solved challenge or a device attestation. Later, the client spends a token at a website. The RFC's design goal is that the token can't be linked back to the moment it was issued, so the site learns "someone vouched for this client" and nothing more.

On the wire it's a normal HTTP authentication exchange:

GET /donate HTTP/1.1
Host: catrescue.example

HTTP/1.1 401 Unauthorized
WWW-Authenticate: PrivateToken challenge="...", token-key="..."

GET /donate HTTP/1.1
Host: catrescue.example
Authorization: PrivateToken token="..."
Enter fullscreen mode Exit fullscreen mode

This is the pattern that can replace CAPTCHAs and VPN blocklists. Instead of punishing everyone who hides their IP, a site accepts a token that proves legitimacy without revealing identity.

4. Share one fact, not your whole wallet (verifiable credentials)

Verifiable credentials let an issuer, like a bank or a city, sign facts about you that you carry and present yourself. The W3C Verifiable Credentials 2.0 specifications became Recommendations in May 2025. SD-JWT (RFC 9901, November 2025) adds selective disclosure: the issuer signs hashed claims, and the holder reveals only the ones a moment requires.

An SD-JWT travels as the signed token plus the disclosures you chose, joined by tildes. Each disclosure is a salted claim:

// Issued credential claims (each is hidden behind a salted hash):
//   given_name, family_name, birthdate, address, verified_donor

// What the agent presents to the cat rescue: one disclosure.
const disclosure = base64url(JSON.stringify(
  ["2GLC42sKQveCfGfryNRN9w", "verified_donor", true]
));

const presentation = `${issuerSignedJwt}~${disclosure}~${keyBindingJwt}`;
Enter fullscreen mode Exit fullscreen mode

The cat rescue can verify that a real issuer vouched for verified_donor: true. It never sees the name, birthday or address, even though they're in the same credential. The key-binding JWT at the end proves the presenter holds the credential, so a copied token is useless.

That's the café menu, fixed. A coffee shop that legitimately needs one fact, say "over 21" for a beer, can ask for exactly that and nothing else.

Back to the cat rescue

In the last piece, your agent donated $25 to a small cat rescue. Let's run that errand again, this time with privacy in the picture.

Before: hiding backfires. You'd rather the rescue's mailing list, its payment processor and every ad tracker on the page not learn who you are. So your agent browses through a VPN. The donation page's bot protection sees a headless browser on a VPN address and does what it's built to do: it throws up a CAPTCHA the agent can't solve. When the agent retries, it gets blocked. Your options are to drop the VPN or hand over your name, email and phone number to prove you're real. Hiding cost you the donation.

After: hiding and proving together. You keep the VPN. This time:

  1. The agent signs its request with Web Bot Auth. The rescue's site sees a known, accountable agent, not anonymous automation, and lets it through.
  2. If the site wants proof that a real, legitimate client is behind the agent, the agent spends a Privacy Pass token. It proves legitimacy, not identity.
  3. If you want a donor account, so you can see your history or get a tax receipt, you sign in with a passkey made for this one site under a random handle.
  4. If the rescue offers a thank-you perk for verified donors, the agent presents one disclosed claim from an SD-JWT credential: verified_donor: true.
  5. The payment goes through the payments API with the scoped, revocable permission from the last article: $25, to this one rescue, tonight.

Chart on parchment with hand-drawn chalk spirals in two rows, titled "Hiding alone gets your agent blocked. Hiding plus proving gets the $25 through." Top row, in red chalk, "Hiding alone: the agent on a VPN looks like a bot": you on a VPN, your unsigned agent, the cat rescue's site seeing a headless browser on a VPN IP, and a bot check that answers with a CAPTCHA and then a block, so the $25 never arrives. Text under it reads "The only way through: hand over your name, email and phone number." Bottom row, "Hiding and proving: the agent shows only what's needed": you, still on a VPN; your agent signing its request with Web Bot Auth; a Privacy Pass token that is legitimate but not identified; one claim, "verified donor" and nothing else, via SD-JWT; and the cat rescue receiving $25, shown as a gold spiral. A dashed line returns a receipt to you, with the note "Nobody along the way gets your name." Small code labels such as "HTTP 403 Forbidden" and "Authorization: PrivateToken" sit under the steps.

Hiding alone gets your agent blocked. Hiding plus proving gets the $25 to the cat rescue, and nobody along the way gets your name. (Digital chart made with AI assistance, after my Skyworld drawings, in the manner of Leonardo's notebooks.)

The rescue gets a real donation from a provably legitimate source. You get a receipt. Nobody along the way gets your name, address or browsing history unless you choose to share it.

Privacy in numbers

I believe privacy is a human right, and it should always be an option. That includes hiding.

Here's why it matters that ordinary people use privacy tools too. When only journalists, activists and people who are over-policed use a VPN or an anonymous token, using one becomes a signal: you've marked yourself as someone with something to protect. When everyone uses them, nobody stands out. The more of us who demand privacy by default, the safer it is for the people in our communities who are unfairly targeted.

That's a design requirement, not a slogan. Build systems that treat a VPN user as a normal user. Accept proofs instead of punishing hiding. Never make "reveal everything" the only way through the door. If your fraud model only works by identifying everyone, it will fail the people who most need privacy first.

Decentralize the proofs, not everything

In Trust Is the Interface, I wrote that decentralization, to me, means agency kept close to the people affected. Not a ledger for its own sake. The same holds here.

You don't need a blockchain to make privacy work. What needs to be decentralized is who can issue a proof and who holds it:

  • Many issuers. A bank, a city, a school, a tribal nation or a community organization should all be able to vouch for a fact. No single company should be the only source of "this person is real."
  • People hold their own credentials. The credential lives in your wallet, and you decide when to present it. The issuer doesn't get a ping every time you use it.
  • Anyone can verify. Checking a signature needs a public key, not a phone call to a central gatekeeper.

Chart on parchment with hand-drawn chalk spirals and tree rings, titled "One gatekeeper sees every place you go. Decentralized proofs: many issuers, you hold them." Left panel, "One gatekeeper": a large red tree-ring hub labeled "Platform" is wired by red lines to you, your agent, a cat rescue, a café, a shop and an ad network, with the code note "log: every request, every site." Right panel, "Decentralized proofs": five blue spirals for a bank, city, school, tribal nation and community org send arrows into a large gold tree ring labeled "You: your wallet holds the credentials." An arrow leads to a green spiral, "Your agent shows one claim," which branches to a cat rescue, a café and a shop, each checking it with "verify(claim, public_key), no call home." A numbered key at the bottom reads: one gatekeeper means every check runs through one hub, the hub sees every place you go, and one company decides who is real; decentralized proofs mean many issuers sign facts about you, you hold the credentials, your agent shows one claim, and anyone verifies with a public key.

One gatekeeper sees every place you go. With decentralized proofs, many issuers vouch for you, you hold the credentials, and anyone can verify a claim without calling home. (Digital chart made with AI assistance, after my Skyworld drawings, in the manner of Leonardo's notebooks.)

The cryptography in passkeys, Privacy Pass and SD-JWT already works this way. The open question is governance: who gets to be an issuer, and who decides. That's where communities, not only platforms, should have a say.

What builders can do this week

  • Stop treating VPN traffic as guilty. Audit your bot and fraud rules. If an IP reputation score alone can block a donation or a checkout, add a way through that accepts a proof instead.
  • Sign your agent's requests. If you run an agent or crawler, publish a key directory and sign with Web Bot Auth. If you run a site, verify those signatures before falling back to CAPTCHAs.
  • Make usernames pairwise. Use passkeys, generate random user IDs, turn attestation off unless you truly need it, and don't make email the account key.
  • Ask for one fact, not a profile. For every field in your sign-up form, write down the decision it supports. If there's no decision, delete the field. If there is, see whether a single disclosed claim can answer it.
  • Let people see menus, prices and public pages without an account. The café rule: no one should hand over a birthday to read a price.

Start building: free and open-source tools

These projects are open source, and the credit belongs to the teams who build and maintain them. Check each license before you ship.

Pattern Project Made by License Use it to
Agent signatures web-bot-auth Cloudflare Apache-2.0 Sign and verify bot requests in TypeScript or Rust, host a key directory
Anonymous tokens privacypass-ts Cloudflare Apache-2.0 Issue and redeem Privacy Pass tokens (RFC 9578)
Passkeys SimpleWebAuthn MasterKale MIT Add passkeys in TypeScript
Passkeys Hanko Team Hanko AGPL-3.0 backend; MIT front-end SDKs Self-host passkey-first sign-in
Pairwise IDs Keycloak Keycloak project Apache-2.0 Run sign-in with per-site subject identifiers
Selective disclosure identity-common-ts LF Decentralized Trust Check the repo Create and present SD-JWTs (successor to the archived sd-jwt-js)
Credentials Veramo Decentralized Identity Foundation Apache-2.0 Issue and verify DIDs and verifiable credentials

The web-bot-auth package notes it hasn't been audited yet, so treat it as a prototyping tool for now. Repos and licenses checked November 27, 2026.

Privacy is the default

The agentic web doesn't have to choose between agents that work and people who stay private. Agents can prove who they are. People can prove only what a moment needs. And anyone, not just the people most at risk, can choose to stay hidden.

Trust is the interface. Privacy should be the default. A black coffee should cost a few dollars, not a date of birth.

If you're building any of these patterns, I'd love to hear what's working. Find me at studioamelia on Medium and dev.to.

Sources


Drafted with help from an AI assistant; the ideas, stories and final edits are mine. Charts made with AI assistance.

Top comments (0)