Justin McKelvey
Fractional CTO · 15 years, 50+ products shipped
Is OpenClaw Safe? What I'd Check Before Giving an AI Agent the Keys (2026)
Quick Answer
Is OpenClaw safe? Out of the box, no. As of 2026 it has four published CVEs (command injection, SSRF, path traversal, prompt-injection code execution), a disclosed hijack technique (ClawJacked), and a skill marketplace that has shipped malware — while running with real authority over your files, messages, and credentials. It can be run reasonably safely: isolated machine or VM, dedicated accounts, scoped keys, nothing connected you can't afford to leak. On a business machine with client data, don't.
Verified August 2026 · Author: Justin McKelvey, fractional CTO & AI consultant, 15 years in software, 50+ products shipped
TL;DR: The Most-Starred Repo on GitHub Is Also a Security Case Study
Here's the part the hype cycle skipped: the thing that makes OpenClaw magical is the same thing that makes it dangerous. It's a language model with real hands — shell access, your messaging apps, your files, your calendars — and 347,000+ GitHub stars' worth of people gave it those hands in a hurry. I audit AI-built systems for a living, and OpenClaw is the cleanest example I've seen of the trade every autonomous agent asks you to make: capability in exchange for attack surface. This post is the honest risk read — what's actually been exploited, what's fixable, what never will be, and the setup I'd insist on before running it anywhere near work.
What OpenClaw is (60-second version)
OpenClaw is a free, open-source autonomous AI agent by Austrian developer Peter Steinberger. You run it on your own machine, connect it to a model of your choice — Claude, GPT, Kimi, and others are supported — and talk to it through WhatsApp, Telegram, Discord, or iMessage like a very capable colleague. It reads and sends messages, manages files, browses, writes and runs code, and builds its own tools. It launched as Clawdbot in November 2025, went viral, got renamed Moltbot on January 27, 2026 after Anthropic raised trademark concerns about the Claude-adjacent name, and became OpenClaw three days later. By mid-2026 it was the most-starred repository on GitHub. The full capability rundown and my verdict on who should actually use it live in the companion piece: my OpenClaw review.
The documented problems (not hypotheticals)
- Four published CVEs as of 2026: command injection (CVE-2026-24763), server-side request forgery (CVE-2026-26322), path traversal enabling local file reads (CVE-2026-26329), and prompt-injection-driven code execution (CVE-2026-30741). These are patched in current versions — but they tell you what class of software this is: a network-reachable service with shell access, i.e. exactly the thing security teams spend their lives containing.
- ClawJacked: researchers at Oasis Security disclosed a technique where a malicious website could brute-force and hijack a locally running OpenClaw instance, then silently exfiltrate data using the agent's own autonomy. "It only runs locally" is not a defense when your browser runs locally too.
- ClawHub supply-chain abuse: the community marketplace for OpenClaw skills has been used to distribute malware disguised as trading bots, utilities, and dev helpers. Installing a skill is installing a stranger's code into an agent that holds your credentials.
- Prompt injection — the one that doesn't patch: any content the agent reads (email, web pages, documents, Slack messages) can carry hidden instructions. If the model follows them, the attacker acts with your permissions. This is an architectural property of autonomous agents, not an OpenClaw bug — every serious analysis, from IBM X-Force to Barracuda, lands on the same conclusion.
Why "open source" doesn't settle it
The reflexive defense is that OpenClaw is open source, heavily scrutinized, and rapidly patched — all true, and genuinely better than a closed agent doing the same things. But open source solves trust in the author, not attack surface. The CVEs above were all in code anyone could read. The honest framing: OpenClaw's maintainers move fast on fixes, and the project's popularity means bugs get found — by researchers and by attackers, in whichever order.
The setup that makes it reasonably safe
If you want to run it — and for tinkering, I get it — the difference between reckless and reasonable is isolation. As of 2026, the checklist I'd hold it to:
- Dedicated machine or VM. Not your daily driver. Not the laptop with your password manager, client repos, or bookkeeping.
- Dedicated accounts. A fresh email, a separate messaging number where possible, its own calendar. The agent should authenticate as itself, not as you.
- Scoped, revocable API keys with spending caps — never your primary keys.
- No unread skills. If you can't read what a ClawHub skill does, you don't install it.
- Assume leak. The operating rule for anything the agent can reach: if leaking it would hurt, it doesn't get connected.
The business-owner answer
The pattern I keep seeing, as of 2026: an owner watches an OpenClaw demo, and what they actually want is an assistant that answers messages, schedules things, and follows up — the outcome, not the architecture. You can have that outcome with scoped workflows where each automation touches exactly the systems it needs, drafts rather than sends, and can be audited — no shell access, no standing authority over your files. That's how I build them for clients, and it's the difference between an agent you supervise and an agent you hope about. If you've already got AI-built systems in play and want to know what they can actually reach, my free vibe coding security checklist includes a copy-paste agent audit prompt, the $7 Agent Audit Prompt Pack is the deeper 10-prompt version, and if the audit turns up reds on something live, the free repo audit is where I look personally. For the "what should we automate, and how much authority should it get" question — that's literally a strategy call.
Next step Get the free repo audit →
Ship AI-built code without the 2am surprise
The free 20-point security checklist I run on every AI-built codebase before it touches real users.
Frequently Asked Questions
- Is OpenClaw safe to use?
- Not out of the box, and anyone telling you otherwise hasn't read the CVE list. As of 2026, OpenClaw has had four published vulnerabilities — command injection (CVE-2026-24763), SSRF (CVE-2026-26322), path traversal that enabled local file reads (CVE-2026-26329), and prompt-injection-driven code execution (CVE-2026-30741) — plus the ClawJacked technique that let malicious websites hijack locally running instances. It can be run reasonably safely, but only isolated: dedicated machine or VM, its own accounts, scoped API keys, and no access to anything you can't afford to leak.
- What is OpenClaw?
- OpenClaw is a free, open-source autonomous AI agent built by Austrian developer Peter Steinberger — essentially a large language model (Claude, GPT, Kimi, and others are supported) connected to real tools on your own machine, which you talk to through WhatsApp, Telegram, Discord, or iMessage. It launched as Clawdbot in November 2025, was renamed Moltbot on January 27, 2026 after an Anthropic trademark request, became OpenClaw three days later, and as of mid-2026 is the most-starred repository on GitHub at 347,000+ stars.
- What is ClawJacked?
- ClawJacked is an attack technique disclosed by researchers at Oasis Security: a malicious website could brute-force its way to a locally running OpenClaw instance and hijack it, silently exfiltrating data by abusing the agent's own autonomy. It's the clearest demonstration of why 'it only runs on my machine' isn't the safety argument people think it is — your browser is on that machine too.
- Can OpenClaw be hacked through prompt injection?
- Yes, and this one never fully goes away. Prompt injection means hiding malicious instructions inside content the agent processes — an email, a web page, a document, a calendar invite. If the agent treats those instructions as legitimate, it can leak data or take actions on the attacker's behalf with your permissions. It's an architectural weakness of every autonomous agent, not an OpenClaw bug that a patch fixes — which is why the real safety question is what the agent can reach, not whether injection is possible.
- Are OpenClaw skills from ClawHub safe to install?
- Treat them like unaudited code from strangers, because that's what they are. ClawHub — the community marketplace for OpenClaw skills — has been abused to distribute malicious packages disguised as trading bots, utilities, and development helpers. Before installing any skill, read the source, check what it requests access to, and skip anything you can't read. If a skill wants credentials or network access it doesn't obviously need, that's the tell.
- Should a business run OpenClaw?
- On a machine with client data, credentials, or your books? No — not in its default setup, as of 2026. The risk profile (four CVEs, supply-chain abuse, unresolvable prompt injection) is fine for a hobbyist sandbox and wrong for a business machine. If you want the outcome businesses actually ask it for — an assistant that answers, schedules, follows up — you can get that with scoped, auditable automations that don't hold shell access to anything. That's a setup decision, and it's worth making deliberately rather than installing your way into it.
More on Vibe Code Rescue
OpenClaw Review (2026): What the Most-Starred Repo on GitHub Actually Does
OpenClaw is a free, open-source AI agent you text like a colleague — and it can genuinely run files, messages, browsers, and code on your machine. My honest review: what it does well, where it bites, what it costs to run, and who should (and shouldn't) install it in 2026.
Is Codex Free? What Actually Costs Money (2026)
The Codex CLI is genuinely free — open source, no license, no trial clock. The compute behind it is not. Here's what free actually covers, when a $20 ChatGPT Plus subscription is all you need, and the workloads that push you toward the $200 tier or a metered API bill.
Is Replit Worth It in 2026? Verdict by Who's Holding the Meter
Is Replit worth $25/month? Wrong number — the credit meter decides your real bill, and daily Agent builders land at $40-$80/month with $150+ months on record. Worth it for validating an idea? Emphatically yes. As your production home? Usually not. A segmented verdict with the real math, from someone who gets paid to rescue what AI builders ship.
Is Lovable Free? What the Free Plan Actually Covers (2026)
Lovable has a free tier — a small daily credit allowance and public projects. It's enough to build a prototype over a week of daily sessions and decide whether you like the tool. It is not enough to ship: no private projects, no custom domain, and the daily allowance ends any serious session by lunch. Here's the honest math.
Written by
Justin McKelvey
Fractional CTO & AI consultant in Austin, TX. 15 years building software, 50+ products shipped, $53M+ in client revenue generated. I help $1M–$50M founders ship production software and automate operations with AI — without hiring a full-time executive team.
Work with me