Is OpenClaw safe? Three circles and one dangerous middle
By Christophe Paka · Facts checked on 7 November 2026
"My employer sent out a warning email last week about OpenClaw," wrote a reader under the title "Major Security Concerns?". Another asked if it is safe to let it clean an email inbox.
Out of the box, OpenClaw can run commands, read and write your files, drive a browser and send email, all at once. One email with hidden orders was enough to steal a machine's secret key.
So is OpenClaw safe? That depends on one mix, not one setting. The figure below shows the mix, and how a scoped setup breaks it.

Use this diagram on your site
Free to share in your blog post, docs, course or slides, as long as the credit link stays. Paste the code below where the figure should go.
How to read this figure
Name the three circles. Private data is anything of yours the assistant can read: files, mail, notes, saved logins. Untrusted content is text written by someone else: emails, web pages, group chat messages. An outbound channel is any way it can send something out.
Find the middle on the left. On the left, the default install sits where all three overlap. That overlap is the lethal trifecta: private data, untrusted content and a way out, all reachable by one agent. A stranger's text can then order your data sent away.
Spot the hidden ways out. The outbound circle is bigger than it looks. A reply, an email and a web request all count. So does a link preview, the little card a chat app draws for a link, which fetches the page.
Look at the scoped setup. On the right, private data and untrusted content still overlap. But the outbound circle shrinks to an allowlist, a short list of approved places, and moves apart. There is no triple overlap.
See what the gap buys you. An injected order may still arrive, but it has nowhere to send your data. Removing one circle is enough, and the outbound one is usually easiest. Instructions are just text shows how such orders get in.
Key takeaways
- Check every job for the three circles: private data, strangers' text, a way out.
- Remove one circle from any job that has all three; the outbound one is usually easiest.
- Put your limits into Gateway settings, not only into chat, because text can be overridden or summarized away.
Worked example: the morning brief in three setups
Take one job, a morning brief, and check it against the three circles in three setups.
- Setup A is the default, with your main inbox and the shell. It reads your inbox and home folder, sees every email and web page, and can send email and web requests. All three circles: yes.
- Setup B is the scoped brief. It reads one notes folder, runs one web search, and can only reply to you. Fetching pages is switched off. Score: two, and a weak third.
- Setup C adds "and file my email" with send rights. It reads your notes and inbox, sees every email, and can email anyone. All three circles, again.
Result: In setup B the search results are still strangers' text, but their only way out is a reply to you. Setup C is the trap: one helpful extra job puts all three circles back. The sign is a reply or a sent mail you never asked for.
Questions readers ask
Is OpenClaw safe for cleaning an email inbox?
It can be, with limits. Readers who do it give the assistant its own email address, keep reading separate from sending, and never allow deleting. Let it sort and label; you do the sending and the deleting. That keeps the outbound circle out of a stranger's reach.
Does running OpenClaw in Docker make it safe?
Not on its own. A container keeps the program away from the rest of your computer. It does not keep it away from the accounts you connect. If you give the assistant your inbox, the container protects your hard drive, not your inbox. Data can still leave through any way out.
Can I just tell OpenClaw my security rules in chat?
A rule typed in chat is text, not a lock. Text hidden in an email or web page can override it, and a long chat can summarize it away. Put your limits into Gateway settings instead, such as switching off running commands. A setting holds whatever the text says.
Sources: Prompt injection (OpenClaw docs); OpenClaw security advisories; Compaction (OpenClaw docs).
This figure is from OpenClaw Made Crystal Clear, chapter 3.
The chapter builds the idea step by step, with recipes you can follow, a Try it to check yourself, and every source.
Get the book


