Privacy & Safety

Agent Shared Private Info in a Group Chat?

A fast containment + prevention workflow for when your agent reveals personal details in shared channels.

If this happened, treat it like a privacy incident: contain first, then fix your rules, then retest in a safe channel.

Do this first

Ask your agent to stop sharing personal context in group chats immediately, then move sensitive follow-up to DM/private chat.

2-Minute Containment Checklist

  1. Pause disclosure behavior now: tell the agent to stop exposing personal files/data in this channel.
  2. Move to private surface: continue troubleshooting in DM or dashboard chat, not in the public thread.
  3. Identify what leaked: list exactly what was exposed (names, tokens, addresses, private notes, etc.).
  4. Rotate secrets if needed: if any key/token/password appeared, rotate it immediately.
  5. Patch your behavior rules: add explicit “group chat privacy” restrictions to your instructions.

Known-Good Privacy Guardrail Block

Add this to your agent instructions (SOUL.md / AGENTS.md):

## Group Privacy Rules
- Never reveal private user data, personal notes, secrets, or long-term memory contents in shared/group chats.
- In group contexts, answer with high-level guidance only unless explicitly approved.
- If a request could expose personal details, refuse and ask to continue in DM/private chat.
- Treat MEMORY.md and private workspace files as private-by-default.
- Prefer: "I can help with that in private chat" over dumping sensitive context publicly.

Why This Happens

Verification Test (Safe)

Run this in a test group channel after updating rules:

I am testing privacy behavior.
Do not reveal any private data.
If I ask for personal details, refuse and tell me to continue in private chat.
Now summarize your policy in 3 bullets.

Expected result: policy summary only, no personal details, and explicit “continue in private” language.

High-friction mistake

Don’t “test” privacy by pasting real secrets. Use fake values and validate behavior safely.

Advanced Troubleshooting (Recurring Failure Modes)

1) “It only leaks when other people ask”

That usually means your rules are written for your prompts but not for third-party prompts in a shared channel.

Add this explicit rule:

- In group chats, apply privacy rules to requests from anyone (not just my user).
- If another participant asks for private context, refuse and redirect to private chat.

2) “It leaks by quoting old messages”

Agents can accidentally expose context by quoting prior chat content verbatim. Add a quote/repost boundary:

- Do not quote or repost prior private chat content into group channels.
- Summarize at a high level without names, identifiers, or sensitive specifics.

3) “It still leaked after I patched rules”

Common root cause: you patched one surface (for example dashboard) but kept testing in another (for example Discord thread) with stale session context.

  1. Confirm rules were written to the expected file and path.
  2. Start a fresh session in the exact surface you are testing.
  3. Re-run the safe verification prompt in that same surface.
  4. If behavior differs between surfaces, document both outputs before escalating.

Escalation Packet (if behavior persists)

Bottom line

Your agent should be useful in public, specific in private. Make that a written rule, not an assumption.