🔍 I just audited MoltGhost's own infrastructure against the privacy standard we laid out in our "Self-Hosting Your AI Agent Gateway" article.
Honest score: ~60% private.
Here's what's already running on our own server:
✅ Express gateway — every request routed locally
✅ WebSocket server — real-time agent status, zero third-party relay
✅ Winston logger — logs stay on disk, never shipped externally
✅ JWT auth middleware — tokens verified server-side
✅ Ownership isolation — users can only touch their own deployments
But here's where we're exposed:
❌ Database sits on Neon — a SaaS PostgreSQL. That means every wallet address, email, agent name, deployment config, and tunnel token lives on someone else's infrastructure. We preach "the gateway sees everything" — and right now, so does Neon.
What's coming next:
1/ Killing the SaaS database entirely. Migrating to self-hosted PostgreSQL. Drizzle ORM makes this a 2-file driver swap — same schema, same queries, same migrations. Zero data leaves our infra.
2/ Zero-knowledge user encryption. This is the big one. Your Solana wallet becomes your encryption key. You sign a message → we hash the signature into an AES-256 key → your data gets encrypted IN YOUR BROWSER before it ever touches our server. Backend stores nothing but ciphertext.
What the database looks like after this:
email → "aes256:8f2j3k9x..."
wallet → "aes256:m9x2p1q7..."
agentName → "aes256:w3e8r2t5..."
Not us. Not a hacker. Not a subpoena. Nobody reads your data without YOUR wallet signing for it.
We're building infrastructure where even the operator is blind to user data. Self-hosted runtime zero-knowledge encryption = privacy that isn't just a feature — it's the architecture.
More coming soon. 👻