# PromptQL: Your Company Brain Will Leak Secrets _PromptQL co-founder Tanmai Gopal demoed how a 5,000-page company brain leaks secrets and how scoped wikis plus proxied tool use can contain it._ **Published:** 2026-09-04 **Source:** https://www.startuphub.ai/cybersecurity/promptql-your-company-brain-will-leak-secrets --- PromptQL co-founder Tanmai Gopal says a working company brain will leak secrets by default, and he demoed a fix built for banks. In an [AI Engineer](https://www.youtube.com/watch?v=0uC6u0lJJl4) talk he showed a 5,000-page internal wiki that grows daily because people keep teaching a useful agent more. The affected systems aren't databases. They're coding agents used as general workers: Claude Code, [OpenClaw](https://www.startuphub.ai/ai-news/artificial-intelligence/2026/openclaw-s-viral-launch-lessons-for-ai-maintainers), Hermes and [Claude Tag](https://www.startuphub.ai/ai-news/artificial-intelligence/2026/anthropic-rolls-out-claude-tag-on-slack). The attacker needs no exploit. Any logged-in teammate who asks the agent to handle a security questionnaire or debug an incident can pull another team's private context. Gopal plotted their wiki edits and found daily updates climb, not plateau. People add a querying skill, then interpretation, then actions, then AB tests, so a healthy brain just gets noisier with use. ## How the leak actually works The leak is a permissions problem dressed up as memory. Teams try two patterns today, and both fail. One is a shared [GitHub](https://www.startuphub.ai/ai-news/technology/2026/github-outage-capacity-failures-hit-devs) skills repo nobody updates after day two. The other is a team brain, a Hermes bot that auto-saves memory into a channel silo. Move that siloed memory to Slack and you get [Claude Tag](https://www.startuphub.ai/ai-news/artificial-intelligence/2026/anthropic-rolls-out-claude-tag-on-slack) style per-channel recall. Useful in that channel, invisible elsewhere, and still auto-written. PromptQL frames it as one giant folder of markdown files that link to each other. If every file is readable by every agent, your intern's agent can read finance comp the way a new hire could open the wrong shared drive. The demo was concrete. A teammate answered a security questionnaire once, the agent captured the trust center and gateway details, then another employee asked the agent to draft a reply to StitchFix and it pasted the prior team's answers without a check. ## What PromptQL's wiki model fixes, and what it doesn't PromptQL enforces four rules. Keep one company-wide wiki, require every change to be suggested by the agent and approved by a named human, scope each file for who can read or write it, and never store credentials in the sandbox. Reads use the requester's claims, so a finance wiki only opens if you have the finance claim. Tool execution is proxied the same way at the HTTP and SQL layer, so the agent acts as you, not as a superuser. In multiplayer incidents the separation matters more. Gopal showed a live case where two engineers argued over an OpenTelemetry span name and a page name prefix that broke lookups in prod. The debate produced the best documentation, but a shared agent that can debug, open a PR, deploy to staging and prod with one identity would violate bank separation of duties. His fix virtualizes every data touch. The user who configures a tool controls who gets access, and the agent borrows that user's credential just for that call. The gap is human. Scopes only work if the approver picks the right file and scope. Tag a sensitive finance page as general and the leak returns, now with an audit trail showing who approved it. For builders the takeaway is narrow. Don't let agents auto-write to shared memory, and don't co-mingle credentials in the sandbox. Gopal's team, Hasura GraphQL veterans now building PromptQL after deployments at Apple, Meta and [JP Morgan](https://www.startuphub.ai/ai-news/artificial-intelligence/2026/ai-s-future-a-lot-more-to-come-says-jp-morgan-strategist), has tested this with only 15 to 20 design partners. It hasn't been proven at [Claude Tag](https://www.startuphub.ai/ai-news/artificial-intelligence/2026/anthropic-rolls-out-claude-tag-on-slack) scale. --- Original analysis from [startuphub.ai](https://www.startuphub.ai), the #1 AI startup directory.