Open app

What our server can and can’t see

Lensary encrypts in your browser, but it is not zero-knowledge while an AI reads through a lens over MCP. This page says exactly where the line is.

ItemAt restWhile an AI reads through a lensPaste block
Your master keynever leaves your browsernever leaves your browsernever leaves your browser
Sections outside the lensciphertext onlyciphertext onlynot involved
Sections inside the lensciphertext onlydecrypted in server memory for that request, then droppedbuilt in your browser; our server is not involved
The lens keynot stored (we keep a hash)arrives in the request URL–
On chainhourly Merkle root of the log: no content, no wallet addresssame–

Aberrations: the limits we know about

Our server sees lensed sections for a moment

When an AI reads over MCP, the sections inside that lens are decrypted in server memory for that request, sent, and dropped. Not stored, not logged. Paths that avoid the server: the paste block today, a local bridge in Grind 2.

Browser encryption trusts the code we ship

A compromised server could ship JavaScript that steals keys. Mitigations: a strict CSP, no third-party scripts, a published build hash. Not an absolute guarantee.

A lens URL is a key

It sits in your AI client’s settings (a text file in some editors, an account at the AI provider). Whoever holds it can read until it expires or you Shutter it. Keep lenses short, watch Glints.

The AI keeps what it read

Shutter stops the next read. It does not erase an AI’s memory or your chat history.

An anchor proves the log was not changed, not that it is complete

Once anchored, the log can’t be rewritten. Expiry and Shutter run on our server; per-lens sequence numbers make gaps visible, and wallet-mode Shutter on chain gives proof that does not depend on us.

AI names on a Glint are reported by the client

They can be spoofed. What is certain: which lens, when, which sections.

Shield is pattern based

It can miss new formats and can flag harmless text. It is a filter, not a guarantee.

Lose the master key, lose the Plate

There is no email and no reset. Safari can clear site storage after 7 days without a visit; private windows keep nothing. Download the key file.

Bags links a wallet to your context

The data is public, but adding a wallet to a lens (or a holder pass to a vault) is your choice, and our server sees that address while reading. Token names from chain are filtered and still untrusted. Average price is from curve trades only.

Anchors depend on keeper gas and RPC

If an hour is missed, the ledger shows the gap and the next batch covers it.

AI clients change

Custom MCP support differs by product and plan, and can change without notice.

The token is feature access

Not equity, no yield, and it can go to zero.

The cryptography

master    = 32 random bytes, kept in IndexedDB, exported as lensary-key.json
vaultId   = base64url(SHA-256("lensary/vault-id" || master))[0..22]
vaultAuth = HKDF-SHA256(master, salt "lensary", info "vault-auth")   server keeps SHA-256(vaultAuth)
section   = AES-256-GCM(secKey, random iv, text, aad "vaultId|sectionId|version")
secKey    wrapped with HKDF(master, "sec-wrap"),          aad "vaultId|sectionId"
lensKey   = 32 random bytes, only in the lens URL and your browser
lensId    = hex(SHA-256("lensary/lens" || lensKey))[0..32]   what the server stores
lens wrap = AES-256-GCM(HKDF(lensKey, "lens-wrap"), iv, secKey, aad "lensId|sectionId")

A lens read: the server hashes the lensKey from the URL to find the lens, checks expiry, unwraps only that lens’s section keys, decrypts the newest version of those sections in memory, answers, and drops them. It never writes the lensKey, the path or the content to a log or to disk, and the web server does not keep access logs for lens URLs.

Server hygiene

  • Strict CSP and no third-party scripts in the app, no analytics in /app.
  • CORS on the vault API allows lensary.xyz only. Rate limits per lens and per IP.
  • OAuth discovery paths answer a clean JSON 404, so MCP clients do not loop on login.
  • Free vaults with no activity for 30 days are deleted.