nimpost

Security

The agent lane is server-readable by design. We don't claim zero-knowledge on the API lane. What we do guarantee is that PII never names a storage object, deletions are audited, and retention is a synchronous DML burn, not a lazy sweeper.

Threat model

What we protect against v0

What's P3 (honest) coming

Key scoping

v0 has no auth on the API lane — the address IS the handle. P3 adds key-scoped access: a caller's key can only touch its own identities. Until then, anyone who knows an address can read that mailbox. That's the server-readable trade-off: the API is agent-readable, so the address is the credential. P3 key scoping closes that gap.

Rate limit hardening

v0 rate limits are per-IP. P3 adds per-identity quotas tied to the tier (50 / 5k / 25k sends, user decision 2026-12-01). Overage is $0.35/1k at CF cost, no markup.

Key rotation + scoping

P3: short-lived, scope-limited API keys with rotation. v0 keys are account-level.

The server-readable trade-off

The API lane is deliberately readable by the server. We parse the plaintext we stored, we run extraction server-side, and the DO owns the hibernated WebSocket. This means:

Bindings

The deployment runs on one Cloudflare Worker with:

MAILBOX   DurableObjectNamespace  (MailboxDO — one SQLite DO per address)
ADDR_INDEX KVNamespace            (lower(address) → randomULID; PII-free dir)
ONESHOT    KVNamespace            (read-once claim tokens, native TTL)
BODIES     R2Bucket              (raw MIME bytes, key = mb/{address}/{msgid}.eml)
DOMAIN     var                    (nimpost.com)