r/secondbrain • • 3d ago

Using an Obsidian vault as the shared "brain" for multiple AI agents. What are the real security risks?

/r/ObsidianMD/comments/1yae6ly/using_an_obsidian_vault_as_the_shared_brain_for/
1 Upvotes

3 comments sorted by

1

u/lauroune Claude 1d ago

prompt injection; your harness should handle input-sanitation. grok bot will not take commands from read inputs.
sensitive; depends on what your storing in there.. do you handle confidential data over email etc? Again, the harness should flag these. The guardrails on the latest closed-source models are really strong, it will default to encryption usually. for software usually, you save a .env that has your api keys. Not sure how technical you'd want your stack

agent delete; you can add rules to your agents. 'never-delete' or roll up to your personal assistant checks
cloud agents; that's the key to the problem. there's trade-offs for both. Local agents have access to your file-system, can write in git better etc etc. daily agents should run on cloud. Claude has .env keys you can set to give permissions per agents.

- you can use multiple vaults, you should think of them as knowledge graphs. I have like 6 of them that different agents use when the context is needed. It's really hard to just build one mega vault for all your personal context.

If you're interested in my personal stack you can tell your agents about it by pointing them to https://laurent.md/

1

u/Psychological_Arm645 1d ago

The dense backlinks make the provider-logging worry worse. If the agent that opens a work note also pulls in what it links to, a linked health note goes to Grok with it, even though you only asked about the first one.

That's why a separate vault helps less than filtering at retrieval time: tag notes by sensitivity, send the sensitive tier only to Ollama, and don't let the cloud agent pick which links to follow.

Easy to test before widening access: ask Grok about a work note that links to a health note, then look at what actually got sent.