SECURITY & TRUST ARCHITECTURE

Your memory stays yours. Every boundary is verifiable.

Memware is engineered around four hard invariants: zero raw-turn persistence, pre-LLM DLP redaction, tenant-scoped encryption at rest, and instant physical erasure.

Zero Raw-Turn Data Lifecycle

01 // INGRESS
Scoped Bearer Auth

Each client token is pinned to a specific vault (`work`, `personal`, `default`) and permission level (`read_only`, `read_write`, `admin`).

02 // EDGE DLP
Pre-LLM Redaction Gate

API keys, PEM keys, DB URIs, payment cards, national IDs, and `<private>` blocks are masked in memory before any model sees them.

03 // DISTILL
Ephemeral Fact Extraction

Only durable facts and task threads are distilled according to your privacy level; raw turns are discarded immediately.

04 // VAULT
Tenant AES-256-GCM Storage

Facts, embeddings, preferences, and threads are sealed with HKDF-SHA256 derived tenant keys and AAD isolation.

ZERO RAW LOGS

Raw conversations never touch disk

Unlike chat-history mirrors, Memware discards raw user and assistant messages after ephemeral extraction in Cloudflare Workers memory. There is no raw-turn table in D1.

PRE-LLM DLP

Automatic secret & <private> scrubbing

Accidentally pasted `.env` secrets, GitHub PATs, JWTs, SSH private keys, or content wrapped in `<private>...</private>` are scrubbed before extraction and never stored.

LEAST PRIVILEGE

Scoped tokens block prompt-injection wipes

Default `read_write` tokens can recall and save facts but are strictly blocked from invoking `memory_reset`. Keep `work` and `personal` vaults cleanly separated.

FULL SOVEREIGNTY

Export anytime, delete physically

Download all decrypted memories in JSON or Markdown in one click. Single deletions and account erasure execute physical SQL DELETE with zero soft-delete tombstones.

Sub-processors & Infrastructure Transparency

EntityPurposeData ScopePrivacy Safeguard
Cloudflare (Workers & D1)Edge MCP gateway, auth & vault storageEncrypted memory cards, preferences, threads & audit logsTenant-isolated HKDF + AES-256-GCM ciphertext
Model Inference ChannelEphemeral memory extraction & embeddingsPre-scrubbed turn excerpts in memory onlyZero-Data-Retention; never used to train models
Dodo Payments / Waffo PancakeMerchant of Record checkout & tax/VATCheckout email & payment order metadataZero access to memory vaults or MCP tokens
Funnel Telemetry & GA4 MPProduct health & conversion metricsAnonymous stage counts & tool invocationsStrict property allowlist drops all facts, topics & queries

Want 100% Air-Gapped Local Storage?

Run Memware Local (`npx -y memware@latest`) to keep every SQLite table inside `~/.memware/` on your own machine with BYOK model keys. Offline `MW1...` licenses verify locally via Ed25519 cryptography with zero outbound network calls.

Vulnerability Disclosure & Compliance Contact

Report security vulnerabilities to security@aiware.life or inspect our machine-readable policy below. Privacy and deletion requests are handled at privacy@aiware.life.