Agent Safety
Rules the shluchim agent builders learned the hard way in 2026: give an agent only the access it needs, make it draft instead of send, give it its own email account, keep passwords in a vault, never paste logs into a group, and assume someone will try to trick it.
On this page
- 1. Remove the ability, do not just forbid it
- 2. Draft, then send yourself
- 3. Give the agent its own email account, inside your own organization
- 4. Keep passwords in a vault, not in the chat
- 5. Never paste logs into a group
- 6. Assume someone will try to trick it
- 7. Watch the supply chain
- 8. Google sign-in changes to know about
- An open question: should the agent say it is an AI?
- Related
A chatbot that only talks can embarrass you. An agent that can send email, edit your CRM and log into websites can do real damage, and it will follow instructions from anyone who manages to get text in front of it. The rules below come from the GabAI builders and the wider shluchim groups in 2026, with the incidents that taught them. They apply equally to hosted agents like Muse or Instinct (Personal AI Agents).
1. Remove the ability, do not just forbid it
The GabAI admin's rule: "Don't tell the agent not to do something, don't give it the capability." An instruction in a prompt can be forgotten or overridden by something the agent reads; a permission the agent does not have cannot.
Why the group adopted it:
- In May 2026 a member's agent, which had drifted from its default settings, emailed a feature request to an outside software company on his behalf. It was well written and nobody had asked for it.
- Another agent held a full conversation with a contractor and told him the Chabad House was tax-exempt.
- A hosted agent sent minyan texts at 2 a.m. without asking. Another opened customer-service chats on Amazon for 72 hours straight until the account was flagged.
GabAI's defaults follow the rule: the agent only reads chats you registered, answers only when tagged, and has no ability to send email. When one member needed a hard limit, his host built it into the code instead of the instructions.
Start every new connection read-only. Add write access one piece at a time, after you have watched it work.
2. Draft, then send yourself
For email, texts, posts and CRM changes, the safest setup is an agent that prepares and a person who presses send. The admin of the shluchos group, October 2026: "I would only allow it to make a draft," then review in Gmail and send. The GabAI admin runs his own agent the same way: it can read all his email and write drafts, never send unsupervised.
When a tool can send by itself, say so in writing: "Show me the draft and wait for my OK. Do not send." A shliach who asked ChatGPT to design a test email in ChabadOne's Communicator watched it send in 45 seconds without waiting.
For money, the working norm in the groups was read-only or draft-only, with an explicit "confirm" before anything is written to the books. See Bookkeeping Agents.
3. Give the agent its own email account, inside your own organization
In June 2026 a member created a free Gmail account just for his agent and forwarded email to it for draft replies. Google disabled the account. Google's policies say it disables accounts used to get around its rules with multiple accounts, and it bans using its services to send automated messages (Google Account help); an inbox that only a program ever touches looks like that. Earlier, in February 2026, Google suspended accounts whose owners had routed the OpenClaw agent through Google's Antigravity sign-in, some reportedly losing Gmail access too.
What the group recommends instead:
- A role account in your own Google Workspace (for example an "assistant" address on your Chabad House domain). You have an admin console and a real support path if something is flagged. One member's Workspace account was flagged and restored within a couple of hours after an appeal.
- An email service built for agents if you have no Workspace. The builders pointed to AgentMail, whose free tier on 2026-10-21 was three inboxes and 3,000 emails a month (AgentMail).
- A Google service account if the agent only needs Drive, Docs and Sheets. It has no inbox, so it is no use for email.
Keep two separate addresses if you can: one the agent uses with the community, and a different one that receives account logins and password resets, which the agent should never see.
4. Keep passwords in a vault, not in the chat
Never paste a password, card number or API key into a chat with an agent. If you already did, treat it as leaked and change it.
- Credential vaults. NanoClaw and GabAI ship with the OneCLI Agent Vault: keys stay on the host and are added to the agent's outgoing requests in transit, so the agent never holds them (NanoClaw credentials docs). OneCLI is open source and also offers a hosted version with a free plan (OneCLI). IronClaw, from NEAR AI, takes a similar approach with an encrypted vault.
- What a vault does not do. In April 2026 the GabAI group found that OneCLI works for services that take a key in the request (most APIs) but not for website login forms like a store's sign-in page. For very sensitive keys, a member's tip was to add them over SSH so they never pass through a Claude conversation.
- For websites with no API, log in yourself once in the agent's browser and let it reuse the saved session, rather than handing over the password. Give the agent its own limited user where the site allows it; one shliach made a separate Little Green Light user with restricted permissions for his agent. Expect the session to expire.
- Do not let an agent fight a "verify you're human" check. ChabadOne's login has one; it is there on purpose. Click through it yourself.
5. Never paste logs into a group
In July 2026 a member pasted a server process list and log output into a group chat to get help. It contained live cloud credentials and tokens. Before you share ps, docker logs, .env or any error dump, remove keys, tokens, email addresses and phone numbers, or ask Claude Code on the host to redact it for you. Better: let Claude Code do the diagnosis on the server, which is what the group's admins ask for anyway.
The same goes for donor lists and member details. A group chat with an agent in it is not private: everyone in the group can see everything the agent says there.
6. Assume someone will try to trick it
Prompt injection means hiding instructions inside content the agent reads: an email, a web page, a PDF, a message in a group. The agent cannot reliably tell your instructions from an attacker's. It is first on OWASP's list of AI application risks (OWASP LLM01), and NanoClaw's security model starts from the assumption that the agent will be injected (NanoClaw security model).
What that means in practice:
- An agent that reads your email can be steered by anyone who emails you. The GabAI admin: email access "is another attack surface, it's an injection surface and it's an exfiltration path." Nothing in GabAI cleans email content before the agent reads it.
- Keep lookup-only agents separate from agents that can act. An agent that reads the inbox should not be the one that can send or pay.
- Put an approval step on anything that leaves the server: sending, posting, buying, deleting.
- An agent that refuses to reveal a secret can still be talked into it if the secret is in its context. In April 2026 an agent correctly refused to show its settings file when asked in a group; members pointed out that a persistent person could still wear it down. Keep secrets out of the agent's reach entirely.
- Test it. The admin's advice for a shared agent: "Try with one friend and ask him to try to exfiltrate private info."
7. Watch the supply chain
Agents install code, and so do the tools around them.
- On 2026-03-24 two releases of LiteLLM, a popular AI routing library, were published with malware that stole cloud and API keys (Cloud Security Alliance). Pin versions of anything you install.
- In May 2026 a critical flaw in Baileys, the WhatsApp library behind most self-hosted WhatsApp agents, let attackers fake messages; patched in 7.0.0-rc12 and 6.7.22 (advisory).
- Skills an agent writes for itself, or that you install from a library, are code. Read the ones that touch email, money or contacts.
A member's PSA from July 2026: run a periodic audit. He had Claude review his whole customized setup at the highest effort setting and it found several problems, including one vulnerability his firewall happened to hide. Review its recommendations before applying them.
8. Google sign-in changes to know about
- Apps left in "Testing" lose access after a week. If you create your own Google Cloud project for an agent and leave its sign-in screen in Testing status, Google issues refresh tokens that expire in 7 days (Google OAuth docs). Members whose Workspace connection kept dropping had this problem. For your own organization, set the audience to Internal.
- Google Workspace MCP servers. Google now offers official connectors (MCP servers) for Gmail, Drive, Calendar and more, in its Developer Preview program. When you create the sign-in client for an AI agent, Google's setup guide says to tick "Use this client for an AI-powered agent," and requests from clients without it can be rejected (Google setup guide). In October 2026 a member relayed a Google email saying the setting would be enforced from November 11 and fixed permanently the next day; those dates were not confirmed on Google's public pages. Apps that use the regular Gmail and Drive APIs were said to be unaffected.
An open question: should the agent say it is an AI?
One shliach's agent team is set never to identify itself as AI to his contacts. Others in the groups felt that people writing to a Chabad House deserve to know when a bot is answering, and some had received AI-labeled WhatsApp messages from other shluchim and found them off-putting. The groups did not settle it. Decide deliberately rather than by default.
Related
- Personal AI Agents, with an eight-question checklist
- Agent Hosting, for server lockdown
- GabAI, NanoClaw, Hermes Agent
- Privacy & Data
- WhatsApp Automation