Manuscript Offprint
arXiv:2610.35451Then there is prompt injection, a malicious email, ...: The Wild Wide West of OpenClaw Agentic System Security
Open access. PaperVantage converted this article to text, so layout and figures may differ from the original.
“Then there’s prompt injection, a malicious email, ...”: The Wild Wide West of OpenClaw Agentic System Security
MOSTAFIJUR RAHMAN AKHOND, York University, Canada
MAHMUDA KHATUN, York University, Canada
GIAS UDDIN, York University, Canada
AI-powered personal assistant frameworks such as OpenClaw combine LLM reasoning, persistent memory, tool invocation, local execution, and web-based workflows. These capabilities enable useful automation, but they also create security risks when untrusted inputs, model reasoning, tools, memory, and deployment configuration interact without explicit trust boundaries. This paper presents an empirical study of reported security concerns in OpenClaw using two complementary data sources: Reddit discussions and security-tagged GitHub issues. We analyze more than 25K Reddit posts from 13 OpenClaw-related subreddits and identify 162 security-relevant posts with 1,787 associated comments. We further collect 358 security-tagged GitHub issues and retain 180 issues describing concrete security concerns. Using qualitative analysis and evidence-grounded CWE mapping, we identify 521 CWE instances across 59 distinct weakness types, concentrated in access-control failures, sensitive-data exposure, injection, and unsafe execution. We also extract 543 practitioner mitigation suggestions and consolidate them into seven recurring strategies. To complement the empirical analysis, we present an evidence-grounded illustrative reconstruction of a representative sensitive-data exposure pathway using dummy secret values. Our findings show that OpenClaw security issues are not isolated implementation bugs; they reflect recurring trust-boundary failures across the agent execution pipeline. We discuss how these weaknesses map to both traditional software-security categories and agent-specific failure mechanisms, and derive implications for safer agentic systems, including explicit trust boundaries, least-privilege tool access, execution containment, runtime oversight, and defense-in-depth deployment.
CCS Concepts: • Security and privacy → Software and application security; Systems security; Vulnerability management.
Additional Key Words and Phrases: OpenClaw, AI agents, agentic systems, security weakness, empirical study, CWE taxonomy, mitigation strategies
Many resulting failures resemble familiar software weaknesses, including improper access control, data exposure, unsafe execution, and input validation errors. Prior work identifies key risks in LLM-based and agentic systems, such as prompt injection, unsafe tool use, privilege escalation, malicious skill execution, memory manipulation, and cross-context data exposure [8, 16, 21]. However, much of this work examines risks in controlled settings, through predefined attack scenarios, or at the
Authors' Contact Information: Mostafijur Rahman Akhond, York University, Toronto, Canada, mostafij@yorku.ca; Mahmuda Khatun, York University, Toronto, Canada, mahmuda@yorku.ca; Gias Uddin, York University, Toronto, Canada, guddin@yorku.ca.
Mostafijur Rahman Akhond, Mahmuda Khatun, and Gias Uddin

Fig. 1. Evidence-grounded illustrative reconstruction of a representative sensitive-data exposure pathway (CWE-200) in OpenClaw from anonymized Reddit report R003; dummy secret values are used for safety.
level of isolated components such as model outputs, generated code, or benchmark tasks [3, 5, 12, 15]. In deployed agent frameworks, failures often emerge from composition: untrusted inputs influence model reasoning, model outputs trigger tools, tools access local or external resources, and persistent state carries information across interactions. Thus, agentic-system security cannot be fully understood by studying the model or tool layer alone.
OpenClaw provides a timely case for studying these risks in practice. Public vulnerability records and community reports suggest that such failures are already materializing: CVE-2026-24763 reports an authenticated command-injection weakness in OpenClaw/Clawdbot Docker execution , while public reports document related agent-platform failures involving exposed private messages, credentials, unintended destructive actions, unauthorized data access, and misconfigured deployments . These reports motivate an empirical view of OpenClaw security that asks how security concerns are reported, categorized, and mitigated across a real-world agent ecosystem.
For example, Figure 1 presents an evidence-grounded illustrative reconstruction of a sensitive-data exposure concern derived from anonymized Reddit report R003. The figure uses dummy secret values to avoid exposing real credentials and is intended as a representative example rather than a separate evaluation study. The report describes a self-hosted OpenClaw setup where local configuration files may contain API keys and credentials, browser tools may process untrusted sites, and exposed gateways may leak sensitive information. Although the report maps to multiple weaknesses (CWE-200, CWE-522, CWE-284, CWE-918, and CWE-94), the figure focuses on the sensitive-data exposure pathway (CWE-200). In this pathway, a user asks OpenClaw to inspect or debug a local project. The agent may search likely configuration files, inspect environment settings, and read files containing secrets or credentials. If those values enter model reasoning or are returned in the response, sensitive workspace data can move from local configuration files into user-visible output. This example shows how OpenClaw workflows can connect local files, configuration state, model context, tools, and outputs in ways that collapse traditional trust boundaries.
"Then there's prompt injection, a malicious email, ...": The Wild Wide West of OpenClaw Agentic System Security
3
Motivated by such boundary-crossing behavior, we study OpenClaw as a real-world case of security boundary failure in agentic systems. We combine two complementary sources: Reddit discussions and security-tagged GitHub issues. Reddit captures deployment-level experiences, operational failures, configuration concerns, and practitioner mitigation advice, while GitHub issues provide implementation-level evidence of weaknesses, fixes, and maintainer-side triage. We treat these sources as reports of security-relevant behavior and concerns rather than definitive ground truth for exploitable vulnerabilities.
Our work differs from prior OpenClaw-focused security analyses, which primarily study advisories, controlled attacks, layered threat models, or predefined failure scenarios [6, 7, 32, 35, 40, 44, 47]. Using a mixed-methods approach (Section 3), we analyze more than 25K Reddit posts from 13 OpenClaw-related subreddits and 358 security-tagged GitHub issues, retaining 162 security-relevant Reddit posts and 180 validated GitHub issues for detailed analysis. We map reported issues to CWE [37] to normalize heterogeneous Reddit and GitHub reports into a standard software-weakness vocabulary and identify recurring weakness mechanisms rather than isolated incidents. This mapping yields 521 CWE instances across 59 distinct classes. Beyond CWE, we analyze how these weaknesses become agent-specific failures when model reasoning, memory, tools, plugins, credentials, and autonomous execution interact. We also extract 543 practitioner mitigation suggestions from Reddit comments, covering least-privilege access, isolation, monitoring, supply-chain review, credential management, human approval, and network restriction. These suggestions show that secure OpenClaw deployment requires defense-in-depth rather than a single category-specific fix.
In summary, this paper makes the following contributions:
• Empirical study of OpenClaw security concerns: We analyze 162 security-relevant Reddit posts and 180 GitHub issues to characterize deployment-level and implementation-level security concerns in a real-world agentic system.
• Evidence-grounded CWE mapping: We map reported issues to 521 CWE instances across 59 distinct CWE classes, providing a standardized view of recurring weakness patterns.
• Agent-specific failure analysis: We identify how conventional weaknesses become agentic failures through interactions among model reasoning, memory, tools, plugins, credentials, and autonomous execution.
• Mitigation insights: We extract 543 practitioner mitigation suggestions and consolidate them into seven defense-in-depth strategies for safer OpenClaw deployment.
2 Background and Related Work
This section reviews prior work on AI agents, personal assistant systems, and security analysis in agentic systems, then positions our study relative to recent OpenClaw security research.
2.1 AI Agents and Personal Assistants
Recent advances in large language models (LLMs) have transformed AI systems into agents capable of reasoning, planning, tool use, and persistent interaction. Systems such as Generative Agents [29], ReAct [46], Toolformer [31], Reflexion [33], AutoGen [43], and Voyager [39] establish capabilities including memory, reasoning-action loops, tool invocation, feedback-driven improvement, multi-agent coordination, and reusable skill acquisition. Evaluation frameworks such as AgentBench [22], SWE-bench [14], and SWE-agent [45] further reflect the shift toward interactive and software-engineering task environments. However, these benchmarks do not directly evaluate security-boundary enforcement, tool-use safety, context leakage, or runtime approval in deployed agentic systems.
Mostafijur Rahman Akhond, Mahmuda Khatun, and Gias Uddin
This progression has also led to personal AI assistants embedded into everyday workflows. Systems such as MagicSchool.ai [10] and PersonaLens [49] illustrate domain-specific automation and long-term personalization, while broader work highlights the societal and infrastructural implications of large-scale deployment [30]. Within this landscape, OpenClaw represents a persistent, tool-integrated assistant connected to local files, external services, and communication platforms, amplifying both capability and security risk.
2.2 Security-Relevant OpenClaw Architecture
OpenClaw is an agentic LLM-based assistant framework with persistent state, external inputs, memory, and tool-calling interfaces [27]. In a typical OpenClaw-like workflow, user queries and external data can be combined with conversation history, retrieved memory, and execution results. The LLM reasons over this context and may produce responses, tool calls, or parameterized action directives that are dispatched to tools connected to files, shell execution, external APIs, or communication platforms.
This architecture creates direct security implications. OpenClaw maintains state across sessions, processes external content alongside trusted user input, and allows model outputs to mediate system-level actions through tool dispatch. As a result, vulnerabilities can span the full inference-to-action pipeline: untrusted inputs can influence reasoning, reasoning can trigger tools, tools can access sensitive resources, and persistent memory can carry information across interactions [8, 16, 19]. These properties make OpenClaw representative of agentic systems in which security failures arise from interactions among model behavior, tool execution, memory, and deployment configuration [6, 23, 32, 47].
2.3 Security and Vulnerabilities in AI Agents
The integration of AI agents expands the attack surface beyond traditional model-level risks. Recent surveys characterize vulnerability classes such as prompt injection, unsafe tool execution, memory manipulation, persistent-state corruption, and cross-component attacks [8, 16, 19]. Empirical benchmarks and analyses further show how adversarial inputs can propagate through long-horizon planning, web-enabled interaction, and tool pipelines to trigger unsafe actions [5, 15, 21]. These studies establish that agent vulnerabilities emerge from multi-stage execution flows, but they are often studied through predefined threat models, controlled attack scenarios, or synthetic evaluation environments.
Recent defenses and system-level analyses propose mitigations such as deception-based protection, access control, sandboxing, runtime enforcement, and human-in-the-loop validation [3, 12, 48]. AI- and agent-specific taxonomies, including MITRE ATLAS and the OWASP Top 10 for Agentic Applications, further highlight risks that are not always captured cleanly by traditional software weakness taxonomies, including indirect prompt injection, tool misuse, memory poisoning, and agentic workflow abuse [24, 28]. These taxonomies motivate our use of an agent-specific mechanism layer in addition to CWE-based coding.
OpenClaw-specific studies examine realistic agent vulnerabilities, including prompt injection, malicious skill execution, trajectory-level failures, layered threat models, advisory-based security analyses, and defense strategies [6, 7, 23, 32, 35, 40, 41, 44, 47]. These studies establish OpenClaw as an important case for studying agentic-system security, but they primarily rely on controlled experimentation, predefined attack scenarios, advisories, or framework-level threat analysis.
2.4 Positioning of This Work
Existing work provides three complementary perspectives: broad agent-security surveys and taxonomies [8, 16, 19, 24, 28], benchmark and defense studies under controlled settings [5, 15, 21, 48],
"Then there's prompt injection, a malicious email, ...": The Wild Wide West of OpenClaw Agentic System Security
5

Fig. 2. Study pipeline for collecting, filtering, validating, and analyzing OpenClaw-related security reports and mitigation strategies.
and OpenClaw-specific analyses of framework-level threats, attacks, advisories, and defenses [6, 7, 23, 32, 35, 40, 41, 44, 47]. These lines of work provide important foundations, but they leave limited empirical evidence about how OpenClaw security concerns are reported, discussed, and mitigated by users and developers in public community and repository settings.
Our study complements prior work by analyzing reported security concerns from Reddit discussions and GitHub issues. Rather than starting from a predefined attack benchmark, advisory set, or framework-level threat model, we examine how OpenClaw security concerns are reported, categorized, discussed, and mitigated in practice. This evidence-driven perspective captures deployment-level failures, misconfigurations, practitioner mitigation strategies, and emergent behaviors that are often outside the scope of controlled evaluations. We further connect these reports to standardized CWE categories and agent-specific failure mechanisms, showing where traditional software weakness taxonomies are useful and where an additional agentic interpretation is needed.
3 Study Design
This section describes how we collected, filtered, validated, and coded OpenClaw-related security reports from Reddit and GitHub. Figure 2 summarizes the end-to-end pipeline.
3.1 Data Collection
To analyze security concerns reported by users and developers, we collected evidence from two complementary sources: Reddit discussions and security-tagged GitHub issues. Both platforms have been used in prior empirical studies to examine developer discussions and software-security concerns . Reddit captures deployment-level experiences, operational failures, configuration practices, and mitigation advice from community discussions, while GitHub issues provide implementation-level evidence of weaknesses, fixes, and maintainer-side triage.
For Reddit, we collected OpenClaw-related discussions from 13 dedicated and closely related subreddits using the ArcticShift API [13]. The resulting corpus contains more than 25K posts
Mostafijur Rahman Akhond, Mahmuda Khatun, and Gias Uddin
Table 1. Validation of each classifier on its own separately drawn, balanced sample of 200 Reddit posts. Rows are not directly comparable on raw TP/FP/TN/FN counts because each row uses a different independently drawn sample.
| Model | TP | FP | TN | FN | Acc. | Prec. | Recall | F1 |
|---|---|---|---|---|---|---|---|---|
| GPT-OSS:20B | 7 | 93 | 100 | 0 | 0.535 | 0.070 | 1.000 | 0.131 |
| Qwen-3:32B | 4 | 96 | 100 | 0 | 0.520 | 0.040 | 1.000 | 0.077 |
| Intersection | 8 | 92 | 100 | 0 | 0.540 | 0.080 | 1.000 | 0.148 |
published between January and July 2026. When associated discussion threads are included, the dataset contains 175,984 total entries, covering both posts and comments. We use posts as the unit for identifying security-relevant reports and comments as the unit for extracting practitioner-proposed mitigation strategies.
For GitHub, we collected 358 issues labeled as security-related from the official OpenClaw repository. After manual validation, 180 issues were retained as concrete security-relevant reports, including 43 open and 137 closed issues at the time of collection.
3.2 LLM-Assisted Filtering
The Reddit dataset contains 175,984 total entries, including more than 25K posts and their associated comments, making fully manual identification of security-relevant posts infeasible. The diverse taxonomy and free-form nature of discussions also make rule-based or static-analysis approaches less suitable, as security concerns may be implicit and context-dependent. We therefore used LLM-based filtering to identify relevant posts from their broader context. Rather than relying on an out-of-the-box model, we curated a seed set of 20 posts covering diverse concerns, including data leakage, unauthorized access, unsafe code generation, and policy or compliance risks, and used it solely for prompt development. Because false negatives are more consequential in our pipeline, the prompt prioritized recall over precision to maximize the inclusion of potentially relevant posts. We then applied the prompt independently using two open-weight models, GPT-OSS:20B and Qwen-3:32B, to provide a cross-model consistency check and reduce dependence on the behavior of a single model. We selected open-weight models to support reproducibility, local auditability, and inexpensive reruns. We retained posts identified by both models as candidate positives, using model agreement to reduce false positives before manual review, yielding 1,218 candidate posts for subsequent manual analysis.
To assess whether LLM-based filtering discarded relevant security posts, we audited each model and the intersection filter on separately drawn balanced samples of 200 Reddit posts that were not used during prompt development. Table 1 reports TP, FP, TN, and FN for each audit, where FN is the critical error for our pipeline: a post marked as non-relevant by the LLM but judged security-relevant during manual review. Across all three audits, FN = 0, indicating that the evaluated filters did not miss any relevant security posts in these samples.
The filters show low precision because they intentionally retain many false positives. This is acceptable for our pipeline because all LLM-positive posts were later manually reviewed, so false positives increase annotation effort but do not contaminate the final dataset. To further examine missed-post risk, we manually audited 200 randomly selected posts classified as non-relevant by both models; all 200 were confirmed as non-relevant. Overall, Table 1 supports our use of the LLM filters as recall-oriented candidate-generation tools rather than final classifiers.
"Then there's prompt injection, a malicious email, ...": The Wild Wide West of OpenClaw Agentic System Security
7
Table 2. Human validation outcomes across the three analyzed datasets.
| Dataset | Items | Exact | Partial | Agreement (%) | κ |
|---|---|---|---|---|---|
| Reddit post | 162 | 154 | 8 | 95.1 | 0.875 |
| GitHub issue | 180 | 175 | 5 | 97.2 | 0.905 |
| Reddit mitigation suggestions | 543 | 526 | 17 | 96.8 | 0.920 |
| Total | 885 | 855 | 30 | 96.6 | - |
3.3 Human Validation
Because automated labels and platform-provided security tags may contain noise, we performed three manual validation tasks before analysis. First, we validated the LLM-filtered Reddit posts to remove false positives and retain only posts that described concrete OpenClaw-related security concerns. Second, we validated the security-tagged GitHub issues because repository labels may be broad or inconsistent, and not every security-labeled issue describes a concrete weakness. Third, we validated Reddit mitigation suggestions because comments often include jokes, vague opinions, tool recommendations, or non-security discussion rather than actionable security advice.
For each validation task, two annotators independently reviewed the item and assigned an inclusion or coding decision. Exact agreements were retained directly, while partial agreements and disagreements were resolved by a third annotator after reviewing the original evidence. The final validated datasets consist of 162 Reddit posts, 180 GitHub issues, and 543 mitigation suggestions.
Table 2 summarizes the validation outcomes across these three tasks. The aggregate exact agreement rate was . We report exact agreement as the primary reliability measure because CWE mapping is multi-label and evidence-based, while mitigation coding involves both inclusion/exclusion decisions and open coding. As a secondary reliability measure, Cohen's ranged from 0.875 to 0.920.
3.4 CWE Mapping
To represent the identified security concerns using a well-established security taxonomy, we mapped the validated security-relevant reports to MITRE's Common Weakness Enumeration (CWE). CWE provides a structured vocabulary for describing and organizing software weaknesses and has been used in empirical software-engineering studies to systematically classify security concerns associated with software systems [20, 26]. We use CWE as a standardized vocabulary for categorizing reported weakness patterns, not to claim that every report is a verified exploitable vulnerability. A CWE label therefore means that the report contains evidence of that type of weakness; it does not imply that we independently confirmed exploitability or assigned an official vulnerability record. Annotators considered the reported behavior, affected asset, apparent root cause, and security impact, and assigned a CWE label only when the report provided supporting evidence.
Because Reddit and GitHub reports differ in technical detail, we used a source-aware mapping strategy. Reddit posts often describe deployment-level concerns without much implementation detail, so we retained higher-level CWE identifiers when implementation details were unavailable. GitHub issues typically provide more precise technical evidence, so we prioritized specific, actionable mappings and avoided overly abstract identifiers when finer-grained CWEs applied; in several cases, CWEs were also mentioned in the issue.
Figure 3 illustrates the mapping process using a Reddit post (R004) that reports multiple distinct security-relevant behaviors, including an exposed gateway interface, disabled sandboxing, plaintext credentials, and insufficient logging. Annotators first identify the reported behavior, affected assets,
Mostafijur Rahman Akhond, Mahmuda Khatun, and Gias Uddin

Fig. 3. Evidence-grounded multi-CWE mapping process.
and trust boundaries, then derive concrete security issues. Each issue is matched against candidate CWE entries from the MITRE database, and the most specific evidence-supported CWE is selected with rationale. For example, weak access is mapped to CWE-284 because the gateway is open without access management; weak credentials are mapped to CWE-521 when the report describes weak password or pairing-code requirements; and limited auditability is mapped to CWE-778 because no audit trail is implemented. Multiple CWEs are assigned to a report only when distinct weakness mechanisms are evidenced, preventing repeated symptoms from being over-counted.
This process yielded 521 CWE instances across 59 distinct CWE types: 329 from Reddit posts and 192 from GitHub issues. We further grouped these CWEs into eight higher-level categories: Access, Exposure, Injection, Execution, Secrets, Network, Resources, and Monitoring. These categories reduce sensitivity to source-specific granularity differences and support comparison between user-reported and developer-reported sources.
To complement CWE, we align the observed weakness categories with the AI Vulnerability Database (AVID) taxonomy. CWE provides a mature vocabulary for traditional software weaknesses, while AVID provides a taxonomy library for classifying failure evidence in general-purpose AI systems, including developer tools, end-to-end applications, and agents . We use AVID only as a secondary interpretive layer for agent-specific failure modes; the primary coding remains CWE-based.
3.5 Mitigation Coding
To analyze practitioner-proposed mitigations, we examined the 1,787 comments associated with the validated Reddit posts. LLM-assisted filtering first flagged 462 comments containing potential security suggestions. We then manually validated these candidates and retained 315 comments containing actionable mitigation content.
"Then there's prompt injection, a malicious email, ...": The Wild Wide West of OpenClaw Agentic System Security
9
Table 3. Summary of mapped CWE instances by source.
| Source | Posts/Issues | CWE Instances | Distinct CWE Types |
|---|---|---|---|
| 162 | 329 | 50 | |
| GitHub | 180 | 192 | 41 |
| Combined | 342 | 521 | 59 |
A comment was considered actionable if it recommended a concrete deployment practice, configuration, security control, review process, access restriction, monitoring mechanism, or credential-handling practice. Vague statements, jokes, product-only recommendations without a security mechanism, and non-security discussion were excluded. Because a single comment may contain multiple mitigation actions, we extracted 543 individual mitigation suggestions from the 315 validated comments and consolidated them through iterative coding into seven high-level mitigation strategies.
4 Findings: Reported Weakness Patterns and AVID Alignment
We first characterize reported OpenClaw security concerns using CWE as the primary structuring mechanism. Because Reddit reports often describe deployment-level behavior while GitHub issues provide more implementation detail, we interpret cross-source differences qualitatively and aggregate individual CWE labels into higher-level categories. We then use AVID as a secondary interpretive layer to connect the CWE results to AI-agent-specific failure patterns. AVID does not replace CWE in our analysis; it helps explain how conventional weakness mechanisms appear in a general-purpose AI agent system.
Across the validated dataset, 162 Reddit posts yielded 329 CWE instances across 50 distinct CWE types, while 180 GitHub issues yielded 192 CWE instances across 41 distinct CWE types. After cross-source deduplication, the combined dataset contains 521 CWE instances across 59 unique CWE types (Table 3).
4.1 Overview of CWE Categories and AVID Alignment
We group the 521 CWE instances into eight higher-level categories: Access, Exposure, Injection, Execution, Secrets, Network, Resources, and Monitoring. Table 4 summarizes the category-level distribution, most frequent CWE, and closest AVID alignment. The complete CWE distribution is provided in the supplementary material. The distribution is concentrated in a small number of categories. Access-related weaknesses are the largest group, accounting for 184 instances (35.3%). Exposure follows with 96 instances (18.4%), and Injection accounts for 87 instances (16.7%). Together, Access, Exposure, and Injection represent 70.4% of all mapped CWE instances. This concentration suggests that the reported OpenClaw risk surface is shaped primarily by failures in permission boundaries, sensitive-data handling, and the treatment of untrusted inputs.
The AVID alignment suggests that many OpenClaw reports sit at the boundary between conventional software security and AI-agent-specific failures. CWE captures the software weakness mechanism, while AVID helps interpret how the same weakness appears in an agentic system, such as untrusted content entering model context, skills acting as executable instructions, model-mediated disclosure of local secrets, or long-running agents consuming resources without effective oversight. The taxonomy in Table 4 also shows that OpenClaw weaknesses arise at agentic interaction boundaries rather than in isolated components. Across access, secrets, injection, exposure, execution, resources, and monitoring, the CWE-AVID alignment captures how authority, data,
Mostafijur Rahman Akhond, Mahmuda Khatun, and Gias Uddin
Table 4. CWE-derived weakness categories and secondary AVID alignment. Percentages are computed over 521 mapped CWE instances; AVID is used as an interpretive layer rather than a primary coding taxonomy.
| Category | Count | % | Most Frequent CWE | Closest AVID Alignment | Agentic Interpretation in Open-Claw |
|---|---|---|---|---|---|
| Access | 184 | 35.3 | CWE-284 (Improper Access Control) | S0100 Software Vulnerability; S0300 Over-permissive API | Exposed interfaces or broad permissions enable unintended agent actions. |
| Exposure | 96 | 18.4 | CWE-200 (Sensitive Information Exposure) | S0301 Information Leak; S0500 Exfiltration | Chats, keys, files, or configs leak through outputs, dashboards, context, or misconfiguration. |
| Injection | 87 | 16.7 | CWE-20 (Improper Input Validation) | S0400 Model Bypass; S0601 Ingest Poisoning; S0100 Software Vulnerability | Untrusted content influences reasoning, tool calls, or rendered/executed behavior. |
| Execution | 61 | 11.7 | CWE-829 (Untrusted Control Sphere) | S0200 Supply Chain Compromise; S0202 Software compromise | Skills, plugins, dependencies, or installs inherit privileges and execute unsafe code. |
| Secrets | 35 | 6.7 | CWE-522 (Insufficiently Protected Credentials) | S0301 Information Leak; S0500 Exfiltration; S0100 Software Vulnerability | Credentials or keys become reachable through agent context, tools, storage, or communication paths. |
| Network | 22 | 4.2 | CWE-918 (Server-Side Request Forgery) | S0100 Software Vulnerability; S0300 Over-permissive API | Public interfaces, unsafe binding, open-proxy behavior, or SSRF-like paths collapse network boundaries. |
| Resources | 18 | 3.5 | CWE-400 (Uncontrolled Resource Consumption) | S0302 Excessive Queries; S0100 Software Vulnerability | Tool loops, retries, token use, or background tasks cause cost or service exhaustion. |
| Monitoring | 18 | 3.5 | CWE-693 (Protection Mechanism Failure) | S0100 Software Vulnerability; partial AVID coverage | Missing logs, approvals, alerts, or traces reduce detectability and accountability. |
| Total | 521 | 100.0 | - | - | - |
tools, external content, and autonomous workflows move through the agent pipeline. Section 5 and Table 5 further synthesize these boundary failures into agent-specific mechanisms.
4.2 Dominant Weakness Categories
Figure 4 illustrates representative failure scenarios for the eight CWE-derived categories discussed below.
Access. Access-related weaknesses include authentication, authorization, and privilege-management failures. As shown in Figure 4a, reports describe exposed gateways, weak authentication, permissive defaults, and agents acting beyond intended permission boundaries. These failures are consequential because broad access can enable downstream tool invocation, file access, message sending, or external service interaction.
"I installed OpenClaw on my PC and connected it with Discord and Telegram...it started to send messages in my Discord and Instagram which I didn't give permission to." – R055
01 Access is the dominant category, accounting for 35.3% of all mapped CWE instances.
Exposure. Exposure-related weaknesses involve sensitive data becoming visible through unintended users, tools, logs, model contexts, dashboards, or external services. Figure 4b shows how sensitive data can propagate from memory or resources to unintended outputs. Reports commonly mention API keys, credentials, chats, configuration files, and workspace data.
“Then there’s prompt injection, a malicious email, ...”: The Wild Wide West of OpenClaw Agentic System Security
11

(a) C1: Access

(b) C2: Exposure


(c) C3: Injection
(d) C4: Execution

(e) C4: Execution variant

(f) C5: Secrets

(g) C6: Network

(h) C7: Resources

(i) C8: Monitoring
Fig. 4. Representative schematic security failure scenarios across OpenClaw’s execution pipeline. Execution is shown with two variants.
“900+ exposed Clawbot gateways … leaking keys/chats due to misconfigs.” – R003
02 Exposure is the second-largest category, accounting for 18.4% of mapped CWE instances.
Injection. Injection-related weaknesses occur when untrusted content is insufficiently separated from instructions, tool parameters, rendered content, or model context. As shown in Figure 4c, malicious external content can influence model reasoning and downstream actions. Reddit reports emphasize prompt-injection-style risks, while GitHub issues more often capture validation or sanitization flaws.
“Then there’s prompt injection. A malicious email, webpage, or document could … exfiltrate data or execute commands.” – R001
03 Injection-related weaknesses span multiple layers, from prompt interpretation to tool execution, and account for 16.7% of mapped CWE instances.
Execution. Execution-related weaknesses involve unsafe skill installation, untrusted dependencies, malicious plugins, and supply-chain risks. Figures 4d and 4e illustrate two pathways: unsafe system-level action and untrusted skill installation. Although less frequent than Access, Exposure, and Injection, these weaknesses are high impact because they can turn upstream trust failures into code execution, credential theft, or persistent compromise.
“real devs installed it, quietly grabbing AWS credits, .env, SSH keys” – R008
04 Execution accounts for 11.7% of mapped CWE instances, but remains high impact because untrusted skills, plugins, and dependencies can inherit agent privileges.
4.3 Other Recurring Weaknesses
Secrets. Secrets-related weaknesses involve API keys, tokens, credentials, cryptographic material, and insecure communication or storage paths through which such secrets may be exposed. Figure 4f shows how insecure secret handling can expose credentials through files, logs, communication
Mostafijur Rahman Akhond, Mahmuda Khatun, and Gias Uddin
channels, or agent-readable context. These issues are important because OpenClaw deployments often centralize credentials for LLM providers, messaging platforms, plugins, and local services. "It keeps your logins, bank tokens, and keys in basic text files" – R009
05 Secrets-related weaknesses account for 6.7% of mapped CWE instances.
Network. Network weaknesses include exposed services, unsafe binding, SSRF-like behavior, open-proxy behavior through skills or plugins, and weak restrictions on inbound or outbound communication. Figure 4g shows how network exposure can connect external inputs or public endpoints to local agent capabilities.
06 Network-facing weaknesses account for 4.2% of mapped CWE instances.
Resources. Resource weaknesses involve uncontrolled token usage, repeated tool calls, excessive retries, memory growth, or long-running tasks. As shown in Figure 4h, autonomous loops can cause unbounded resource consumption, including compute, API credits, tokens, or storage, without user awareness.
"The agent got stuck in a retry loop ... while I was asleep. It burned ~2M tokens in 6 hours." – R005
07 Resource weaknesses represent 3.5% of mapped CWE instances, but their impact can be immediate.
Monitoring. Monitoring weaknesses include insufficient logging, weak auditability, missing alerting, protection-mechanism failures, and limited visibility into agent actions. Figure 4i shows how harmful actions may proceed without detection or traceability. In agentic systems, monitoring is part of the safety boundary because users need to know what the agent did and why.
“No audit logging—If something goes wrong, you won’t know what happened.” – R004
08 Monitoring weaknesses account for 3.5% of mapped CWE instances, indicating persistent gaps in observability and auditability.
Together, Reddit and GitHub show complementary views of the same risk surface: Reddit emphasizes deployment-level failures and practitioner experience, while GitHub provides implementation-level evidence. Overall, OpenClaw’s reported security risks cluster around recurring boundary failures involving access, sensitive data, untrusted input, execution, and operational oversight.
5 Agent-Specific Failure Mechanisms
The CWE and AVID mappings identify the weakness types observed in OpenClaw reports, but they do not fully explain why these weaknesses become risky in an agentic system. OpenClaw combines natural-language instructions, persistent context, external tools, local execution, third-party skills, and deployment configuration into a single action pipeline. As a result, weaknesses can propagate across layers: untrusted content can influence reasoning, reasoning can trigger tools, tools can access sensitive resources, and missing audit trails can obscure the resulting actions.
Table 5 synthesizes the observations from Section 4 into six agent-specific failure mechanisms. These mechanisms are not additional coding labels; rather, they explain how the observed CWE categories interact across model reasoning, context construction, tool invocation, execution privileges, and deployment boundaries. These mechanisms show that the observed weaknesses are not merely ordinary software bugs appearing in a new application. Their impact is amplified by the agent execution pipeline. Access failures can expose tool-mediated actions; injection can influence reasoning; exposure can occur through model context; execution risks can arrive through skills and plugins; resource bugs can be amplified by autonomy; and weak monitoring can make all of these failures harder to detect or reconstruct.
"Then there's prompt injection, a malicious email, ...": The Wild Wide West of OpenClaw Agentic System Security
13
Table 5. Agent-specific failure mechanisms synthesized from the CWE and AVID-aligned findings.
| Mechanism | Related Obs. | Agentic Failure Pattern | Security Implication |
|---|---|---|---|
| Instruction/data boundary collapse | O3 | External content such as emails, webpages, documents, prompts, or rendered text is treated as behavior-shaping context rather than untrusted data. | Untrusted inputs can influence model reasoning and then propagate into tool calls, generated actions, or system-level execution. |
| Tool-mediated privilege expansion | O1, O4 | The model selects or triggers tools that have broader privileges than the immediate user request requires. | A weak access boundary can become a privileged action path involving files, credentials, messaging channels, or external services. |
| Persistent context exposure | O2, O5 | Memory, workspace files, configuration data, credentials, and prior interaction history are assembled into contexts the model or tools can access. | Sensitive information may be disclosed through outputs, logs, dashboards, tool responses, or model-mediated summaries. |
| Skill/plugin trust transfer | O4 | Third-party skills, plugins, dependencies, or installation flows become part of the agent's trusted execution environment. | Untrusted extensions can inherit agent privileges and turn extensibility into a supply-chain attack surface. |
| Autonomous resource amplification | O7 | Always-on agents can repeatedly invoke tools, retry tasks, expand memory, or continue execution without immediate user awareness. | Small workflow failures can escalate into token exhaustion, API-credit loss, storage growth, denial of service, or uncontrolled background activity. |
| Weak observability and approval boundary | O8 | Agent actions are not consistently logged, replayable, attributable, or subject to meaningful approval before high-risk operations. | Users and developers may be unable to determine what the agent did, why it acted, or whether a defense operated correctly. |
This analysis motivates three design implications for OpenClaw-like systems. First, trust boundaries must be explicit across input ingestion, context construction, reasoning, tool selection, execution, memory, and output generation. Second, authority should be scoped dynamically at the level of tools, actions, and tasks rather than granted broadly to the agent process. Third, agent actions must be observable and reviewable, especially when they affect files, credentials, external services, or long-running workflows. These implications inform the mitigation analysis in Section 6.
6 Mitigation Suggestions from Practitioner Discussions
Beyond diagnosing reported weaknesses, practitioners also propose strategies for reducing OpenClaw security risks. We analyze Reddit mitigation suggestions and use selected GitHub issues as implementation-level examples where relevant. From the 1,787 comments associated with validated Reddit posts, LLM-assisted filtering flagged 462 comments as potentially containing actionable security suggestions. Manual validation retained 315 comments, from which we extracted 543 mitigation suggestions and consolidated them into seven high-level strategies.
Figure 5 summarizes the seven mitigation strategies, their relative frequency, representative recommended approaches, and example practitioner comments. The most frequent strategies are Access Control and Least Privilege (27%), Environment Isolation and Execution Containment (17%), Monitoring, Auditing, and Runtime Defense (14%), and Supply Chain and Skill/Plugin Trust (12%). Credential and Secret Management, Human Oversight and Control Mechanisms, and Network Security and Exposure Reduction each account for 10%.
Figure 6 shows that mitigation strategies are cross-cutting rather than category-specific. Access Control and Least Privilege is most strongly linked to the Access category, but isolation, monitoring, credential handling, network restriction, and human approval also connect to multiple weakness
Mostafijur Rahman Akhond, Mahmuda Khatun, and Gias Uddin
| Mitigation Category | Recommended Approach | Example |
|---|---|---|
| Access Control & Least Privilege (27%) | Give the agent only the permissions it actually needs, using scoped credentials instead of full-access tokens. | “...give it its own GitHub token that only allows it to create pull requests.” — R032 |
| Environment Isolation & Execution Containment (17%) | Run the agent inside a container or VM rather than directly on the host, ideally on a local or private deployment. | “Never run this on bare metal...Docker container with read-only permissions.” — R005 |
| Monitoring, Auditing & Runtime Defense (14%) | Log and trace what the agent does at runtime, and keep rollback or snapshot points so you can audit its actions later. | “...runtime tracing so people can audit what the agent actually did after the fact.” — R036 |
| Supply Chain & Skill/Plugin Trust (12%) | Steer clear of untrusted third-party skills or plugins, and either write your own or carefully review external ones. | “Create your own skills. Don't trust anything on that store.” — R021 |
| Credential & Secret Management (10%) | Keep real credentials out of the agent's hands, and scope secrets so each service only gets access to its own. | “don't run anything with real credits.” — R016 |
| Human Oversight & Control Mechanisms (10%) | Have the agent ask for explicit approval before taking high-risk actions, backed by a guardian layer that can veto them. | “I ask it for confirmation before it makes any changes and then I approve them.” — R026 |
| Network Security & Exposure Reduction (10%) | Keep the agent off the public internet where possible, and block any internet access it doesn't actually need. | “...no internet ingress... that would solve a huge amount of security risks.” — R018 |
Fig. 5. Seven mitigation strategies extracted from Reddit comments, with representative recommended approaches and examples.
| Security Categories | Mitigation Strategies | Security Categories |
|---|---|---|
| Access | Access Control & Least Privilege | |
| Environment Isolation & Execution Containment | Exposure | |
| Supply Chain & Skill/Plugin Trust | ||
| Monitoring, Auditing & Runtime Defense | ||
| Execution | Network Security & Exposure Reduction | Injection |
| Resources | Credential & Secret Management | Monitoring |
| = Network | Human Oversight & Control Mechanisms | Secrets |
Fig. 6. Flow between the eight security categories and seven mitigation strategies, with edge thickness proportional to the number of associated suggestions.
categories. This pattern suggests that secure OpenClaw deployment requires layered controls rather than single-point fixes.
6.1 Practitioner Mitigation Strategies
Access Control and Least Privilege. Access control is the most common mitigation strategy and directly addresses the dominant Access category (O1). Practitioners recommend limiting what an agent can access, avoiding full-access tokens, and using task-scoped credentials:
“...give it its own GitHub token that only allows it to create pull requests.” – R032
GitHub issue#24152 reflects the same principle: stricter routing and isolation boundaries reduce unintended cross-channel data access. These examples show that least privilege must apply not only to user accounts, but also to tools, channels, credentials, and task-specific action scopes.
M1 Least-privilege access control is the most common defense strategy, appearing in 27% of the suggestions.
"Then there's prompt injection, a malicious email, ...": The Wild Wide West of OpenClaw Agentic System Security
15
Environment Isolation and Execution Containment. Isolation is used to reduce blast radius when agent failures cannot be fully prevented. This strategy is especially relevant to Execution, Exposure, and Resource weaknesses because agent actions may affect local files, credentials, package installations, or external services.
"Never run this on bare metal... Docker container with read-only permissions." – R005
Practitioners also recommend virtual machines, private deployments, local-only execution, read-only mounts, and avoiding direct access to sensitive host resources. These recommendations treat containment as a practical boundary around unpredictable agent workflows rather than as an optional hardening step.
M2 Isolation and containment appear in 17% of the suggestions.
Monitoring, Auditing, and Runtime Defense. Monitoring and auditing make agent behavior traceable, reviewable, and recoverable. These mitigations address Monitoring weaknesses (O8), but also support other controls by making it possible to reconstruct how an agent reached an action: "...runtime tracing so people can audit what the agent actually did after the fact." – R036
GitHub issue#27697 reflects the same concern, where insufficient auditing and inspection made prompt-injection behavior harder to detect and analyze. The fix strengthened logging and traceability, showing that observability is part of the agent security boundary rather than only a debugging feature.
M3 Monitoring, auditing, and runtime defense appear in 14% of the suggestions.
Supply Chain and Skill/Plugin Trust. Third-party skills and plugins are treated as a critical trust boundary. This strategy corresponds to Execution weaknesses (O4), where untrusted or weakly verified extensions may inherit agent privileges:
"Create your own skills. Don't trust anything on that store." – R021
These suggestions show that extensibility mechanisms can become instruction sources, execution pathways, and permission-bearing components. As a result, skill and plugin ecosystems require provenance checks, review processes, restricted permissions, and safer installation defaults.
M4 Supply-chain and skill/plugin trust concerns appear in 12% of the suggestions.
Credential and Secret Management. Credential and secret management strategies reduce exposure and misuse of API keys, tokens, login data, and cryptographic material. These suggestions align with Secrets and Exposure weaknesses (O2, O5). Practitioners emphasize avoiding real credentials in experimental deployments, scoping credentials per service, and preventing secrets from being reachable through prompts, logs, files, or tool outputs. A credential that is safe in one context may become dangerous when combined with untrusted input, broad tool access, or model-generated actions.
M5 Credential and secret management appears in 10% of the suggestions.
Human Oversight and Control Mechanisms. Human oversight preserves user authority over high-risk actions such as modifying files, sending messages, executing commands, installing dependencies, or accessing sensitive services:
"I ask it for confirmation before it makes any changes and then I approve them." – R026
GitHub issue#23939 reflects a related implementation concern, where weak approval visibility made it harder for users to verify agent actions before execution. The fix introduced a control UI mechanism that surfaces pending actions and requires explicit approval. This suggests that approval should be integrated into the workflow rather than added only as an external manual habit.
Mostafijur Rahman Akhond, Mahmuda Khatun, and Gias Uddin
M6 Human oversight and approval mechanisms appear in 10% of the suggestions.
Network Security and Exposure Reduction. Network security strategies reduce external attack surface by limiting public exposure, restricting ingress, and avoiding unsafe default bindings. These mitigations address Network and Access weaknesses (O1, O6), especially when agent interfaces can trigger downstream tool or file access. GitHub issue#22226 reflects a related deployment-boundary problem, where Docker gateway binding, local-connection checks, and device-pairing scopes interacted in a way that affected secure multi-agent communication. Overall, network restriction remains a practical first line of defense for preventing externally reachable agent interfaces from becoming entry points into local or internal resources.
M7 Network security and exposure reduction appears in 10% of the suggestions.
Together, these mitigation strategies show that secure OpenClaw deployment requires defense-in-depth across permissions, execution containment, network exposure, credentials, monitoring, and human approval.
7 Discussion
The findings show that OpenClaw security issues are concentrated around recurring boundary failures rather than a broad set of unrelated bugs. From the observed weakness patterns (O1–O8), agent-specific mechanisms, mitigation findings (M1–M7), and supplementary advisory/CVE analysis, we derive several implications for OpenClaw stakeholders and the broader agentic-system community.
Trust-boundary failures are harder than hygiene gaps. Some observed weaknesses reflect conventional security hygiene gaps: Secrets (O5, 6.7%), Network exposure (O6, 4.2%), Resources (O7, 3.5%), and Monitoring (O8, 3.5%) map to established controls such as scoped secrets, segmentation, resource limits, logging, and auditability. By contrast, Access (O1, 35.3%), Injection (O3, 16.7%), and Execution (O4, 11.7%) are more structural to the agent execution model because permissions are exercised through tool selection, untrusted content may enter prompt or memory context, and model outputs can trigger privileged actions. Exposure (O2, 18.4%) often appears as a downstream symptom of unresolved access, context, or injection failures. This suggests that OpenClaw-like systems need both conventional hardening and agent-specific primitives for dynamic authorization, instruction/data separation, and context-aware execution control.
Access dominates the surface, while execution amplifies damage. Access concerns account for the largest share of observed issues (O1), but execution-related failures (O4) can drive high-impact outcomes because they connect agent decisions to system-level actions. Supplementary CWE–CVE and advisory evidence suggests that access bypass and unsafe execution are recurring classes that may interact within broader attack paths. Together, these findings point to a dual requirement: access must be tightly scoped and continuously enforced at runtime, while execution pathways—especially tool invocation, plugin handling, and skill installation—must be treated as high-risk operations requiring validation, containment, and policy-aware control.
Defense-in-depth must be integrated into the agent, not left to users. The mitigation findings show that practitioners already recommend familiar controls: least privilege (M1), isolation (M2), monitoring (M3), supply-chain review (M4), credential scoping (M5), human approval (M6), and network restriction (M7). However, the recurrence of these suggestions indicates that users often compensate for missing or weak built-in safeguards. This is especially important for agentic systems, where a single failure can cross boundaries: untrusted content can influence reasoning, reasoning can trigger tools, tools can access secrets or files, and weak monitoring can obscure the action.
"Then there's prompt injection, a malicious email, ...": The Wild Wide West of OpenClaw Agentic System Security
17

(a) Weekly advisory distribution by severity.

(b) Resolution rate by severity.

(c) Average resolution time by severity.
Fig. 7. GitHub security advisory trends for OpenClaw, including weekly severity distribution, resolution rate, and average resolution time by severity.
sequence. Secure OpenClaw-like systems should therefore make these controls default, composable, and task-aware rather than optional deployment advice.
Validation and approval must occur before execution, not only after failure. Injection and exposure weaknesses (O2, O3) show that OpenClaw processes untrusted content that can influence reasoning, memory, and execution. These risks extend beyond external inputs: model-generated outputs can also act as implicit execution triggers when passed to tools or workflows. Practitioner mitigations similarly emphasize runtime inspection, tracing, and approval before high-risk operations (M3, M6). Therefore, agentic systems need validation at two points: before external content enters trusted context, and before generated actions are executed. This shifts security enforcement from static configuration toward runtime policy checks over context, tools, parameters, and intended effects.
OpenClaw security is evolving and structurally interconnected. Security issues in OpenClaw are neither static nor isolated. Advisory and CVE evidence in the supplementary material indicates continuing reports and uneven resolution patterns across severity levels. Figure 7 summarizes these trends, showing weekly advisory activity, severity-wise resolution rate, and average resolution time. These trends suggest that prioritization cannot rely on severity alone; it must also consider how weaknesses interact across access control, execution, filesystem access, network communication, and monitoring. The combined CWE, AVID, and agent-specific mechanism analyses show that OpenClaw operates within an evolving threat landscape where small configuration or validation gaps can propagate through the agent pipeline. Continuous monitoring, transparent triage, and system-level mitigation are therefore necessary for safer deployment.
8 Threats to Validity
Construct validity. Our analysis relies on public Reddit reports and GitHub issues, which may lack complete configuration details, exploit evidence, or root-cause information. We therefore treat them as reports of security-relevant behavior, concerns, misconfigurations, and implementation weaknesses rather than confirmed exploitable vulnerabilities. We mitigate this risk through evidence-grounded CWE mapping, conservative ambiguity handling, cross-source comparison, and advisory/CVE context where available.
Internal validity. LLM-assisted filtering may miss relevant Reddit posts. To reduce this risk, we used a frozen recall-oriented prompt, two independent open-weight models, manual validation of all LLM-positive candidates, and filter audits. The audited samples showed no false negatives, and
Mostafijur Rahman Akhond, Mahmuda Khatun, and Gias Uddin
a separate audit of 200 posts excluded by both models found no missed relevant posts. Because these audits are sample-based, our counts should be interpreted as lower-bound estimates rather than exhaustive coverage.
Coding validity. CWE assignment and mitigation coding involve judgment, especially for low-detail Reddit reports and practitioner comments. We mitigate this through source-aware mapping rules, conservative ambiguity handling, two-annotator review, third-author resolution, and documented coding criteria. Across the three validation tasks, exact agreement was 96.6%, with Cohen's ranging from 0.875 to 0.920. AVID is used only as a secondary interpretive layer, not as an official vulnerability assignment or replacement for CWE.
External and temporal validity. Our findings are limited to OpenClaw and to public Reddit and GitHub sources, which may overrepresent visible failures and exclude enterprise deployments, private disclosures, or silent failures. The study is also time-bound because OpenClaw and its ecosystem evolve rapidly. We mitigate these risks by combining two structurally different public sources, interpreting results as a snapshot of reported concerns rather than statistically representative prevalence, and releasing anonymized replication materials.
9 Concluding Remarks
We presented an empirical study of reported security concerns in OpenClaw using Reddit discussions and security-tagged GitHub issues. Our analysis covers 162 security-relevant Reddit posts with 1,787 associated comments and 180 validated GitHub issues. Through evidence-grounded CWE mapping, we identified 521 CWE instances across 59 distinct weakness types, with recurring concentrations in access control, sensitive-data exposure, injection, and unsafe execution. These results show that OpenClaw security concerns are shaped by recurring trust-boundary failures rather than isolated implementation bugs. Beyond cataloging conventional weaknesses, we synthesize agent-specific failure mechanisms showing how familiar issues become amplified when model reasoning, persistent memory, tool invocation, third-party skills, credentials, and local execution interact within the same pipeline. We also analyze 543 practitioner-proposed mitigation suggestions and consolidate them into seven defense strategies, including least privilege, isolation, monitoring, supply-chain review, credential management, human approval, and network restriction. Together, these findings suggest that safer OpenClaw-like systems require defense-in-depth controls that are built into the agent pipeline, rather than left only as deployment advice.
Message to OpenClaw Designers and Developers: Security should be enforced across the full agent execution pipeline. OpenClaw-like systems should scope permissions at action time, separate trusted instructions from untrusted data, constrain tool invocation, isolate execution contexts, and provide auditable traces for high-risk actions.
Message to Users: OpenClaw should be treated as a long-running software system with persistent state, external inputs, and access to sensitive resources. Users should restrict permissions, avoid public exposure of agent interfaces, isolate deployments, scope credentials carefully, and review high-risk actions before execution.
Message to Researchers: Future work should evaluate agentic systems end to end, rather than only testing model outputs or isolated tools. In particular, controlled reproduction of reported pathways can help determine exploitability, identify root causes, and guide concrete fixes for trust-boundary failures involving context, tools, memory, plugins, and deployment configuration.
"Then there's prompt injection, a malicious email, ...": The Wild Wide West of OpenClaw Agentic System Security
19
Ethics/AI Usage
This study uses only public, non-interactive Reddit and GitHub data, reported in anonymized or aggregated form with sensitive details omitted; no formal IRB review was sought. Generative AI tools were used only for writing, LaTeX, visual, and coding support, not to generate experimental data, assign final labels, or produce core findings; all claims and results were author-verified.
Data Availability
The anonymized replication package is available at: https://anonymous.4open.science/r/openclaw-6E1B. It includes filtered and annotated datasets, CWE mappings, processing scripts, filtering prompts, and coding criteria.
References
[1] AI Risk and Vulnerability Alliance. 2026. AVID Database. https://avidml.org/database/.
[2] AI Risk and Vulnerability Alliance. 2026. AVID Taxonomy Library. https://avidml.org/taxonomy/.
[3] Daniel Ayzenshteyn, Roy Weiss, and Yisroel Mirsky. 2025. Cloak, honey, trap: Proactive defenses against LLM agents. In 34th USENIX Security Symposium (USENIX Security 25). 8095–8114.
[4] Channel News Asia. 2026. Moltbook AI Agents Had Major Security Flaw, Says Wiz. https://www.channelnewsasia.com/business/moltbook-social-media-site-ai-agents-had-big-security-hole-cyber-firm-wiz-says-5901591 Accessed: 2026-03.
[5] Tianyu Chen, Chujia Hu, Ge Gao, Dongrui Liu, Xia Hu, and Wenjie Wang. 2026. LPS-Bench: Benchmarking Safety Awareness of Computer-Use Agents in Long-Horizon Planning under Benign and Adversarial Scenarios. arXiv preprint arXiv:2602.03255 (2026).
[6] Tianyu Chen, Dongrui Liu, Xia Hu, Jingyi Yu, and Wenjie Wang. 2026. A Trajectory-Based Safety Audit of Clawdbot (OpenClaw). arXiv preprint arXiv:2602.14364 (2026).
[7] Xinhao Deng, Yixiang Zhang, Jiaqing Wu, Jiaqi Bai, Sibo Yi, Zhuoheng Zou, Yue Xiao, Rennai Qiu, Jianan Ma, Jialuo Chen, Xiaohu Du, Xiaofang Yang, Shiwen Cui, Changhua Meng, Weiqiang Wang, Jiaxing Song, Ke Xu, and Qi Li. 2026. Taming OpenClaw: Security Analysis and Mitigation of Autonomous LLM Agent Threats. arXiv:2603.11619 [cs.CR] https://arxiv.org/abs/2603.11619
[8] Zehang Deng, Yongjian Guo, Changzhou Han, Wanlun Ma, Junwu Xiong, Sheng Wen, and Yang Xiang. 2025. Ai agents under threat: A survey of key security challenges and future pathways. Comput. Surveys 57, 7 (2025), 1–36.
[9] Xin Luna Dong, Seungwhan Moon, Yifan Ethan Xu, Kshitiz Malik, and Zhou Yu. 2023. Towards next-generation intelligent assistants leveraging llm techniques. In Proceedings of the 29th ACM SIGKDD Conference on Knowledge Discovery and Data Mining. 5792–5793.
[10] Anita Foster, Pankaj Khazanchi, and Rashmi Khazanchi. 2024. MagicSchool. AI: a personal assistant. In Society for Information Technology & Teacher Education International Conference. Association for the Advancement of Computing in Education (AACE), 74–80.
[11] Sangil Ha, Dongbeom Ko, Joon-Ho Lim, Sungjoo Kang, and Hyeon Soo Kim. 2024. Towards a personalized LLM-based daily edge memory aid. In 2024 15th International Conference on Information and Communication Technology Convergence (ICTC). IEEE, 862–865.
[12] Yifeng He, Ethan Wang, Yuyang Rong, Zifei Cheng, and Hao Chen. 2025. Security of AI agents. In 2025 IEEE/ACM International Workshop on Responsible AI Engineering (RAIE). IEEE, 45–52.
[13] Arthur Heitmann. 2026. Arctic Shift: Making Reddit data accessible to researchers, moderators and everyone else. https://github.com/ArthurHeitmann/arctic_shift.
[14] Carlos E Jimenez, John Yang, Alexander Wettig, Shunyu Yao, Kexin Pei, Ofir Press, and Karthik Narasimhan. 2023. Swe-bench: Can language models resolve real-world github issues? arXiv preprint arXiv:2310.06770 (2023).
[15] Hanna Kim, Minkyoo Song, Seung Ho Na, Seungwon Shin, and Kimin Lee. 2025. When LLMs go online: The emerging threat of Web-Enabled LLMs. In 34th USENIX Security Symposium (USENIX Security 25). 1729–1748.
[16] Juhee Kim, Xiaoyuan Liu, Zhun Wang, Shi Qiu, Bo Li, Wenbo Guo, and Dawn Song. 2026. The Attack and Defense Landscape of Agentic AI: A Comprehensive Survey. arXiv preprint arXiv:2603.11088 (2026).
[17] Hao Li, Chenghao Yang, An Zhang, Yang Deng, Xiang Wang, and Tat-Seng Chua. 2025. Hello again! llm-powered personalized agent for long-term dialogue. In Proceedings of the 2025 Conference of the Nations of the Americas Chapter of the Association for Computational Linguistics: Human Language Technologies (Volume 1: Long Papers). 5259–5276.
[18] Yuanchun Li, Hao Wen, Weijun Wang, Xiangyu Li, Yizhen Yuan, Guohong Liu, Jiacheng Liu, Wenxing Xu, Xiang Wang, Yi Sun, et al. 2024. Personal llm agents: Insights and survey about the capability, efficiency and security. arXiv
Mostafijur Rahman Akhond, Mahmuda Khatun, and Gias Uddin
preprint arXiv:2401.05459 (2024).
[19] Yuchen Ling, Shengcheng Yu, Zhenyu Chen, and Chunrong Fang. 2026. Toward Secure LLM Agents: Threat Surfaces, Attacks, Defenses, and Evaluation. arXiv:2606.10749 [cs.CR] https://arxiv.org/abs/2606.10749
[20] Stephan Lipp, Sebastian Banescu, and Alexander Pretschner. 2022. An empirical study on the effectiveness of static C code analyzers for vulnerability detection. In Proceedings of the 31st ACM SIGSOFT international symposium on software testing and analysis. 544–555.
[21] Fengyu Liu, Yuan Zhang, Jiaqi Luo, Jiarun Dai, Tian Chen, Letian Yuan, Zhengmin Yu, Youkun Shi, Ke Li, Chengyuan Zhou, et al. 2025. Make agent defeat agent: Automatic detection of {Taint-Style} vulnerabilities in {LLM-based} agents. In 34th USENIX Security Symposium (USENIX Security 25). 3767–3786.
[22] Xiao Liu, Hao Yu, Hanchen Zhang, Yifan Xu, Xuanyu Lei, Hanyu Lai, Yu Gu, Hangliang Ding, Kaiwen Men, Kejuan Yang, et al. 2023. Agentbench: Evaluating llms as agents. arXiv preprint arXiv:2308.03688 (2023).
[23] Wanlun Ma, Qing-Long Han, Xiaogang Zhu, Wei Zhou, Junwu Xiong, Zhihang Ren, Sheng Wen, and Yang Xiang. 2026. OpenClaw in the Wild: Security Analysis of Autonomous Agents. IEEE/CAA Journal of Automatica Sinica 13, 6 (2026), 1257–1273. doi:10.1109/JAS.2026.126209
[24] MITRE. [n. d.]. ATLAS: Adversarial Threat Landscape for Artificial-Intelligence Systems. https://atlas.mitre.org.
[25] National Vulnerability Database. 2026. CVE-2026-24763. https://nvd.nist.gov/vuln/detail/CVE-2026-24763 Accessed: 2026-03.
[26] Sabato Nocera, Simone Romano, Rita Francese, and Giuseppe Scanniello. 2026. Security issues in python open-source software: a mining study from GitHub. Empirical Software Engineering 31, 6 (2026), 174.
[27] OpenClaw. 2026. OpenClaw: Open-Source Autonomous AI Agent Platform. https://openclaw.ai/. Accessed: 2026-03-01.
[28] OWASP GenAI Security Project. 2026. OWASP Top 10 for Agentic Applications 2026. https://genai.owasp.org/resource/owasp-top-10-for-agentic-applications-for-2026/.
[29] Joon Sung Park, Joseph O'Brien, Carrie Jun Cai, Meredith Ringel Morris, Percy Liang, and Michael S Bernstein. 2023. Generative agents: Interactive simulacra of human behavior. In Proceedings of the 36th annual acm symposium on user interface software and technology. 1–22.
[30] Matthias C Rillig and Atoosa Kasirzadeh. 2024. Ai personal assistants and sustainability: Risks and opportunities. Environmental Science & Technology 58, 17 (2024), 7237–7239.
[31] Timo Schick, Jane Dwivedi-Yu, Roberto Dessi, Roberta Raileanu, Maria Lomeli, Eric Hambro, Luke Zettlemoyer, Nicola Cancedda, and Thomas Scialom. 2023. Toolformer: Language models can teach themselves to use tools. Advances in neural information processing systems 36 (2023), 68539–68551.
[32] Zhengyang Shan, Jiayun Xin, Yue Zhang, and Minghui Xu. 2026. Don’t Let the Claw Grip Your Hand: A Security Analysis and Defense Framework for OpenClaw. arXiv preprint arXiv:2603.10387 (2026).
[33] Noah Shinn, Federico Cassano, Ashwin Gopinath, Karthik Narasimhan, and Shunyu Yao. 2023. Reflexion: Language agents with verbal reinforcement learning. Advances in neural information processing systems 36 (2023), 8634–8652.
[34] Prasha Shrestha, Arun Sathanur, Suraj Maharjan, Emily Saldanha, Dustin Arendt, and Svitlana Volkova. 2020. Multiple social platforms reveal actionable signals for software vulnerability awareness: A study of GitHub, Twitter and Reddit. Plos one 15, 3 (2020), e0230250.
[35] S. Suwansathit, Y. Zhang, and G. Gu. 2026. A Security Analysis of the OpenClaw AI Agent Framework. arXiv preprint arXiv:2603.27517 (2026).
[36] The Guardian. 2026. OpenClaw: The Viral AI Agent Personal Assistant. https://www.theguardian.com/technology/2026/feb/02/openclaw-viral-ai-agent-personal-assistant-artificial-intelligence Accessed: 2026-03.
[37] The MITRE Corporation. 2026. Common Weakness Enumeration (CWE). https://cwe.mitre.org/index.html. Accessed: 2026-06-12.
[38] Times of India. 2026. Meta Director Says OpenClaw AI Agent Deleted Her Entire Inbox. https://timesofindia.indiatimes.com/technology/tech-news/meta-director-says-openclaw-ai-agent-deleted-her-entire-inbox-shares-screenshots-of-conversation-with-ai-bot/articleshow/128746253.cms Accessed: 2026-03.
[39] Guanzhi Wang, Yuqi Xie, Yunfan Jiang, Ajay Mandlekar, Chaowei Xiao, Yuke Zhu, Linxi Fan, and Anima Anandkumar. 2023. Voyager: An open-ended embodied agent with large language models. arXiv preprint arXiv:2305.16291 (2023).
[40] Yuntao Wang, Jianle Ba, Han Liu, Yanghe Pan, Jintao Wei, Zhou Su, Tom H. Luan, and Linkang Du. 2026. Security of OpenClaw Agents: Fundamentals, Attacks, and Countermeasures. arXiv:2605.25435 [cs.AI] https://arxiv.org/abs/2605.25435
[41] Yuhang Wang, Feiming Xu, Zheng Lin, Guangyu He, Yuzhe Huang, Haichang Gao, Zhenxing Niu, Shiguo Lian, and Zhaoxiang Liu. 2026. From assistant to double agent: Formalizing and benchmarking attacks on openclaw for personalized local ai agent. arXiv preprint arXiv:2602.08412 (2026).
[42] WIRED. 2026. Clawdbot and Moltbot: The Viral AI Assistant. https://www.wired.com/story/clawdbot-moltbot-viral-ai-assistant/ Accessed: 2026-03.
"Then there's prompt injection, a malicious email, ...": The Wild Wide West of OpenClaw Agentic System Security
21
[43] Qingyun Wu, Gagan Bansal, Jieyu Zhang, Yiran Wu, Beibin Li, Erkang Zhu, Li Jiang, Xiaoyun Zhang, Shaokun Zhang, Jiale Liu, et al. 2024. Autogen: Enabling next-gen LLM applications via multi-agent conversations. In First conference on language modeling.
[44] Luyao Xu and Xiang Chen. 2026. Security Attack and Defense Strategies for Autonomous Agent Frameworks: A Layered Review with OpenClaw as a Case Study. arXiv preprint arXiv:2604.27464 (2026). https://arxiv.org/abs/2604.27464
[45] John Yang, Carlos E Jimenez, Alexander Wettig, Kilian Lieret, Shunyu Yao, Karthik Narasimhan, and Ofir Press. 2024. Swe-agent: Agent-computer interfaces enable automated software engineering. Advances in Neural Information Processing Systems 37 (2024), 50528–50652.
[46] Shunyu Yao, Jeffrey Zhao, Dian Yu, Nan Du, Izhak Shafran, Karthik R Narasimhan, and Yuan Cao. 2022. React: Synergizing reasoning and acting in language models. In The eleventh international conference on learning representations.
[47] Zonghao Ying, Xiao Yang, Siyang Wu, Yumeng Song, Yang Qu, Hainan Li, Tianlin Li, Jiakai Wang, Aishan Liu, and Xianglong Liu. 2026. Uncovering Security Threats and Architecting Defenses in Autonomous Agents: A Case Study of OpenClaw. arXiv preprint arXiv:2603.12644 (2026).
[48] Wei Zhao, Zhe Li, Peixin Zhang, and Jun Sun. 2026. ClawGuard: A Runtime Security Framework for Tool-Augmented LLM Agents Against Indirect Prompt Injection. arXiv:2604.11790 [cs.CR] https://arxiv.org/abs/2604.11790
[49] Zheng Zhao, Clara Vania, Subhradeep Kayal, Naila Khan, Shay B Cohen, and Emine Yilmaz. 2025. PersonaLens: A Benchmark for Personalization Evaluation in Conversational AI Assistants. In Findings of the Association for Computational Linguistics: ACL 2025. 18023–18055.