Guides

Guides

Feb 3, 2026

Feb 3, 2026

Securing OpenClaw: How to Run a Powerful AI Agent Without Losing Sleep

OpenClaw can read your files, execute shell commands, access your GitHub, and modify its own code. That's exactly why you need guardrails.

Aditya Naidu

Co-Founder

Aditya Naidu

OpenClaw Is Incredibly Powerful

If you haven't tried OpenClaw, you should. It's an open-source AI assistant that actually feels like the future:

  • Runs locally on your machine with full system access

  • Connects to WhatsApp, Telegram, Discord, Slack, Signal

  • Integrates with 50+ services (GitHub, Gmail, Spotify, Obsidian...)

  • Learns your preferences with persistent memory

  • Can automate browsers, write code, execute scripts

People describe it as "magic." And it is.

But here's what keeps me up at night: OpenClaw has the keys to your entire digital life.

The Problem Nobody's Talking About

When you give OpenClaw access to your systems, you're trusting it completely. There's no:

  • Visibility into what API calls it's making

  • Limits on which endpoints it can hit

  • Kill switch if it starts doing something wrong

  • Audit trail for debugging or compliance

  • Protection against prompt injection from your chat channels

OpenClaw can receive messages from WhatsApp. What if someone sends it a malicious prompt? It has shell access. What if it runs the wrong command?

This isn't hypothetical. These are the exact failure modes that have burned teams deploying AI agents in production.

Enter Bloom: Security for OpenClaw

Bloom is a security layer that sits between OpenClaw and the APIs it calls. Every request goes through Bloom, giving you:

1. See Everything

Every API call OpenClaw makes is logged. See exactly what it's doing, when, and to which services.

2. Control Everything

Define scopes that limit what OpenClaw can access:

  • Allow POST /repos/{owner}/{repo}/issues (create issues)

  • Block DELETE /repos/{owner}/{repo} (delete repos)

  • Block POST /gists (no public code snippets)

3. Stop Anything

Kill switch terminates OpenClaw's access in under 100ms. All credentials revoked. All in-flight requests cancelled.

4. Block Attacks

Prompt injection detection catches malicious inputs from your chat channels before they reach the LLM.

Add Bloom to OpenClaw in 3 Minutes

Step 1: Get Your Credentials (1 minute)

  1. Sign up at platform.bloomtechnologies.app

  2. Create an agent called "OpenClaw"

  3. Copy your API key and agent ID

Step 2: Set Environment Variables

export BLOOM_API_KEY=your_api_key
export BLOOM_AGENT_ID

Step 3: Choose Your Integration (2 minutes)

Option A: CLI Wrapper (Easiest - No Code Changes)

Install bloom-openclaw and wrap any command:

npm install -g bloom-openclaw

# Wrap OpenClaw or any Node.js app
npx bloom-openclaw npx openclaw
npx bloom-openclaw node your-agent.js
npx bloom-openclaw npm start

All outgoing API calls are now routed through Bloom automatically.

Option B: One Line in Your Code

// Add at the very top of your entry file
require('bloom-openclaw').init();

// That's it. All fetch() calls now go through Bloom.

Option C: Install as OpenClaw Skill (Python)

cd ~/.openclaw/skills
git

Add to your OpenClaw .env:

BLOOM_AGENT_TOKEN

Restart OpenClaw. Done.

What You Can Do Now

With Bloom protecting your OpenClaw instance:

Set boundaries:

{
  "name": "openclaw-github-safe",
  "allowed_methods": ["GET", "POST"],
  "allowed_paths": ["/repos/*/issues", "/repos/*/pulls"],
  "blocked_paths": ["/repos/*/delete", "/gists"]
}

Monitor in real-time:
See every API call in your Bloom dashboard. Filter by service, method, or time.

React instantly:
See something wrong? Hit the kill switch. OpenClaw loses all API access immediately.

Investigate later:
Full audit trail of every action. Search, filter, export for compliance.

The Bigger Picture

OpenClaw is part of a wave of powerful AI agents that are genuinely useful. But useful and dangerous often go together.

The solution isn't to avoid these tools. It's to add guardrails that let you use them confidently.

Bloom is how you do that.

Get Started

  1. Sign up free at platform.bloomtechnologies.app

  2. Install bloom-openclaw: npm install -g bloom-openclaw

  3. Set your credentials: export BLOOM_API_KEY=... BLOOM_AGENT_ID=...

  4. Wrap your agent: npx bloom-openclaw <your-command>

  5. Sleep better knowing you can see and stop anything

Resources

Questions? Email us at support@bloomtechnologies.app