From Shadow IT to Shadow AI: Clawdbot (Moltbot/Openclaw) and the Rise of Unmanaged Agent Gateways

Shadow AI explained: how unmanaged agents like Clawdbot, Moltbot and OpenClaw hold API keys behind unhardened gateways, with attack scenarios and fixes.

Updated 13 Min Read
AI-generated data leakage visual showing sensitive information spilling from an unsecured system

Shadow AI is the use of AI agents that nobody in the company manages or tracks. The clearest example is OpenClaw, formerly Clawdbot and Moltbot, an agent gateway that people run on their own devices. In February 2026, SecurityScorecard counted more than 40,000 instances open to the internet. Left exposed, they can leak API keys, chat memory and connected accounts. Below: how the exposure happens, and how to find these agents in your company.

Warning: 2026 update: the scale of the exposureSecurityScorecard’s STRIKE team reported 40,214 internet-exposed OpenClaw instances on 9 February 2026, and said the count was still rising. It reports that the default install binds to 0.0.0.0:18789. Three high-severity CVEs were patched in version 2026.1.29 on 29 January, yet most exposed instances ran older versions.

What Is Shadow AI and Why Are Unmanaged AI Agents the New Frontier of Shadow IT?

From “Shadow IT” to “Shadow AI”

The cybersecurity landscape of 2026 has been altered by the democratization of “Agentic AI.” We are witnessing a paradigm shift from centralized, cloud-native chatbots to decentralized agents running on the network edge (like Mac Minis, Edge Servers).

Unlike traditional data leaks where internal data leaves the perimeter to a foreign server, here the perimeter itself dissolves. Users are turning their personal devices into always on servers that hold API keys to every connected service (Gmail, Slack, GitHub) and exposing them to the internet via unhardened gateways.

Analyst Note

During our research for this report, the tool formerly known as Clawdbot officially rebranded to Moltbot. This change was initiated following a trademark request from Anthropic, which noted the similarity between “Clawd” and their “Claude” model. The project has transitioned to the new handle @moltbot, and while the founder reported some initial issues with handle-squatting during the move, the core functionality of the tool remains unchanged.

Why Developers are Deploying Unsecured LLM Wrappers

The adoption of tools like Clawdbot is driven by “Adoption Velocity” rather than security. Developers seek the utility of a “JARVIS-like” experience, an assistant that proactively checks emails and manages files.

However, unlike a standard application, an AI Agent requires extensive permissions: read/write access to the file system (‘fs‘), shell execution (‘exec‘), and network access. On home hardware with no company rules around it, these tools create a spread-out, unprotected attack surface that is very valuable to attackers.

Case Study: Anatomy of a Leak (Clawdbot)

The “Insecure by Default” Trap (Port 18789/3000)

Our analysis of the Clawdbot architecture reveals a critical systemic failure. By default, the Clawdbot gateway listens on port 18789 (while predecessors like Flowise used 3000). While the documentation suggests binding to ’127.0.0.1’, the functional pressure to access these assistants remotely leads users to bind the gateway to ’0.0.0.0’ or misconfigure reverse proxies.

Recent independent public reports observed a four-digit exposure scale exposed to the public internet within days of the tool’s viral release. These are not just web servers; they are remote command consoles.

Exposed Clawdbot control dashboard accessible without authentication
Figure 1: Example Clawdbot gateway UI exposed over a public interface (anonymized). The presence of a recognizable control dashboard illustrates the risk of deploying agent gateways without strict network boundaries.

OSINT Discovery Methodology: Measuring Internet Exposure

We do not want this case study to become a step-by-step scanning guide. So we describe our method in general terms and share only totals.

We took a snapshot from two separate internet scan datasets to estimate how many Clawdbot gateways anyone could reach from the internet. Rather than relying on a single identifier, we used a layered fingerprinting approach:

(i) a broad UI identifier (page title),

(ii) one or more structural HTML anchors unique to the UI,

and (iii) validation using the default gateway port.

Analyst Note

Responsible disclosure in reporting:  This section leaves out ready-to-use search queries and does not list targets. The goal is to show a defensive way to measure exposure (list your assets, then shrink what is open), not to help anyone attack.

Two cybersecurity professionals reviewing threat intelligence on a laptop in a secure operations center
Brandefense provides trusted threat intelligence and digital risk protection for global security teams.

Point-in-TimeExposure Snapshot

At 2026-01-27 (13:00, UTC+3), our measurement yielded the following results:

• Broad UI fingerprint: 634 reachable instances.

• Tightened fingerprint (UI + structural anchors + default port): 611 reachable

instances.

• Cross-validation dataset: 530 reachable instances.

Interpretation

The difference between the broad UI fingerprint and the tightened signature suggests that not every exposed instance is trivially classifiable using a single trait. Some deployments may be proxied, hosted behind non-default ports, or partially match the UI fingerprint. For defenders, the tighter signature is usually more useful for deciding what to fix first, because it cuts noise and points to real gateways.

Best Practice/Analyst Advice

Analyst Tip — Reporting without over-disclosing. When you publish exposure research, give totals and explain the fingerprint types (title, page anchor, default port). Leave out exact search strings and target lists. This preserves the core security lesson while reducing operational value for attackers.

No Auth, No Problem: How Easy is Access?

The critical vulnerability lies in the “Localhost Fallacy.” To make local development easy, Clawdbot often approves requests that look like they come from localhost.

When a user deploys a simple Nginx or Caddy proxy to access their agent from the office, they often fail to configure ‘X-Forwarded-For‘ header validation. The Gateway sees the request coming from the local proxy IP and bypasses authentication completely. This allows an external attacker to gain full administrative control over the agent without a single exploit, simply by navigating to the URL.

How the Localhost Fallacy opens the gateway
  1. Proxy set upA simple Nginx or Caddy proxy is added to reach the agent from the office.
  2. Header check missingX-Forwarded-For validation is not configured.
  3. Request looks localThe gateway sees the local proxy IP and trusts the request.
  4. Authentication bypassedAn external attacker gets full administrative control by navigating to the URL.
Secure cybersecurity platform for brand protection and online threat management.

Figure 2: The “Localhost Fallacy”: a reverse proxy without strict trust configuration can cause a gateway to misclassify remote traffic as local, weakening authentication
assumptions.

What’s at Risk? Observations from the Wild

The “Prompt History” Nightmare: PII and Corporate Secrets

What makes agent gateways uniquely dangerous is that the attack surface is not limited to a traditional admin panel. These systems aggregate high context operational data (project details, errors, access patterns) and store it persistently. In Clawdbot setups seen in the wild, this shows up as plaintext memory files (for example MEMORY.md) and local databases (for example SQLite). They sit in the user’s home folder (for example ~/.clawdbot/memory/). In other words, a compromise yields a “cognitive dossier” rather than a single session transcript.

AI-generated SEO text for the image from.
Figure 3: Mock example of a plaintext memory artifact. Saved agent memory can mix work notes, IDs and sensitive clues, so an exposure does more damage.

Observed data categories.

From what we saw in the field and how the platform works, the leaked data can include:

  • Operational context: error logs, local paths, project names, and troubleshooting notes that reveal internal architecture.
  • Social graph signals:       who the operator interacts with (tools,      channels, repositories), and which systems are “trusted”.
  • Credential-adjacent material: configuration artifacts and integration tokens that enable follow-on access.

Analyst Note

Why this matters: Saved agent memory makes targeted abuse possible. Even without “exploiting” the host, an attacker who can read the memory files can write very targeted scams and move on to other systems.

Storage Model: Plaintext Memory + Local Databases

Clawdbot data persistence typically blends human-readable files (for memory) with structured state (for sessions). The lesson for defenders is simple: if the gateway UI or its data store is exposed, the operator’s whole work history can be exposed. This includes both plaintext artifacts (e.g., MEMORY.md) and local databases (e.g., .sqlite).

3.2.1. API-like session surfaces (conceptual).

The platform’s session tooling concepts (e.g., session_history, session_list) reflect a common pattern: a control UI that can enumerate sessions and retrieve historical context. In misconfigured deployments, these surfaces may become reachable without the intended trust boundary.


Best Practice/Analyst Advice

Analyst Tip — What to treat as “sensitive data”: Treat any file that holds long chat history, provider keys, integration tokens, or file paths and internal IDs as sensitive. Handle it like a credential.

The Financial Impact: Stolen LLM Provider Keys

The most immediate impact is financial loss.        Agent gateways commonly store third-party LLM provider credentials (e.g., OpenAI/Anthropic) in plaintext configuration

artifacts (such as .env, config.json, or service-specific credential files). Once harvested, these keys can be abused for high-volume inference workloads and resold in underground ecosystems.

Network Indicators and Detection Pivots (Defensive)

To help you list and watch these assets, we sum up the signs we saw during the case study. Use these signs to find assets, check exposure and write detection rules, in networks you are allowed to test.

IndicatorValueDefensive Use
Default port18789Exposure validation and inventory prioritization for agent gateways.
Alternate ports18790, 18800Secondary validation for related services/dev modes (verify per environment).
mDNS service_clawdbot-gw._tcp.localLAN discovery signal; useful for internal scanning and endpoint hygiene.
Service nameclawdbot-gwLocal service identification in internal discovery workflows.
  UI anchorsclawdbot-app,  CLAWD BOT_CONTROL_UI_BASE_P ATH   Higher-confidence structural markers for classification and false-positive reduction.
Favicon hash-805544463Clustering pivot for internet-scale exposure measurement (use with care in reporting).

Table 1: Defensive indicators and pivots derived from case study observations.

What Real-World Attack Scenarios Does an Exposed Agent Gateway Allow?

Scenario 1: The “Free LLM” Abuse (Quota Theft)

Vector: Automated scanning for port 18789.

Attack: An attacker identifies an unauthenticated Clawdbot instance. They query the ’/api/config’ endpoint to retrieve the ’OPENAI_API_KEY’.

Outcome: The key is added to a rotation pool for a spam botnet. The victim’s credit card is charged thousands of dollars for token usage before the breach is discovered.

Scenario 2: Lateral Movement via Integration Tokens

Vector: Supply Chain Poisoning via “ClawdHub.”

Attack: Based on the “Eating Lobster Souls” research, an attacker uploads a malicious skill (e.g., “Stock Market Analyzer”) to the skill registry. The victim installs it.

Outcome: The skill executes with the agent’s privileges. It accesses the user’s connected Slack and GitHub tokens, allowing the attacker to pivot from the personal Mac Mini into the corporate code repository and internal communication channels.

Clawdbot attack chain showing reconnaissance, authentication bypass, malicious execution, and token exfiltration
Figure 4: Lateral Movement via Compromised Edge Agent

How Do You Secure Your AI Stack Right Now?

Quick Fix: Network Segmentation & Reverse Proxies

For organizations and individuals running edge agents,       “defense-in-depth” is mandatory:

  • Bind to loopback by default: Ensure the gateway listens on 127.0.0.1 unless there is a justified, controlled access requirement.
  • Eliminate direct internet exposure: Do not expose agent gateways via public port-forwarding. Prefer authenticated overlay access (e.g., corporate VPN, device posture-aware tunnels).
  • Reverse proxy hardening (fail-closed): If a proxy is required, explicitly define trusted proxy boundaries and validate forwarded client IP headers. Do not let login checks trust “local” traffic unless the network or cryptography proves it is local.


Best Practice/Analyst Advice

Practical rule: Treat agent gateways like remote administration consoles. If you would not expose an SSH jump host without MFA and strict allow-listing, do not expose an agent gateway.

Secrets Hygiene: Reduce the Blast Radius

  • Move secrets out of plaintext where possible: use OS keychains, secret managers, or environment injection at runtime; avoid committing or copying .env style files across systems.
  • Rotate aggressively after exposure risk: if a gateway was ever reachable from untrusted networks, assume it was hacked and change your LLM provider keys and tokens.
  • Apply least privilege to integrations: Slack, GitHub, Gmail and similar tokens should get the smallest scope (read-only where possible) and be kept apart for personal and work use.

Local Network Hygiene: Discovery Signals and mDNS

Edge agents are commonly deployed on consumer hardware within home or small office networks. Local discovery (for example mDNS announcements) can make the gateway easy to see for attackers or infected machines on the same network. Defensive steps:

  • Inventory discovery broadcasts: identify whether the gateway advertises services on the LAN (mDNS/Bonjour) and disable or segment if unnecessary.
  • Segment “lab” devices: place edge devices (Mac Minis, homelabs) in isolated VLANs with controlled egress.

Strategic Fix: Governance and Monitoring

  • Container isolation: run agents inside containers or constrained sandboxes to limit filesystem and process access on the host.
  • Supply chain auditing: treat “skills” and plugins as untrusted code. Review sources and pin versions; monitor for anomalous outbound connections and unexpected tool executions.
  • Observability: log access attempts, administrative actions, and token usage. Alert on sudden spikes in LLM consumption and on access from unusual networks.

How Do You Discover Shadow AI Agents in Your Company?

You cannot govern an agent you have not found. Discovery has two sides: the devices inside your network, and what your company exposes to the internet.

  • Ask and inventory: ask engineering and IT teams which assistants they installed, and compare the answers with the software lists from your device management tool.
  • Scan your own network: look for the default gateway port 18789 and the _clawdbot-gw._tcp.local service listed in Table 1. SecurityScorecard also advises blocking port 18789 at the perimeter.
  • Watch outbound traffic: review connections to LLM provider APIs from hosts that are not approved, and alert on sudden spikes in token use.
  • Check what the outside world sees: search your own public IP ranges and cloud accounts for agent control panels. This is the daily work of external attack surface management.
  • Assign an owner: for each agent, record who runs it, which keys and tokens it holds, and whether it is reachable from outside. Rotate the keys first for any gateway that was ever exposed.

Stolen logins are the second trail. AI keys and sessions often sit in the same browser profile that infostealers copy. The free Atlas AI Exposure Check shows whether your organization’s ChatGPT, Claude, Gemini or Copilot logins appear in infostealer logs. It takes work addresses only, shows aggregate results and needs no account. It does not find gateways, so use it next to the steps above.

Conclusion: The Need for AI Observability

Unmanaged AI agents are a new phase of Shadow IT: personal helper tools quietly become systems with high privileges. The Clawdbot case shows how easily these setups become control panels that anyone on the internet can reach, with keys, chat memory and access to other services inside.

Unlike a normal data leak, these exposures give away how people work and decide. That makes financial abuse, movement to other systems and targeted scams likely next steps.

For this reason, visibility remains the primary control gap. AI agents running on edge devices must be inventoried, monitored, and governed as first-class assets. Without this shift, Shadow AI will persist as a silent and highly attractive attack surface.

ThreatWatch platform banner with the slogan See. Score. Secure.
ThreatWatch by Brandefense enables organizations to identify, score, and secure their external cyber risks in real time.

Frequently Asked Questions.

What is Shadow AI?

Shadow AI is the use of AI agents that nobody inventories or governs. The post describes it as a new phase of Shadow IT, where personal productivity tools quietly become high-privilege infrastructure.

Why are Clawdbot gateways exposed to the internet?

The post says the documentation suggests binding to 127.0.0.1, but users who want remote access bind to 0.0.0.0 or misconfigure reverse proxies. It also describes a trust of local requests that lets proxied traffic skip authentication.

What data can an exposed AI agent gateway leak?

The post lists operational context such as error logs and project names, social graph signals, and credential-adjacent material such as configuration files and integration tokens. It also says provider keys can sit in plaintext configuration files.

How can you reduce the risk of an AI agent?

Keep the gateway on loopback, avoid public port forwarding, and validate proxy headers. Give each integration the smallest permissions it needs, and require human approval for high-impact actions.

How do I find shadow AI agents in my company?

Start with an inventory: ask teams which assistants they run, and compare the answers with your device management lists. Then look for the default gateway port 18789 and the _clawdbot-gw._tcp.local service on your networks, and review traffic to LLM provider APIs. SecurityScorecard advises security teams to inventory AI agent deployments and block port 18789 at the perimeter. Give every agent an owner.

Is OpenClaw safe to use at work?

Not unless your security team has approved and hardened it. SecurityScorecard advises users to update to a patched version, bind the gateway to localhost, use a VPN or tunnel for remote access, rotate all tokens and limit the access the agent has. Do not run it on a device that holds work credentials without those steps.

What is the difference between Clawdbot, Moltbot and OpenClaw?

They are names of the same agent gateway. Clawdbot was renamed Moltbot after a trademark request from Anthropic, as the Analyst Note in this post explains. SecurityScorecard dates the OpenClaw name to 29 January 2026, so older articles and scans may use any of the three names.

Sources

  1. 1 OWASP GenAI Security Project: LLM06:2025 Excessive Agency
  2. 2 NIST CSRC Glossary: least privilege
  3. 3 MITRE ATT&CK T1552.001: Unsecured Credentials, Credentials In Files
  4. 4 SecurityScorecard STRIKE: Beyond the Hype, Moltbot's Real Risk Is Exposed Infrastructure