<!-- mobian-agent-page publisher="dailydev" canonical="https://daily.dev/posts/your-company-brain-will-leak-secrets-how-we-stopped-it-for-big-banks-tanmai-gopal-promptql-mzepqboob" -->

---
title: Your company brain will leak secrets: how we stopped it...
description: A talk from PromptQL co-founder Tanmai Gopal argues that shared 'company brain' knowledge bases for AI coding agents will leak sensitive secrets unless...
canonical: https://daily.dev/posts/your-company-brain-will-leak-secrets-how-we-stopped-it-for-big-banks-tanmai-gopal-promptql-mzepqboob
twitter:card: summary_large_image
twitter:site: @dailydotdev
og:type: website
og:site_name: daily.dev
og:title: Your company brain will leak secrets: how we stopped it for big banks — Tanmai Gopal, PromptQL | daily.dev
og:description: A talk from PromptQL co-founder Tanmai Gopal argues that shared 'company brain' knowledge bases for AI coding agents will leak sensitive secrets unless...
og:url: https://daily.dev/posts/your-company-brain-will-leak-secrets-how-we-stopped-it-for-big-banks-tanmai-gopal-promptql-mzepqboob
og:image: https://api.daily.dev/og/posts/MzePQbOoB.png
og:image:alt: Your company brain will leak secrets: how we stopped it for big banks — Tanmai Gopal, PromptQL
og:image:width: 1200
og:image:height: 630
og:locale: en
---

> ## Documentation Index
> Fetch the complete documentation index at: https://daily.dev/llms.txt
> Use this file to discover all available pages before exploring further.

# Your company brain will leak secrets: how we stopped it for big banks — Tanmai Gopal, PromptQL

**[AI Engineer](https://daily.dev/sources/aidotengineer)** · 26 min read · 1 upvotes · 0 comments

## Summary

A talk from PromptQL co-founder Tanmai Gopal argues that shared 'company brain' knowledge bases for AI coding agents will leak sensitive secrets unless designed carefully. Drawing on a year of deployments across AI-native startups, tech-forward companies, and banks, he proposes modeling company knowledge as a single interconnected wiki (not siloed channels or GitHub-only skill repos), requiring every wiki edit to be human-approved and attributed by name rather than auto-saved by an agent, scoping read/write access per wiki page, and injecting user credentials at the HTTP/SQL layer at tool-execution time instead of storing credentials in agent sandboxes. He also shares an anecdote about Claude Cowork-style multiplayer agent use and previews PromptQL's own product, PromptTag, as a model-agnostic alternative.

## Full article

daily.dev links to this article rather than hosting it. Read it at the original source: <https://www.youtube.com/watch?v=0uC6u0lJJl4>

## Questions this post answers

### How can I prevent an AI coding agent with access to a shared company knowledge base from leaking sensitive information like salaries to unauthorized employees?

Avoid letting agents auto-write to shared memory; instead have the agent suggest additions with proposed access scopes, then require a human to explicitly accept them, tying every change to that person's name rather than to the AI. Each wiki page gets its own read/write scopes, and at runtime the agent reads context and executes tools using the querying user's own credentials rather than a shared or stored credential, so it can never surface data the requesting user isn't already permitted to see.

_Anyone architecting shared AI knowledge systems can compare access-control patterns like this via daily.dev._

### Why do healthy shared AI knowledge bases show an increasing number of daily updates over time instead of leveling off?

Because once a system starts working, people teach it progressively more advanced skills layered on top of earlier ones (first querying data, then interpreting it, then acting on it, then testing), and since agent learning is never perfect, each layer keeps generating its own steady stream of corrections, so the update rate compounds and gently climbs rather than flattening.

_Teams tracking whether their internal AI knowledge base is actually gaining adoption can find real-world patterns like this on daily.dev._

### What is the security risk of letting multiple people share the same AI agent for tasks like collaborative incident response and deployment?

The risk is privilege escalation: an agent given broad access so one engineer can debug and open a pull request could then be reused by the same shared session to deploy straight to production, collapsing separate human permission levels into one. The fix is to never store credentials in the execution sandbox and instead inject each individual user's own credentials at the HTTP or SQL layer so the agent only ever acts with that specific person's actual privileges.

_Developers designing multi-user AI agent workflows can weigh these privilege-escalation tradeoffs through daily.dev._

## Similar posts on daily.dev

- [The messy truth of your AI strategies](https://daily.dev/posts/the-messy-truth-of-your-ai-strategies-yadu5laml) · Stack Overflow Blog · 0 upvotes · 0 comments

---

Tags: [#security](https://daily.dev/tags/security), [#ai-agents](https://daily.dev/tags/ai-agents), [#productivity](https://daily.dev/tags/productivity)

[View this post on daily.dev](https://daily.dev/posts/your-company-brain-will-leak-secrets-how-we-stopped-it-for-big-banks-tanmai-gopal-promptql-mzepqboob)

```json
{"@context":"https://schema.org","@graph":[{"@type":"Organization","@id":"https://daily.dev/#organization","name":"daily.dev","url":"https://daily.dev","logo":{"@type":"ImageObject","url":"https://daily.dev/apple-touch-icon.png","width":180,"height":180},"sameAs":["https://twitter.com/dailydotdev","https://github.com/dailydotdev","https://www.linkedin.com/company/daily-dev-ltd"]},{"@type":"WebSite","@id":"https://daily.dev/#website","url":"https://daily.dev","name":"daily.dev","publisher":{"@id":"https://daily.dev/#organization"},"potentialAction":{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https://daily.dev/search?q={search_term_string}"},"query-input":"required name=search_term_string"}}]}
{"@context":"https://schema.org","@type":"TechArticle","headline":"Your company brain will leak secrets: how we stopped it for big banks — Tanmai Gopal, PromptQL","url":"https://daily.dev/posts/your-company-brain-will-leak-secrets-how-we-stopped-it-for-big-banks-tanmai-gopal-promptql-mzepqboob","mainEntityOfPage":{"@type":"WebPage","@id":"https://daily.dev/posts/your-company-brain-will-leak-secrets-how-we-stopped-it-for-big-banks-tanmai-gopal-promptql-mzepqboob"},"datePublished":"2026-09-03T15:32:03.695Z","dateModified":"2026-09-13T21:00:49.021Z","description":"A talk from PromptQL co-founder Tanmai Gopal argues that shared 'company brain' knowledge bases for AI coding agents will leak sensitive secrets unless...","image":"https://i.ytimg.com/vi/0uC6u0lJJl4/sddefault.jpg","thumbnailUrl":"https://i.ytimg.com/vi/0uC6u0lJJl4/sddefault.jpg","isAccessibleForFree":true,"articleSection":"AI Engineer","inLanguage":"en","publisher":{"@type":"Organization","name":"daily.dev","url":"https://daily.dev","logo":{"@type":"ImageObject","url":"https://daily.dev/apple-touch-icon.png","width":180,"height":180}},"author":{"@type":"Organization","name":"AI Engineer","logo":"https://media.daily.dev/image/upload/s--u5PucxNT--/f_auto/v1724338940/logos/aidotengineer","url":"https://daily.dev/sources/aidotengineer"},"commentCount":0,"discussionUrl":"https://daily.dev/posts/your-company-brain-will-leak-secrets-how-we-stopped-it-for-big-banks-tanmai-gopal-promptql-mzepqboob","interactionStatistic":[{"@type":"InteractionCounter","interactionType":{"@type":"LikeAction"},"userInteractionCount":1},{"@type":"InteractionCounter","interactionType":{"@type":"CommentAction"},"userInteractionCount":0}],"keywords":"security,ai-agents,productivity","timeRequired":"PT26M","video":{"@type":"VideoObject","name":"Your company brain will leak secrets: how we stopped it for big banks — Tanmai Gopal, PromptQL","description":"A talk from PromptQL co-founder Tanmai Gopal argues that shared 'company brain' knowledge bases for AI coding agents will leak sensitive secrets unless...","thumbnailUrl":"https://i.ytimg.com/vi/0uC6u0lJJl4/sddefault.jpg","uploadDate":"2026-09-03T15:32:03.695Z","duration":"PT26M","url":"https://api.daily.dev/r/MzePQbOoB","embedUrl":"https://www.youtube.com/embed/0uC6u0lJJl4"}}
{"@context":"https://schema.org","@type":"BreadcrumbList","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https://daily.dev"},{"@type":"ListItem","position":2,"name":"AI Engineer","item":"https://daily.dev/sources/aidotengineer"},{"@type":"ListItem","position":3,"name":"Your company brain will leak secrets: how we stopped it for big banks — Tanmai Gopal, PromptQL"}]}
{"@context":"https://schema.org","@type":"FAQPage","@id":"https://daily.dev/posts/your-company-brain-will-leak-secrets-how-we-stopped-it-for-big-banks-tanmai-gopal-promptql-mzepqboob#faq","mainEntity":[{"@type":"Question","name":"How can I prevent an AI coding agent with access to a shared company knowledge base from leaking sensitive information like salaries to unauthorized employees?","acceptedAnswer":{"@type":"Answer","text":"Avoid letting agents auto-write to shared memory; instead have the agent suggest additions with proposed access scopes, then require a human to explicitly accept them, tying every change to that person's name rather than to the AI. Each wiki page gets its own read/write scopes, and at runtime the agent reads context and executes tools using the querying user's own credentials rather than a shared or stored credential, so it can never surface data the requesting user isn't already permitted to see. Anyone architecting shared AI knowledge systems can compare access-control patterns like this via daily.dev."}},{"@type":"Question","name":"Why do healthy shared AI knowledge bases show an increasing number of daily updates over time instead of leveling off?","acceptedAnswer":{"@type":"Answer","text":"Because once a system starts working, people teach it progressively more advanced skills layered on top of earlier ones (first querying data, then interpreting it, then acting on it, then testing), and since agent learning is never perfect, each layer keeps generating its own steady stream of corrections, so the update rate compounds and gently climbs rather than flattening. Teams tracking whether their internal AI knowledge base is actually gaining adoption can find real-world patterns like this on daily.dev."}},{"@type":"Question","name":"What is the security risk of letting multiple people share the same AI agent for tasks like collaborative incident response and deployment?","acceptedAnswer":{"@type":"Answer","text":"The risk is privilege escalation: an agent given broad access so one engineer can debug and open a pull request could then be reused by the same shared session to deploy straight to production, collapsing separate human permission levels into one. The fix is to never store credentials in the execution sandbox and instead inject each individual user's own credentials at the HTTP or SQL layer so the agent only ever acts with that specific person's actual privileges. Developers designing multi-user AI agent workflows can weigh these privilege-escalation tradeoffs through daily.dev."}}]}
```

