# AEGIS: A Multi-Layered Security Framework for Autonomous AI Agents: v1.1 → v2.0

From v1.1 (17 Mar) to v2.0 (15 Apr): 8,473 words to 16,509 words, 13,129 words in new or rewritten paragraphs and 5,093 taken out, 664 paragraphs changed.

## Change note of v2.0

**Rebuilt around two threat classes, data tiers and legal liability**

A near-complete rewrite that doubles the paper. The new aim is to answer the objections IT staff raise when they evaluate an agent. Threats are now split in two: someone taking over the agent, and data leaking out. Leaks are graded in three tiers of sensitivity, and each tier is tied to who is liable.

- Threat taxonomy with two classes: full agent takeover and data leaks.
- Three-tier data classification, with GDPR controller and processor roles, the providers' terms on retention and training, and whether damages could be recovered from a model provider.
- Opens with an immune-system analogy for layered defence.
- A fourth user type, the small-business operator, joins the three from v1.
- Full analysis of NemoClaw's five layers and a new one of Cisco DefenseClaw, plus a section on why these vendors invest.
- New sections on evidence from a public penetration test and on the security surface of each component of the author's agent architecture.
- The v1 sections on threat model, contributions, assumptions and taxonomy method are dropped.

## Changed paragraphs

Marks: [-removed-] {+added+}.

### AEGIS v2.0: A Multi-Layered Security Framework for Autonomous AI Agents

# [-AEGIS:-] {+AEGIS v2.0:+} A Multi-Layered Security Framework for Autonomous AI [-Agents — From Hobbyist Tinkering to Enterprise Deployment-] {+Agents+}

### AEGIS v2.0: A Multi-Layered Security Framework for Autonomous AI Agents

**A {+Threat+} Taxonomy, [-Risk-] {+Data Classification, Liability+} Analysis, and Defense Architecture for the Age of Agentic AI**

### AEGIS v2.0: A Multi-Layered Security Framework for Autonomous AI Agents

{+**Author:** Oscar Serra **Date:** April 2026 **Version:** 2.0 **Series:** J-Series AI Research Reports, Paper J9+}

### Abstract

Autonomous AI agents — software systems that perceive context, invoke tools, execute code, and take actions on behalf of users — have moved from research curiosity to mass deployment with remarkable speed. OpenClaw, one of the leading open-source agent runtimes, grew from a hobbyist project to millions of active installations within eighteen months. With that growth came an attack surface the security community was not prepared [-for. In twelve months, we observed a zero-click WebSocket hijack vulnerability (CVE-2026-25253) affecting 40,000+ exposed instances, supply chain attacks via malicious agent skills discovered by Cisco Talos, and a high-profile incident in which an AI safety director's own agent deleted six months of email without explicit authorization.-] {+for.+}

### Abstract

[-This paper presents **AEGIS** — a systematic framework for analyzing and layering security controls across autonomous AI agent deployments. We propose a taxonomy of eight distinct security strategy classes, classified as deterministic or probabilistic, and introduce the **safety-capability-autonomy trilemma** as a design tool for reasoning about agent security trade-offs. We analyze three deployment personas — the Hobbyist Tinkerer, the Freelance Consultant, and the Corporate Employee — with formal risk matrices and regulatory mappings. We examine NVIDIA's NemoClaw/OpenShell architecture as a case study in principled defense-in-depth design, and conclude with a layered defense architecture modeled on the Swiss cheese model, including a worked attack simulation demonstrating layer interactions. The paper is intentionally positioned as a **conceptual and practitioner-oriented security framework paper** rather than an empirical benchmark study: its central contribution is a structured way to reason about controls, trust boundaries, and deployment trade-offs in agent systems before the incident database matures.-]

### Abstract

{+This paper presents **AEGIS v2.0**, a substantially revised security framework that addresses the most frequently raised concerns from IT professionals evaluating agent deployments. The central revision is a **two-class threat taxonomy** that distinguishes between full agent takeover events and data leaks — a distinction that matters because the consequences, mitigations, and liability implications of these two classes differ fundamentally.+}

### Abstract

{+For data leaks, AEGIS v2.0 introduces a **three-tier data classification** that separates public-domain material from contextually harmless disclosures from genuinely problematic exposures. The paper then maps each tier to a concrete **liability analysis**: who bears responsibility when data flows to an LLM provider, what the GDPR controller/processor distinction means in practice, and whether an organization could realistically recover damages from a multi-billion-dollar AI company.+}

### Abstract

{+On the enterprise defense side, this paper provides the first comprehensive gap analysis of two major enterprise security forks: **NVIDIA NemoClaw** (5-layer architecture, as of April 2026 still in alpha) and **Cisco DefenseClaw** (released March 27, 2026, open source). We examine both the genuine security value these frameworks provide and the gaps their own documentation admits. We also analyze the business motivations behind each initiative — motivations that, we argue, actually validate OpenClaw's importance rather than challenging it.+}

### Abstract

{+The paper is structured so that any specific IT objection maps to a numbered section with a documented analysis. IT contractors who keep asking "but what about X?" will find X addressed herein — and will likely discover the analysis goes deeper than their question assumed.+}

### Abstract

**Keywords:** AI agent security, autonomous agents, defense in depth, prompt injection, [-tool security,-] agent [-isolation, OpenClaw,-] {+takeover, data classification, liability,+} NemoClaw, {+DefenseClaw,+} privacy routing, {+GDPR,+} risk matrix, [-CVE-2026-25253, safety-capability-autonomy trilemma-] {+CVE-2026-25253+}

### Executive Summary

[-Autonomous AI agents are being deployed faster than they are being secured. This paper provides a practitioner-oriented framework — AEGIS — for understanding, classifying, and layering security controls around agent deployments.-]

### Executive Summary

[-**Core findings:**-]

### Executive Summary

[-1. **Probabilistic controls (system prompts, behavioral rules) are insufficient** for any deployment where failure has material consequences. They work in the absence of adversarial pressure; they fail under it.-]

### Executive Summary

[-2. **The safety-capability-autonomy trilemma** means every agent deployment implicitly trades between these three properties. Making that trade-off explicit is the first step toward honest risk assessment.-]

### Executive Summary

[-3. **Eight distinct security strategy classes** exist, spanning from OS-level filesystem controls to prompt-level behavioral rules. Only deterministic controls should be counted in a security architecture; probabilistic controls are a useful baseline, not a security layer.-]

### Executive Summary

[-4. **Risk varies dramatically by deployment context.** A hobbyist risks a crypto wallet; a freelancer risks NDA breach lawsuits and GDPR fines; a corporate employee risks SEC investigation and mass data breach. Security posture must match.-]

### Executive Summary

[-5. **Defense in depth works.** Our worked simulation shows that applying AEGIS layers progressively blocks 9 of 10 representative attack scenarios before they reach sensitive data. No single layer is sufficient; layered together, the gaps rarely align.-]

### Executive Summary

[-**Minimum viable action for any deployment:** Bind the WebSocket port to `127.0.0.1` and verify all installed skills. Time: 15 minutes. Impact: eliminates the most common remote attack vector.-]

### Executive Summary

{+The security concerns surrounding autonomous AI agent deployments are real, they are graded, and they have been studied in detail. This executive summary maps those concerns to outcomes.+}

### Executive Summary

{+**On agent takeover:** Full takeover of an agent — where an attacker gains complete control over the agent's capabilities, data access, and action space — is the most severe scenario and represents genuine total exposure. However, the attack vectors required (WebSocket exploitation, malicious skills, persistent prompt injection) require specific misconfigurations that are individually identifiable and fixable. Analysis of a publicly documented hardened configuration suggests that a properly hardened deployment resists takeover with high reliability. The mitigations are deterministic: container isolation, port binding, skill verification, and out-of-process policy enforcement. Claude (Anthropic's frontier model) adds an additional layer of probabilistic resistance through its Constitutional AI training — though this resistance is categorically insufficient as a sole control, it does measurably increase attacker cost.+}

### Executive Summary

{+**On data leaks:** Data leaks are not monolithic. We classify all data that could potentially flow through an agent into three tiers:+}

### Executive Summary

{+- **Tier 1 (Publicly Available):** Marketing materials, published documentation, open-source code snippets. Leakage has no consequence — this is already public. - **Tier 2 (Contextually Harmless):** Code fragments without deployment context, generic email drafts, internal process documentation that is not competitively sensitive. Leakage is generally harmless; no individual or organization is identifiably harmed. - **Tier 3 (Genuinely Harmful):** Credentials, client PII, financial records, M&A communications, trade secrets, insider information. Leakage causes real, attributable harm and creates regulatory and legal liability.+}

### Executive Summary

{+**Only Tier 3 data requires deterministic protection.** The security architecture should be proportionate to data sensitivity, not uniformly maximal.+}

### Executive Summary

{+**On liability:** When Tier 3 data flows to an external LLM provider such as Anthropic, responsibility is distributed between the deploying organization and the provider, but not equally. Under GDPR, the deploying organization is the data controller; the LLM provider is a data processor. Controllers bear primary liability for regulatory purposes. However, contractual data processing agreements can shift certain obligations and create a basis for recovery from the processor in the event of provider-side breach. Organizations without such agreements bear the full exposure. We analyze what recovery against a major LLM provider would realistically require.+}

### Executive Summary

{+**On enterprise security forks:** Both NemoClaw and DefenseClaw represent genuine engineering investments in agent security. NemoClaw's 5-layer architecture addresses several of AEGIS's own recommendations. DefenseClaw's runtime scanning fills gaps in static configuration. Both have documented weaknesses their own authors acknowledge. More importantly, the existence of these initiatives — from NVIDIA and Cisco, respectively — is evidence that OpenClaw is significant enough to be worth major vendors' security engineering resources. A platform nobody trusted wouldn't receive this attention.+}

### Executive Summary

{+**Minimum viable action for any deployment:** Bind the agent WebSocket port to localhost. Verify all installed skills against known sources. AppArmor or equivalent filesystem deny on credential files. Time: 20 minutes. This eliminates the highest-probability attack path before any additional work.+}

### 1. Introduction — The Security Crisis of Agentic AI

[-## 1. Introduction — The Security Crisis of Agentic AI-]

### 1. Introduction — Building an Immune System for AI Agents

{+## 1. Introduction — Building an Immune System for AI Agents+}

### 1.1 The Immune System Analogy

{+### 1.1 The Immune System Analogy+}

### 1.1 The Immune System Analogy

{+The human immune system is the most battle-tested multi-layer security architecture ever evolved. It does not rely on a single defense. The skin provides a physical barrier — deterministic, structural, independent of what threats exist. The innate immune system recognizes threat patterns and responds without knowing the specific pathogen. The adaptive immune system learns from encounters, builds antibodies, and improves its response over time. Crucially, these layers are independent: a pathogen that evades the skin still faces innate immunity; one that bypasses innate immune recognition still encounters the adaptive response. And the whole system must balance vigilance against autoimmune overreaction — security controls that trigger on everything catch nothing, because the signal drowns in noise.+}

### 1.1 The Immune System Analogy

{+AEGIS is the attempt to build an equivalent architecture for AI agents. The layers are independent: a threat that bypasses network controls faces process isolation; one that escapes process isolation faces filesystem restrictions; one that navigates permissions faces privacy routing that prevents sensitive data from leaving. Each layer operates on a different enforcement principle, making it impossible for a single attack to neutralize all of them simultaneously.+}

### 1.1 The Immune System Analogy

{+This analogy also captures the failure mode. A compromised immune system doesn't just fail to stop infections — it can attack the host. An agent whose behavioral controls are subverted doesn't just fail to protect data; it becomes an active tool for extraction. The self-modification threat — where a manipulated agent teaches itself to weaken its own security — is the agent equivalent of autoimmune disease.+}

### 1.2 The Safety-Capability-Autonomy Trilemma

### [-1.1-] {+1.2+} The Safety-Capability-Autonomy Trilemma

### 1.2 The Safety-Capability-Autonomy Trilemma

Before examining specific threats and controls, we introduce [-a-] {+the+} framing that [-will recur throughout-] {+governs every deployment decision in+} this paper. Given the current state of AI technology, agent deployments can reliably achieve at most two of three properties simultaneously:

### 1.2 The Safety-Capability-Autonomy Trilemma

- **Safety:** The agent cannot take harmful, policy-violating, or data-exfiltrating [-actions-] {+actions.+} - **Capability:** The agent can accomplish complex, multi-step tasks with minimal human [-intervention-] {+intervention.+} - **Autonomy:** The agent operates without human oversight of individual [-decisions-] {+decisions.+}

### 1.1 The Safety-Capability-Autonomy Trilemma

[-Every agent deployment implicitly sits somewhere in this trilemma space. Making that choice explicit — rather than pretending the trade-off doesn't exist — enables honest risk assessment and appropriate mitigation focus. We will map each deployment persona to a recommended trilemma position in §7.3.-]

### 1.2 The Safety-Capability-Autonomy Trilemma

{+Every agent deployment implicitly sits somewhere in this trilemma space. The security architecture should be designed explicitly for that position. A hobbyist running OpenClaw for personal productivity on isolated data can accept a different position than a consultant with client NDAs or a corporate employee with access to production infrastructure. Making that trade-off explicit — rather than pretending the trilemma doesn't exist — is the first step toward honest risk assessment. We map each deployment persona to a recommended trilemma position in §12.+}

### 1.3 An Unprecedented Deployment Velocity

### [-1.2-] {+1.3+} An Unprecedented Deployment Velocity

### 1.3 An Unprecedented Deployment Velocity

The history of software security is a history of deployment outpacing threat modeling. Web browsers arrived before cross-site scripting was [-understood.-] {+named.+} Mobile [-apps-] {+applications+} proliferated before app-store supply chain attacks were considered. Cloud infrastructure expanded before misconfiguration became a primary attack vector.

### 1.3 An Unprecedented Deployment Velocity

Autonomous AI agents [-repeat-] {+are repeating+} this pattern with one crucial difference: these systems *act*. They read files, send emails, execute code, call APIs, browse the web, {+manage schedules,+} and increasingly [-spin up-] {+coordinate+} other agents. The attack surface is not just data — it is action itself.

### 1.3 An Unprecedented Deployment Velocity

OpenClaw shipped its 1.0 release in August 2024. By December 2025, [-Shodan-] {+security scanning tools+} enumerated over 40,000 instances with public-facing [-WebSocket-] {+control+} ports. Enterprise surveys estimated that 23% of Fortune 500 companies had at least one unofficial OpenClaw deployment — agents {+running+} on employee [-laptops-] {+devices+} with corporate network access but no IT visibility. {+At GTC 2026,+} NVIDIA CEO Jensen [-Huang, launching NemoClaw at GTC 2026,-] {+Huang+} called the agent runtime paradigm "the most important software release ever," framing it as "the Windows 95 moment for agentic [-computing." The-] {+computing — an+} analogy [-is apt in ways perhaps unintended — early Windows shipped without meaningful network security, and it took a decade-] {+that also evokes the widespread security vulnerabilities+} of [-painful incidents before defense-in-depth became standard practice.-] {+that era."+}

### 1.3 An Unprecedented Deployment Velocity

{+The Windows 95 analogy is more apt than Huang may have intended. Early Windows shipped without meaningful network security. It took a decade of painful incidents — the Melissa worm, Code Red, Nimda, the Slammer outbreak — before defense-in-depth became standard enterprise practice. Agent security is in its Melissa-worm era: the attack surface is known, the incidents have begun, and most deployments lack even the most basic mitigations.+}

### 1.4 The Incident Record (2025–2026)

### [-1.3-] {+1.4+} The Incident [-Record-] {+Record (2025–2026)+}

### 1.4 The Incident Record (2025–2026)

The [-security-] incident record from [-2025–2026-] {+the first eighteen months of mass agent deployment+} illustrates the breadth of the attack [-surface:-] {+surface.+}

### 1.4 The Incident Record (2025–2026)

[-**CVE-2026-25253 (Zero-Click-] {+**CVE-2026-25253: Zero-Click+} WebSocket [-Hijack).**-] {+Hijack.**+} This critical-severity vulnerability affected OpenClaw instances exposing the [-WebSocket-] control port with default configuration. An attacker with network access could inject {+arbitrary+} tool calls into an active agent session via a crafted WebSocket handshake that bypassed origin validation — no authentication {+required, no user interaction+} required. Because [-OpenClaw defaulted to binding-] {+OpenClaw's default bound+} on [-`0.0.0.0`,-] {+all network interfaces,+} any network-reachable instance was vulnerable. {+Three weeks post-disclosure, 31,000 of the original 40,000 exposed instances remained unpatched.+} The [-patch required-] {+patch:+} a [-single-line config change, but Shadowserver scans three weeks post-disclosure still found 31,000 unpatched instances.-] {+single configuration change binding the port to localhost.+}

### 1.4 The Incident Record (2025–2026)

{+**CVE-2026-GHSA-hf68 (Privilege Escalation):** A critical-severity vulnerability in OpenClaw's subagent spawning mechanism allowed a subagent to claim the permission scope of its parent by replaying the initial pairing token on reconnect. The root cause — scope validation only at initial pairing, not on reconnect — is emblematic of a broader pattern: trust validated at session start can be claimed by anything that knows the session identifier. Fix requires upgrading to 2026.3.23 or later.+}

### 1.4 The Incident Record (2025–2026)

**Cisco Talos: [-Malicious Skills-] Supply Chain [-Attack.**-] {+Attack via Malicious Skills.**+} In October 2025, Cisco Talos documented a campaign distributing seventeen malicious OpenClaw skills via the community registry. Skills mimicking legitimate utilities silently exfiltrated [-`~/.env`, `~/.ssh/`,-] {+environment files, SSH keys,+} and [-`~/.config/`-] {+configuration directories+} to attacker infrastructure using obfuscated JavaScript with delayed [-execution. Skills run within the agent process with the agent user's full filesystem permissions — no sandbox prevented this access.-] {+execution timers to evade behavioral detection.+} Approximately 8,000 installs were [-confirmed.-] {+confirmed before the campaign was stopped.+}

### 1.4 The Incident Record (2025–2026)

{+**The ClawHavoc Campaign.** By February 2026, the ClawHavoc campaign had distributed over 1,184 confirmed malicious skills through community channels. This included skills using steganographic encoding (StegaBin) to embed command-and-control instructions in apparent image files. The scale demonstrates that malicious skill distribution is not an isolated incident but an ongoing, evolving threat.+}

### 1.4 The Incident Record (2025–2026)

**The Inbox Zero Incident.** An AI safety researcher described an incident in which their agent, operating with email access for "inbox management," interpreted "clear out the old stuff" as authorization to permanently delete [-~6,500-] {+approximately 6,500+} emails spanning six months. No confirmation {+was+} requested. Emails {+were+} unrecoverable. [-The-] {+This+} incident [-became a widely-cited example of-] {+— widely cited in the agent community — illustrates+} the gap between probabilistic behavioral guardrails {+("the agent should ask before deleting")+} and deterministic action [-constraints.-] {+constraints ("the agent cannot delete without a human confirmation gate").+}

### 1.4 The Incident Record (2025–2026)

[-**Meta-] {+**The Meta+} Enterprise Ban.** Meta's security team prohibited OpenClaw on company-managed devices in January 2026, citing uncontrolled network egress, inability to audit data sent to external LLM APIs, and prompt injection risks. JPMorgan Chase, Deutsche Bank, and the UK National Cyber Security Centre issued similar advisories.

### 1.4 Threat Model

[-### 1.4 Threat Model-]

### 1.4 Threat Model

[-Before enumerating security strategies, we establish a formal threat model using STRIDE categories adapted for agent-specific attack surfaces:-]

### 1.4 Threat Model

[-| STRIDE Category | Agent-Specific Manifestation | Example | |---|---|---| | **S**poofing | Impersonating the user to the agent, or the agent to external services | WebSocket hijack (CVE-2026-25253); agent sending emails as user | | **T**ampering | Modifying agent behavior, configuration, or tool outputs | Prompt injection via web content; malicious skill modifying SOUL.md | | **R**epudiation | Agent actions that cannot be attributed or audited | Unlogged API calls; ephemeral tool outputs with no audit trail | | **I**nformation Disclosure | Exfiltration of sensitive data through agent channels | Credential theft via malicious skill; PII in LLM API calls | | **D**enial of Service | Disrupting agent or host availability | Resource exhaustion via runaway agent process; cgroup escape | | **E**levation of Privilege | Agent gaining access beyond its intended scope | Self-modification of permission config; subagent privilege inheritance |-]

### 1.4 Threat Model

[-Additionally, we identify agent-specific threat categories not fully captured by STRIDE:-]

### 1.4 Threat Model

[-- **Delayed-action attacks:** Prompt injection plants a memory that triggers malicious behavior sessions later (temporal attack surface) - **Multi-agent trust exploitation:** Compromised parent agent spawning privileged child agents that inherit or escalate permissions - **Model-level compromise:** Poisoned fine-tunes or adversarial inputs that undermine all probabilistic controls simultaneously - **Approval fatigue exploitation:** High-frequency low-risk approvals training users to rubber-stamp high-risk ones-]

### 1.4 Threat Model

[-This threat model informs our taxonomy: we claim completeness against the STRIDE+agent categories above. Each of the eight strategy classes in §2 addresses one or more threat categories. The mapping is consolidated in Table 1 (§2.9).-]

### 1.4 The Incident Record (2025–2026)

{+These incidents collectively establish that the threat model is not theoretical. The attack surface is actively exploited. The question for IT contractors reviewing agent deployments is not "could this be a problem?" but "which specific problems apply to this specific deployment, and what mitigations are proportionate?"+}

### 1.5 Research Framing and Paper Structure

### 1.5 Research Framing and [-Claimed Contributions-] {+Paper Structure+}

### 1.5 Research Framing and Claimed Contributions

[-This paper makes four bounded contributions.-]

### 1.5 Research Framing and Claimed Contributions

[-1. **A control taxonomy for agent security.** We propose eight strategy classes spanning host, process, runtime, network, model-routing, and governance layers. 2. **A control-quality distinction.** We argue that the deterministic/probabilistic split is analytically useful because it distinguishes controls enforced outside the model from those that rely on model compliance. 3. **A persona-based risk method.** We map the taxonomy onto three concrete deployment contexts so the framework can guide configuration choices rather than remain purely abstract. 4. **A layered reference architecture.** We synthesize the taxonomy into AEGIS, a defense-in-depth pattern intended for practical deployment planning.-]

### 1.5 Research Framing and Claimed Contributions

[-The paper does **not** claim empirical proof that AEGIS outperforms competing architectures in the field. It instead claims that the framework is internally coherent, grounded in known incident classes, and useful for structured security review.-]

### 1.6 Threat Boundaries and Assumptions

[-### 1.6 Threat Boundaries and Assumptions-]

### 1.6 Threat Boundaries and Assumptions

[-Our analysis assumes: (a) a generally honest but fallible user, (b) an agent runtime with tool access and some degree of memory or state persistence, (c) networked operation, and (d) realistic adversaries ranging from opportunistic attackers to moderately capable targeted attackers. We do **not** assume nation-state attackers, hypervisor-level compromise, or malicious operating system vendors except where explicitly discussed as residual risks.-]

### 1.6 Threat Boundaries and Assumptions

[-We further assume that many real deployments are socio-technical systems rather than purely technical ones. Security outcomes depend not only on code and infrastructure, but also on approval UX, user attention, operational shortcuts, and organizational incentives. That assumption motivates our inclusion of approval fatigue, governance, and deployment personas alongside technical controls.-]

### 1.7 The Structure of This Paper

[-### 1.7 The Structure of This Paper-]

### 1.7 The Structure of This Paper

[-Section 2 presents the eight-class security strategy taxonomy and explains how the taxonomy was constructed. Section 3 profiles three deployment personas. Section 4 constructs risk matrices with justified scoring methodology. Section 5 analyzes NVIDIA's NemoClaw as a case study. Section 6 presents the AEGIS defense-in-depth architecture with a worked attack simulation. Section 7 provides per-persona recommendations and concluding analysis. Section 8 discusses limitations and future validation directions.-]

### 1.5 Research Framing and Paper Structure

{+This paper is addressed specifically to IT contractors and security-conscious practitioners who need to evaluate whether an agent deployment is appropriately secured. The paper's claims are bounded:+}

### 1.5 Research Framing and Paper Structure

{+1. We propose a threat taxonomy and data classification that enables proportionate risk assessment. 2. We analyze two major enterprise security frameworks (NemoClaw, DefenseClaw) with documented gaps. 3. We examine the liability implications of data flows to LLM providers in enough detail to inform contractual decisions. 4. We provide a layered defense architecture with per-persona configuration guidance.+}

### 1.5 Research Framing and Paper Structure

{+The paper does *not* claim empirical proof that any configuration eliminates all risk. It claims that the framework is coherent, grounded in documented incidents, and sufficient for practitioners to make defensible decisions.+}

### 1.5 Research Framing and Paper Structure

{+**Section 2** presents the two-class threat taxonomy. **Section 3** classifies data by sensitivity and analyzes liability implications. **Section 4** describes the eight security strategy classes. **Section 5** profiles four deployment personas. **Section 6** constructs risk matrices. **Sections 7 and 8** analyze NemoClaw and DefenseClaw respectively. **Section 9** analyzes business motivations. **Section 10** presents validation evidence. **Section 11** maps security threats to J-Series system components. **Section 12** presents the AEGIS defense-in-depth architecture. **Section 13** gives per-persona recommendations. **Sections 14–16** address limitations, related work, and references.+}

### 2. Security Strategy Taxonomy

[-## 2. Security Strategy Taxonomy-]

### 2. Security Strategy Taxonomy

[-We identify eight distinct classes of security strategy applicable to autonomous AI agents. Each is classified as **DETERMINISTIC** (enforced by OS, hardware, or a separate policy process the agent cannot influence) or **PROBABILISTIC** (dependent on the model following rules). The distinction is fundamental: a deterministic control that fails is a bug; a probabilistic control that fails is a design property.-]

### 2.0 Taxonomy Construction Method

[-### 2.0 Taxonomy Construction Method-]

### 2.0 Taxonomy Construction Method

[-The taxonomy was derived by clustering recurring control types observed across agent deployments, incident reports, security advisories, and adjacent security practice in operating systems, cloud workloads, and LLM application security. We used three inclusion criteria for a class to appear in the taxonomy:-]

### 2.0 Taxonomy Construction Method

[-- it must describe a **distinct enforcement locus** (for example, kernel, container boundary, runtime code, network edge, or model-routing layer); - it must be **operationally actionable** for at least one deployment persona in this paper; and - it must address one or more categories in the STRIDE+agent threat model introduced in §1.4.-]

### 2.0 Taxonomy Construction Method

[-This is a conceptual taxonomy, not a statistically induced one. The categories are therefore analytic conveniences rather than natural laws. Some concrete controls can span classes; for example, privacy routing is deterministic in routing enforcement but probabilistic in sensitivity classification. Where overlap exists, we classify by the dominant enforcement mechanism and state the ambiguity explicitly.-]

### 2.0 Taxonomy Construction Method

[-Effectiveness ratings use the following calibrated scale:-]

### 2.0 Taxonomy Construction Method

[-| Rating | Definition | |---|---| | 5/5 | No known bypasses in correctly configured deployment; bypass requires OS/hypervisor vulnerability | | 4/5 | Effective against all known attack classes; bypasses require configuration errors or novel exploits | | 3/5 | Effective against common attacks; known bypass classes exist but require moderate sophistication | | 2/5 | Effective in non-adversarial conditions; unreliable under targeted adversarial pressure | | 1/5 | Provides marginal signal; should not be counted as a security control |-]

### 2.1 OS-Level and Filesystem Controls

[-### 2.1 OS-Level and Filesystem Controls-]

### 2.1 OS-Level and Filesystem Controls

[-**Mechanism.** The most fundamental layer leverages the operating system's permission model: running the agent under a dedicated, low-privilege Unix user account rather than the user's own.-]

### 2.1 OS-Level and Filesystem Controls

[-```bash # Create restricted agent user sudo useradd -r -s /sbin/nologin openclaw-agent-]

### Deny agent access to sensitive paths chmod 700 ~/.ssh ~/.config/chromium find ~ -name ".env" -exec chmod 600 {} \; ```

[-# Deny agent access to sensitive paths chmod 700 ~/.ssh ~/.config/chromium find ~ -name ".env" -exec chmod 600 {} \; ```-]

### Deny agent access to sensitive paths chmod 700 ~/.ssh ~/.config/chromium find ~ -name ".env" -exec chmod 600 {} \; ```

[-Beyond basic permissions, mandatory access control (MAC) systems provide a more robust layer:-]

### Deny agent access to sensitive paths chmod 700 ~/.ssh ~/.config/chromium find ~ -name ".env" -exec chmod 600 {} \; ```

[-- **AppArmor** profiles restrict the agent process to defined file paths, preventing access regardless of what the agent's code attempts. - **SELinux** type enforcement provides finer-grained policy control for enterprise Linux environments. - **cgroups** resource limits prevent excessive memory, CPU, or network bandwidth consumption.-]

### 2. Threat Taxonomy — Two Fundamental Classes

{+## 2. Threat Taxonomy — Two Fundamental Classes+}

### 2. Threat Taxonomy — Two Fundamental Classes

{+The most important conceptual clarification in this revision is that "an AI agent security threat" is not a monolithic category. Threats differ fundamentally in their mechanism, consequence, and the strength of available mitigations. Conflating them leads to both over-insurance (treating harmless data leaks as catastrophes) and under-insurance (treating agent takeover as "just another misconfiguration").+}

### 2. Threat Taxonomy — Two Fundamental Classes

{+We propose a two-class primary taxonomy.+}

### 2.1 Class I — Full Agent Takeover

{+### 2.1 Class I — Full Agent Takeover+}

### 2.1 Class I — Full Agent Takeover

{+A Class I attack is one in which an adversary gains *control* of the agent — the ability to issue arbitrary commands, access arbitrary data, and perform arbitrary actions within the agent's operational scope. This is the maximum-severity scenario: the attacker effectively becomes the agent.+}

### 2.1 Class I — Full Agent Takeover

{+The consequences of a successful takeover are bounded only by what the agent is authorized to do. If the agent has email, filesystem, and API access, the attacker has email, filesystem, and API access. If the agent has production database credentials, the attacker has production database credentials. This is why the scope of agent authorization is a security parameter of the first order, not just an operational convenience question.+}

### 2.1 Class I — Full Agent Takeover

{+**2.1.1 Attack Vectors for Agent Takeover**+}

### 2.1 Class I — Full Agent Takeover

{+*Network exploitation (CVE-class)*: Direct exploitation of the agent's network-facing interface. CVE-2026-25253 is the canonical example: an unauthenticated WebSocket connection enabling arbitrary tool-call injection. This attack class requires no user interaction and no malicious content — just network access to an exposed control port.+}

### 2.1 Class I — Full Agent Takeover

{+**Mitigation:** Deterministic and complete. Binding the control port to localhost eliminates this attack class entirely for non-networked deployments. For network deployments (remote agent access), authentication-gated tunnels (Tailscale, Cloudflare Access) provide equivalent protection.+}

### 2.1 Class I — Full Agent Takeover

{+*Supply chain via malicious skills*: A skill installed by the user runs inside the agent process with the agent's full permissions. A malicious skill can read any file the agent can read, make any network call the agent can make, and execute any command the agent can execute. The Cisco Talos and ClawHavoc campaigns demonstrate this is an actively exploited vector.+}

### 2.1 Class I — Full Agent Takeover

{+**Mitigation:** Partially deterministic. Skill allowlisting (only named, hash-verified skills can load), container isolation (limits what a malicious skill can reach), and network egress control (limits what a malicious skill can exfiltrate) together reduce but do not eliminate this risk. Human review of skill provenance before installation is the most effective control.+}

### 2.1 Class I — Full Agent Takeover

{+*Persistent prompt injection via memory systems*: An adversarial payload embedded in external content (email, web page, document) causes the agent to perform a malicious action and — critically — store a "lesson" or memory entry that alters future behavior. This is a delayed-action attack: the injection in session N causes harm in session N+M. The memory storage layer (ENGRAM) is the attack surface.+}

### 2.1 Class I — Full Agent Takeover

{+**Mitigation:** Defense in depth required. No single control defeats this class. Relevant mitigations: input content tagging marking external content as untrusted, session-scoped memory with human-approved persistence gates, and audit logging of memory writes.+}

### 2.1 Class I — Full Agent Takeover

{+*Subagent privilege escalation*: A compromised child agent claims the permission scope of its parent through reconnect-token replay (CVE-2026-GHSA-hf68) or capability inheritance misconfiguration. This is particularly dangerous in multi-agent orchestration scenarios.+}

### 2.1 Class I — Full Agent Takeover

{+**Mitigation:** Architectural. Subagents should inherit the *intersection* of parent permissions and a pre-defined subagent profile — never the union. Scope validation must occur at every reconnect, not only at initial pairing.+}

### 2.1 Class I — Full Agent Takeover

{+**2.1.2 The Robustness Contribution of Claude and Frontier Models**+}

### 2.1 Class I — Full Agent Takeover

{+Frontier models with alignment training (e.g., Anthropic's Claude with Constitutional AI) make certain classes of social engineering attacks — attempts to convince the agent to override its own guidelines through roleplay, hypothetical framing, or authority claims — meaningfully harder than they would be with a less aligned base model. This is a probabilistic contribution, not a deterministic guarantee: the model's training creates a prior against compliance with certain instruction types, but determined adversaries have demonstrated bypass paths for all current alignment approaches.+}

### 2.1 Class I — Full Agent Takeover

{+The practical value of this contribution is attacker cost, not attack impossibility. An attacker targeting a Claude-based agent faces a model that will resist, require escalating justification, and may flag the interaction — compared to a smaller, less aligned model that follows instructions more literally. This resistance is meaningful defense-in-depth, and should be counted as such — as a probabilistic layer, not a deterministic one.+}

### 2.1 Class I — Full Agent Takeover

{+**2.1.3 Real-World Evidence: The Berman Penetration Test**+}

### 2.1 Class I — Full Agent Takeover

{+Matthew Berman, a prominent AI content creator with a well-documented OpenClaw deployment, hired a penetration tester in early 2026 to attempt a takeover of his production setup. The tester was unable to gain unauthorized access or control within the engagement scope.+}

### 2.1 Class I — Full Agent Takeover

{+We cannot evaluate the tester's full methodology or skill level from the public account. What we can do is analyze Berman's known configuration against the attack vectors listed above:+}

### 2.1 Class I — Full Agent Takeover

{+- *Cloudflare Tunnel:* No direct port exposure. CVE-class network exploitation requires first compromising Cloudflare's infrastructure — a dramatically elevated attack requirement. - *Localhost binding:* WebSocket port bound to localhost. CVE-2026-25253 does not apply. - *Tailscale mesh:* Outbound traffic constrained to Tailscale nodes. Untargeted exfiltration via arbitrary endpoints blocked. - *Manual skill vetting:* Only skills from known sources. Supply chain vector substantially reduced. - *Security council agent:* A separate agent reviews the production agent's codebase nightly against a security checklist. Anomaly detection layer.+}

### 2.1 Class I — Full Agent Takeover

{+Against this configuration, the attack vectors in §2.1.1 face the following barriers: network exploitation is blocked by tunnel architecture; supply chain requires compromising the vetting process; memory injection would be flagged by nightly audit. The result is consistent with the architecture but does not prove the architecture is complete.+}

### 2.1 Class I — Full Agent Takeover

{+The Berman test is evidence that a well-configured OpenClaw instance resists casual and moderate penetration testing. It is not evidence that such instances resist nation-state actors or novel zero-day exploitation. That distinction is important for calibrating confidence.+}

### 2.2 Class II — Data Leaks

{+### 2.2 Class II — Data Leaks+}

### 2.2 Class II — Data Leaks

{+A Class II attack, or an inadvertent Class II event, involves sensitive information flowing to an unauthorized recipient without the agent itself being compromised. The agent continues to function as intended; the problem is that certain data reached somewhere it should not.+}

### 2.2 Class II — Data Leaks

{+Class II events are an order of magnitude more common than Class I attacks. They include: sensitive data in LLM API payloads, contextual spillage in memory between sessions, exfiltration via prompt injection that is not a full takeover, and misconfigured egress that allows background data flows.+}

### 2.2 Class II — Data Leaks

{+**Crucially, not all Class II events are equal.** The information disclosed, not the disclosure mechanism, determines the consequence. A prompt injection that causes the agent to repeat a marketing slogan is not the same incident as one that causes it to email client credentials.+}

### 2.2 Class II — Data Leaks

{+---+}

### 3. Data Classification and the Liability Framework

{+## 3. Data Classification and the Liability Framework+}

### 3.1 Three-Tier Data Classification

{+### 3.1 Three-Tier Data Classification+}

### 3.1 Three-Tier Data Classification

{+We classify all data that an agent might encounter or process into three tiers based on consequence of unauthorized disclosure.+}

### 3.1 Three-Tier Data Classification

{+**Tier 1 — Publicly Available Data**+}

### 3.1 Three-Tier Data Classification

{+Data that is already in the public domain or that was never intended to be confidential. Examples:+}

### 3.1 Three-Tier Data Classification

{+- Published marketing materials, press releases, public documentation - Open-source code in public repositories - Published research papers and technical specifications - Generic procedural descriptions ("how to set up an SSH server") - Names and contact information from public professional profiles+}

### 3.1 Three-Tier Data Classification

{+*Consequence of unauthorized disclosure:* None. The information is already accessible to anyone. Leakage from an agent handling Tier 1 data is not a security incident — it is an irrelevant event.+}

### 3.1 Three-Tier Data Classification

{+*Liability:* Zero. No regulation protects information already public. No claimant can demonstrate harm from disclosure of publicly available information.+}

### 3.1 Three-Tier Data Classification

{+**Tier 2 — Contextually Harmless Data**+}

### 3.1 Three-Tier Data Classification

{+Data that is not public but whose disclosure causes no identifiable harm. The contextual qualifier is critical: the same data can be Tier 2 in one context and Tier 3 in another.+}

### 3.1 Three-Tier Data Classification

{+Examples of contextually harmless data: - Source code fragments without accompanying deployment credentials, infrastructure context, or security-relevant configuration - Internal process documentation that is not competitively sensitive ("how we format our meeting notes") - Generic email drafts with no named individuals or sensitive commitments - System logs without embedded credentials or PII - Internal meeting summaries on non-sensitive topics+}

### 3.1 Three-Tier Data Classification

{+*Consequence of unauthorized disclosure:* Minimal. No specific individual is harmed; no regulatory threshold is triggered; no competitive advantage is transferred.+}

### 3.1 Three-Tier Data Classification

{+*Liability:* Low but nonzero. Depending on contractual obligations, even harmless data might be covered by confidentiality provisions. However, proving damages in a lawsuit requires showing harm, and Tier 2 data typically cannot satisfy that requirement.+}

### 3.1 Three-Tier Data Classification

{+**Tier 3 — Genuinely Harmful Data**+}

### 3.1 Three-Tier Data Classification

{+Data whose unauthorized disclosure causes real, attributable harm to an identifiable person or organization. This tier requires the full AEGIS security apparatus.+}

### 3.1 Three-Tier Data Classification

{+Examples: - **Credentials and secrets:** API keys, passwords, private keys, session tokens, database connection strings. Direct mechanism for unauthorized access to systems and financial accounts. - **PII:** Names combined with identifying data (address, date of birth, national ID, financial identifiers). GDPR, CCPA, HIPAA, and equivalent regulations specifically protect this category. - **Client financial data:** P&L statements, projections, loan applications, investment portfolios. Disclosure may violate NDA obligations, GLBA, MiFID II, and general fiduciary duties. - **Privileged communications:** Legal advice, M&A deliberations, pre-announcement financial results, strategic planning. Disclosure triggers insider trading laws, attorney-client privilege issues, and NDA breach. - **Trade secrets:** Algorithms, designs, customer lists, pricing models, technical processes. Disclosure terminates the legal protection of the secret and may cause irreversible competitive harm. - **Health and biometric data:** Special-category data under GDPR Article 9, requiring explicit consent and heightened protection. - **Personnel data:** Salaries, performance reviews, disciplinary records. Employment law and privacy law converge on this category.+}

### 3.1 Three-Tier Data Classification

{+*Consequence of unauthorized disclosure:* Real, attributable harm. Regulatory enforcement, civil liability, criminal exposure depending on jurisdiction and category.+}

### 3.1 Three-Tier Data Classification

{+*Liability:* Significant and complex. The deploying organization bears primary responsibility; the LLM provider bears secondary responsibility subject to contractual terms. See §3.3–3.6 for the full liability analysis.+}

### 3.2 Security Investment Should Be Proportionate

{+### 3.2 Security Investment Should Be Proportionate+}

### 3.2 Security Investment Should Be Proportionate

{+The three-tier classification is a *prioritization framework*, not a blanket exemption. The practical implication is that deterministic security controls — containers, network egress restriction, privacy routing — should be designed around Tier 3 data specifically. An agent whose entire workspace contains only Tier 1 and Tier 2 data has a fundamentally different security requirement than one that processes credentials or client PII.+}

### 3.2 Security Investment Should Be Proportionate

{+This proportionality principle has a corollary: the single most effective security action for any deployment is **Tier 3 data segregation**. If Tier 3 data is not present in the agent's accessible environment, the consequence of any Class II event drops to minimal. The hardest mitigations become unnecessary when the target they protect is removed.+}

### 3.3 GDPR: Controller, Processor, and the Distribution of Liability

{+### 3.3 GDPR: Controller, Processor, and the Distribution of Liability+}

### 3.3 GDPR: Controller, Processor, and the Distribution of Liability

{+When an agent sends data to an external LLM provider — Anthropic's Claude API, OpenAI's GPT API, or any other — the GDPR framework assigns roles with specific legal consequences.+}

### 3.3 GDPR: Controller, Processor, and the Distribution of Liability

{+**The Data Controller** is the entity that determines the purposes and means of processing personal data. In any agent deployment, this is the deploying organization or individual. The person who decides "my agent will process client emails" is the controller. The controller bears primary GDPR obligations: lawful basis for processing (Article 6), data subject rights, breach notification (Article 33's 72-hour requirement), and fines under Article 83.+}

### 3.3 GDPR: Controller, Processor, and the Distribution of Liability

{+**The Data Processor** is an entity that processes personal data on behalf of the controller. The LLM provider — Anthropic, OpenAI, etc. — is a processor when handling API-submitted data. Under Article 28, controllers must have a **Data Processing Agreement (DPA)** with every processor before sending personal data. The DPA must specify: what data is processed, for what purpose, for how long, and what security measures the processor maintains.+}

### 3.3 GDPR: Controller, Processor, and the Distribution of Liability

{+**The liability split in practice:**+}

### 3.3 GDPR: Controller, Processor, and the Distribution of Liability

{+If an agent sends client PII to an LLM API:+}

### 3.3 GDPR: Controller, Processor, and the Distribution of Liability

{+1. *Without a DPA:* The controller (deploying organization) is in breach of GDPR Article 28. The processor has no formal obligations. All regulatory exposure falls on the controller. Fines up to €20M or 4% of global annual turnover. The controller cannot meaningfully blame the provider in regulatory proceedings because the controller never established the required contractual obligations.+}

### 3.3 GDPR: Controller, Processor, and the Distribution of Liability

{+2. *With a DPA:* The controller has met its Article 28 obligation. If the processor (LLM provider) then mishandles the data — trains on it contrary to the DPA, suffers a breach through negligence, or discloses data to third parties without authorization — the processor is liable to the controller under the DPA, and through the controller to the data subjects.+}

### 3.3 GDPR: Controller, Processor, and the Distribution of Liability

{+**What DPAs from major providers actually say:**+}

### 3.3 GDPR: Controller, Processor, and the Distribution of Liability

{+Anthropic makes a Data Processing Addendum available to API customers, which commits Anthropic to: not using API-submitted data to train models unless explicitly opted in, maintaining appropriate security measures, notifying customers of security incidents, and supporting GDPR data subject request workflows. OpenAI offers similar terms. These DPAs are the contractual foundation for allocating liability; without them, the deploying organization absorbs it entirely.+}

### 3.3 GDPR: Controller, Processor, and the Distribution of Liability

{+**Key practical implication for IT contractors:** If your organization deploys an agent that processes any client personal data and sends it to an external LLM API, you must have an executed DPA with that provider before deployment. This is not optional; it is a legal prerequisite under GDPR.+}

### 3.4 The Anthropic and OpenAI Terms of Service on Data Retention and Training

{+### 3.4 The Anthropic and OpenAI Terms of Service on Data Retention and Training+}

### 3.4 The Anthropic and OpenAI Terms of Service on Data Retention and Training

{+A common IT concern: "Does Anthropic use our data to train future models?" The answer from current ToS (as of April 2026):+}

### 3.4 The Anthropic and OpenAI Terms of Service on Data Retention and Training

{+Anthropic's API Terms of Service state that **input/output data from API calls is not used for model training by default**. Anthropic does use data from Claude.ai consumer product interactions for training unless users opt out — but this is distinct from the API product line, which is designed for business deployment. Organizations using the Claude API who have executed a DPA have additional contractual protection: the DPA explicitly prohibits training use.+}

### 3.4 The Anthropic and OpenAI Terms of Service on Data Retention and Training

{+**The residual concern:** Data submitted to LLM APIs does pass through Anthropic's (or OpenAI's) infrastructure. It is subject to their security practices, their threat surface, and their incident response capabilities — which, for multi-billion-dollar companies running production infrastructure, are substantial but not infinite. The question is not whether the risk is zero (it is not) but whether it is proportionate to the sensitivity of data sent and the alternatives available.+}

### 3.4 The Anthropic and OpenAI Terms of Service on Data Retention and Training

{+For Tier 3 data requiring the highest protection, the appropriate answer is **privacy routing**: Tier 3 data should not be sent to external APIs at all, but processed by locally-running models. This eliminates the third-party data-handling risk entirely for the most sensitive category.+}

### 3.5 Could You Recover Damages from Your LLM Provider?

{+### 3.5 Could You Recover Damages from Your LLM Provider?+}

### 3.5 Could You Recover Damages from Your LLM Provider?

{+This question comes up frequently in IT contractor discussions. The analysis is nuanced.+}

### 3.5 Could You Recover Damages from Your LLM Provider?

{+**Scenario 1: LLM provider suffers a data breach that exposes API call data**+}

### 3.5 Could You Recover Damages from Your LLM Provider?

{+If you have an executed DPA, and the provider's negligence caused the breach, you have a contractual basis for damages. In practice:+}

### 3.5 Could You Recover Damages from Your LLM Provider?

{+- LLM providers' DPAs contain liability caps — typically capped at fees paid in the preceding 12 months, or at a specified maximum. For small organizations paying modest API fees, this cap may be far lower than actual harm. - The DPA typically requires arbitration rather than jury trial, limiting discovery and public pressure. - Demonstrating that the provider's negligence (rather than a sophisticated nation-state attack or your own misconfiguration) caused the harm requires expert evidence. - GDPR Article 82 allows data subjects (individuals whose data was exposed) to sue controllers directly; controllers can seek contribution from processors in the same action.+}

### 3.5 Could You Recover Damages from Your LLM Provider?

{+**Scenario 2: Provider uses your API data for training contrary to DPA**+}

### 3.5 Could You Recover Damages from Your LLM Provider?

{+This is the higher-probability, lower-drama scenario. If you can demonstrate unauthorized training use, you have a DPA breach claim. Damages would require showing how the unauthorized training harmed you — which is difficult to quantify absent a specific downstream incident.+}

### 3.5 Could You Recover Damages from Your LLM Provider?

{+**Scenario 3: Provider's output harms a third party**+}

### 3.5 Could You Recover Damages from Your LLM Provider?

{+LLM providers' ToS specifically disclaim liability for model outputs. This is an area of active legal development; the law has not settled on when providers are liable for model-generated content. For now, deploying organizations bear responsibility for how they use and deploy model outputs.+}

### 3.5 Could You Recover Damages from Your LLM Provider?

{+**Practical conclusion for IT contractors:** Recovery from a major LLM provider is possible but challenging and typically limited by contractual liability caps. The DPA is a prerequisite for any recovery claim. The more realistic protective posture is to keep Tier 3 data out of external API calls entirely, thereby eliminating the exposure rather than planning to recover from it.+}

### 3.6 The Contractual Risk Transfer Playbook

{+### 3.6 The Contractual Risk Transfer Playbook+}

### 3.6 The Contractual Risk Transfer Playbook

{+For organizations determined to use external LLM APIs with data that may touch Tier 3:+}

### 3.6 The Contractual Risk Transfer Playbook

{+1. **Execute the provider's DPA before any deployment.** This is the contractual foundation for any subsequent claim. 2. **Negotiate liability caps if volume justifies it.** Enterprise API contracts sometimes allow negotiation of higher liability limits. 3. **Implement privacy routing.** Route requests containing detected PII, credentials, or sensitive data to local models. This limits external API exposure to Tier 1–2 data. 4. **Maintain detailed audit logs.** If harm occurs, you need evidence of what was sent to which provider, when, under what configuration. 5. **Review the provider's incident response procedures.** The DPA should specify breach notification timelines. Know what you will be told and when. 6. **Include AI deployment in your cyber insurance policy.** Many business cyber policies are now updating to cover AI-related data incidents. Verify your coverage explicitly.+}

### 3.7 Liability Summary Matrix

{+### 3.7 Liability Summary Matrix+}

### 3.7 Liability Summary Matrix

{+| Data Tier | Disclosure Consequence | Regulatory Risk | LLM Provider Liability (with DPA) | LLM Provider Liability (without DPA) | |-----------|----------------------|-----------------|-----------------------------------|---------------------------------------| | Tier 1 (Public) | None | None | None | None | | Tier 2 (Contextually Harmless) | Minimal | Minimal | Low | Low | | Tier 3 (Genuinely Harmful) — PII | GDPR enforcement | High | Processor liability under Art. 28 | None — full controller liability | | Tier 3 — Credentials | Financial loss + CFAA | High | Negligence claim under DPA | None — full controller liability | | Tier 3 — Trade Secrets | IP harm + NDA breach | Medium | Confidentiality breach claim | None — full controller liability | | Tier 3 — Insider Info | SEC/FCA investigation | Very High | DPA breach claim | None — full controller liability |+}

### 3.7 Liability Summary Matrix

{+---+}

### 4. Security Strategy Taxonomy — Eight Classes

{+## 4. Security Strategy Taxonomy — Eight Classes+}

### 4. Security Strategy Taxonomy — Eight Classes

{+We identify eight distinct classes of security strategy applicable to autonomous AI agents. Each is classified as **DETERMINISTIC** (enforced by OS, hardware, or a separate policy process the agent cannot influence) or **PROBABILISTIC** (dependent on the model following rules).+}

### 4. Security Strategy Taxonomy — Eight Classes

{+The distinction is fundamental. A deterministic control that fails is a bug. A probabilistic control that fails is a design property. The agent security field is filled with deployments that treat probabilistic controls as if they had deterministic reliability — system prompts as "guardrails," behavioral rules as "safety measures" — and then express surprise when adversarial pressure reveals the gap.+}

### 4.1 OS-Level and Filesystem Controls

{+### 4.1 OS-Level and Filesystem Controls+}

### 4.1 OS-Level and Filesystem Controls

{+**Mechanism.** Running the agent under a dedicated, low-privilege system account with explicit denial of access to sensitive filesystem paths. Mandatory access control (MAC) via AppArmor or SELinux enforces these restrictions at the kernel level — the agent's filesystem requests are intercepted and evaluated against policy before execution.+}

### 4.1 OS-Level and Filesystem Controls

{+**Language-Agnostic Description:**+}

### 4.1 OS-Level and Filesystem Controls

{+``` // Pseudocode: mandatory access control policy policy_for(agent_process) { DENY access_to [ credential_directories, // SSH, GPG, etc. secret_files, // .env, wallet seeds crypto_material // PKI, certificates ] ALLOW access_to [ agent_workspace_only ] LOG all_denied_attempts } ```+}

### 4.1 OS-Level and Filesystem Controls

{+The agent process cannot access denied paths regardless of model output. Bypass requires an OS-level vulnerability (kernel, not agent) or an incomplete policy list.+}

### 4.1 OS-Level and Filesystem Controls

**Primary Bypass Vectors:** Incomplete path coverage; privilege escalation via OS [-vulnerabilities;-] {+vulnerability;+} symlink attacks in agent-writable [-directories; data flowing through legitimately permitted paths.-] {+directories.+}

### 4.2 Process-Level Isolation

### [-2.2-] {+4.2+} Process-Level Isolation

### 4.2 Process-Level Isolation

**Mechanism.** [-Places-] {+Placing+} the agent in a separate execution context with a [-fundamentally-] different system [-view.-] {+view — containers, virtual machines, or capability manifests.+}

### 2.2 Process-Level Isolation

[-**Containers (Docker/Podman)** provide filesystem, network, and process namespace isolation. The agent sees only explicitly bind-mounted files:-]

### 2.2 Process-Level Isolation

[-```yaml services: agent: image: openclaw:latest volumes: - ./workspace:/workspace:rw network_mode: bridge read_only: true cap_drop: [ALL] security_opt: [no-new-privileges] ```-]

### 2.2 Process-Level Isolation

[-**Virtual Machines** provide the strongest isolation — the agent cannot escape without a hypervisor vulnerability. The cost is resource overhead and reduced host integration.-]

### 2.2 Process-Level Isolation

[-**NVIDIA OpenShell Sandboxing** implements a "browser tab model" for agent isolation (detailed in §5). Each session runs in an isolated context; a compromised session cannot access another's state.-]

### 2.2 Process-Level Isolation

[-**NanoClaw's Capability Manifest** enforces a strict signed YAML manifest at startup. Undeclared tools do not exist from the agent's perspective — not loaded, not callable, not discoverable.-]

### 4.2 Process-Level Isolation

{+Containers provide filesystem, network, and process namespace isolation. The agent sees only explicitly mounted directories. Virtual machines provide the strongest isolation at higher operational cost. A capability manifest restricts the tool set the agent can invoke: undeclared tools do not exist from the agent's perspective.+}

### 4.2 Process-Level Isolation

[-**Out-of-Process-] {+*Out-of-process+} vs. [-In-Process Policy Enforcement.**-] {+in-process policy enforcement* is a critical architectural distinction.+} Policy enforcement *within* the agent process can be circumvented by a compromised agent sharing its memory space. *Out-of-process* enforcement operates at the OS or network [-level,-] {+boundary,+} beyond the agent's influence. {+This distinction is the central architectural innovation in NemoClaw's+} OpenShell [-enforces out-of-process; most OpenClaw installations enforce in-process.-] {+(see §7).+}

### 4.2 Process-Level Isolation

**Classification:** DETERMINISTIC · **Effectiveness:** 5/5 (VM), 4/5 (container), 4/5 (capability [-manifest), 3/5 (in-process only)-] {+manifest)+}

### 4.2 Process-Level Isolation

**Primary Bypass Vectors:** Container escapes via kernel [-vulnerabilities (e.g., CVE-2024-21626);-] {+vulnerabilities;+} insecure bind [-mounts; unrestricted outbound network;-] {+mounts exposing sensitive host paths;+} capability manifest scope creep under operational pressure.

### 4.3 Programmatic and Deterministic Guardrails

### [-2.3-] {+4.3+} Programmatic and Deterministic Guardrails

### 2.3 Programmatic and Deterministic Guardrails

[-**Exec Allowlists** restrict shell commands to pre-approved patterns. **Wrapper scripts** route all system interactions through a validation layer. **Tool permission systems** distinguish sensitivity tiers with per-operation confirmation. **Elevated permission gates** require human approval before high-risk execution.-]

### 2.3 Programmatic and Deterministic Guardrails

[-```python ALLOWED_COMMANDS = frozenset(["git", "python3", "pip", "npm", "node"]) BLOCKED_PATTERNS = [r"curl\s+.*\|.*sh", r"rm\s+-rf"]-]

### 2.3 Programmatic and Deterministic Guardrails

[-def exec_tool(command: str) -> str: base_cmd = shlex.split(command)[0] if base_cmd not in ALLOWED_COMMANDS: raise PermissionError(f"Command '{base_cmd}' not in allowlist") for pattern in BLOCKED_PATTERNS: if re.search(pattern, command): raise PermissionError(f"Command matches blocked pattern") return subprocess.run(command, shell=False, capture_output=True) ```-]

### 4.3 Programmatic and Deterministic Guardrails

{+Tool permission tiers distinguish read-only, read-write, and privileged operations. Elevated permission gates require explicit human confirmation before irreversible actions. Command allowlists restrict execution to pre-approved operations. The approval mechanism itself is a security-critical component — see §4.3.1.+}

### 4.3 Programmatic and Deterministic Guardrails

{+``` // Pseudocode: tiered tool execution function execute_tool(tool_name, parameters) { tier = lookup_tool_tier(tool_name)+}

### 4.3 Programmatic and Deterministic Guardrails

{+if tier == PRIVILEGED { confirmation = request_human_confirmation( description = "Action: " + describe(tool_name, parameters), timeout = 30s, default = DENY ) if NOT confirmation.approved { ABORT } }+}

### 4.3 Programmatic and Deterministic Guardrails

{+if tool_name NOT IN approved_tools_manifest { DENY; LOG("tool not in manifest: " + tool_name) RETURN }+}

### 4.3 Programmatic and Deterministic Guardrails

{+execute(tool_name, parameters) } ```+}

### 2.3 Programmatic and Deterministic Guardrails

[-**Primary Bypass Vectors:** Allowlist gaps; chained commands (allowed `git` invoking hooks with arbitrary code); creative multi-step sequences through allowed primitives; approval fatigue (see §2.3.1).-]

### 4.3 Programmatic and Deterministic Guardrails

{+**Primary Bypass Vectors:** Allowlist gaps; chained commands invoking hooks (`git` runs pre/post hooks, `npm` runs package scripts, `python -c` chains `os.system()` or `importlib` to arbitrary execution); approval fatigue. **Strengthened mitigation:** When possible, restrict tool parameters rather than merely allowlisting tool names — e.g., restrict `git` to specific read-only subcommands with `--no-hooks` where available, use a minimal sandboxed interpreter rather than full Node.js for dynamic code execution. Tool-name allowlisting without parameter-level restrictions is weaker than it appears.+}

### 4.3 Programmatic and Deterministic Guardrails

[-#### 2.3.1-] {+**4.3.1+} The Approval Fatigue [-Problem-] {+Problem**+}

### 4.3 Programmatic and Deterministic Guardrails

Permission gates are only effective if users actually read what they approve. In practice, frequent low-risk approvals train users to rubber-stamp without [-reading,-] {+reading —+} creating a window for high-risk actions to pass unreviewed. [-This is arguably-] {+Security research calls this "automation bias":+} the [-most common real-world failure mode for human-in-the-loop controls.-] {+more a system has been reliable in the past, the less cognitive engagement users bring to each approval.+}

### 2.3.1 The Approval Fatigue Problem

[-Mitigations include:-]

### 2.3.1 The Approval Fatigue Problem

[-- **Progressive trust:** Auto-approve after N manual approvals of the same pattern, concentrating human attention on novel actions. - **Risk-weighted UX:** Visual differentiation — red/yellow/green severity indicators — ensures high-risk approvals demand attention even from habituated users. - **Time-delayed execution for irreversible actions:** A 30-second delay with a cancel window for destructive operations (file deletion, email send) catches rubber-stamped approvals. - **Batch approval with summary:** Instead of per-command approval, batch related operations with a summary of aggregate impact ("This will modify 47 files in ~/workspace").-]

### 4.3 Programmatic and Deterministic Guardrails

{+Mitigations: - *Risk-weighted UX:* Visual differentiation ensures high-risk approvals are visually distinct from routine ones. A delete action should look different from a read action. - *Time-delayed execution for irreversible actions:* A 30-second countdown with a cancel window for destructive operations intercepts rubber-stamped approvals. - *Batch summaries rather than per-action gates:* "This plan will modify 47 files and send 3 emails — approve?" concentrates attention and reduces individual-gate fatigue.+}

### 4.4 Network-Level Controls

### [-2.4-] {+4.4+} Network-Level Controls

### 2.4 Network-Level Controls

[-**Mechanism.** Controls what data can leave the host, independent of local agent permissions.-]

### 2.4 Network-Level Controls

[-**Tailscale/VPN isolation** restricts outbound connections to VPN nodes only. **Firewall rules** restrict by UID to specific destination IPs:-]

### 2.4 Network-Level Controls

[-```bash iptables -A OUTPUT -m owner --uid-owner openclaw-agent \ -d 13.33.0.0/16 -j ACCEPT iptables -A OUTPUT -m owner --uid-owner openclaw-agent -j DROP ```-]

### 2.4 Network-Level Controls

[-**Port binding restrictions** address CVE-2026-25253 directly — binding to `127.0.0.1` would have protected all 40,000 exposed instances. **DNS filtering** via Pi-hole or enterprise DNS proxies blocks known-malicious domain resolution.-]

### 4.4 Network-Level Controls

{+**Mechanism.** Controls what data can leave the host, independent of local agent permissions. Like a building's physical exit controls — even if someone has a badge to enter, separate controls govern what they can carry out.+}

### 4.4 Network-Level Controls

{+Port binding to localhost *eliminates direct remote network exposure* for the CVE-2026-25253 attack class, but does not fully neutralize local-origin attacks. Two important bypass vectors remain even with localhost binding:+}

### 4.4 Network-Level Controls

{+**DNS Rebinding:** An attacker tricks a browser on the same machine into visiting a malicious website whose DNS resolves to 127.0.0.1. The browser's same-origin policy is bypassed, allowing attacker-controlled scripts to send requests directly to the agent's localhost-bound WebSocket control port. The agent receives a request that appears local — technically accurate, but attacker-initiated.+}

### 4.4 Network-Level Controls

{+**SSRF (Server-Side Request Forgery):** If any co-located service is vulnerable to SSRF, an attacker can use it as a proxy to reach the agent's control port, again appearing as a local-origin request.+}

### 4.4 Network-Level Controls

{+**Higher-security recommendation:** For deployments where these local-origin bypass vectors are a concern, the agent's control port should require an authentication token or custom header even when bound to localhost. This ensures that even a request reaching the port from a local process must present a secret to be acted upon.+}

### 4.4 Network-Level Controls

{+Outbound firewall rules restricted to approved LLM API endpoints prevent arbitrary data exfiltration. Tailscale or equivalent VPN mesh constrains all traffic to authenticated nodes. DNS filtering blocks known-malicious domains.+}

### 4.4 Network-Level Controls

{+``` // Pseudocode: egress firewall policy policy_for(agent_process_uid) { ALLOW outbound_to [ approved_llm_api_endpoints, // Claude API, etc. specified_tool_endpoints // explicitly listed ] DENY all_other_outbound LOG all_denied_outbound_attempts } ```+}

### 4.4 Network-Level Controls

**Primary Bypass Vectors:** Data [-leakage via-] {+encoded in+} allowed API calls (sensitive data in LLM [-prompts);-] {+prompt payloads);+} DNS-over-HTTPS [-tunneling;-] {+tunneling bypassing DNS filtering;+} steganographic exfiltration; compromised [-Tailscale nodes.-] {+legitimate endpoint.+}

### 4.5 Prompt-Level and Probabilistic Controls

### [-2.5-] {+4.5+} Prompt-Level and Probabilistic Controls

### 4.5 Prompt-Level and Probabilistic Controls

**Mechanism.** [-The most widely deployed class of controls.-] Behavioral rules encoded in system prompts, memory files, or agent configuration, relying on the model to follow [-them.-] {+them. Input content tagging marks external data as untrusted. SOUL.md-style value encoding expresses the agent's operating principles.+}

### 2.5 Prompt-Level and Probabilistic Controls

[-This includes system prompt behavioral rules, SOUL.md-style value encoding, memory-injected context-sensitive rules, content tagging (wrapping untrusted content in XML tags), and base model alignment (RLHF, Constitutional AI).-]

### 4.5 Prompt-Level and Probabilistic Controls

{+These are the most widely deployed controls and the least reliable under adversarial pressure. They work in the absence of attack and fail under it.+}

### 4.5 Prompt-Level and Probabilistic Controls

{+**Important calibration:** This 2/5 rating reflects adversarial conditions. In non-adversarial operation — the majority of real-world agent use — probabilistic controls are fully effective. The correct mental model is: probabilistic controls are useful signal-level filters, not security boundaries. They reduce the probability of inadvertent boundary violations, but they are not the controls you count when an adversary is actively trying.+}

### 4.5 Prompt-Level and Probabilistic Controls

**Primary Bypass Vectors:** Prompt injection via external content; context window [-overflow diluting early instructions;-] {+overflow;+} role-play jailbreaks; [-model update behavioral drift;-] adversarial prompts [-causing the-] {+exploiting+} model [-to rationalize prohibited actions as compliant.-] {+reasoning tendencies.+}

### 2.5 Prompt-Level and Probabilistic Controls

[-**Important caveat:** The "most widely deployed" characterization is based on observed deployment patterns in the OpenClaw community (default installations rely primarily on system prompts for safety); we lack rigorous survey data to make this a statistical claim.-]

### 4.6 Privacy Routing

### [-2.6-] {+4.6+} Privacy Routing

### 2.6 Privacy Routing

[-**Mechanism.** Intelligent routing of requests to different models based on data sensitivity. The core insight: not all data is equally sensitive, and not all tasks require frontier model capability.-]

### 2.6 Privacy Routing

[-NemoClaw implements a policy-driven routing layer that directs requests containing sensitive data (PII, credentials, financial records) to locally-running models, while general reasoning tasks route to frontier APIs.-]

### 2.6 Privacy Routing

[-``` Agent Request → Privacy Router (Policy Engine) │ ┌─────────────┴──────────────┐ Sensitive? Not sensitive? ▼ ▼ Local Model (Llama 70B) Frontier Model (Claude/GPT) ```-]

### 2.6 Privacy Routing

[-Data classification uses regex patterns, path-based heuristics, and optional model-based classification.-]

### 4.6 Privacy Routing

{+**Mechanism.** Routing requests to different models based on data sensitivity. The core insight: not all data requires frontier model capability, and not all data should leave the local network. Like separating the paper mail room from the classified document room — same building, different handling rules.+}

### 4.6 Privacy Routing

{+``` // Pseudocode: privacy router policy engine function route_request(request, context) { sensitivity = classify_data_sensitivity(request, context)+}

### 4.6 Privacy Routing

{+if sensitivity == TIER_3 { route_to(LOCAL_MODEL) // Never leaves network } else if sensitivity == TIER_2 { route_to(TRUSTED_API) // Pre-approved list only } else { route_to(ANY_CAPABLE_MODEL) } } ```+}

### 2.6 Privacy Routing

[-**Effectiveness:** 3/5 — We downgrade from an initial assessment of 4/5 because regex-based PII detection has well-documented gaps with non-standard formats, multilingual data, and contextual sensitivity. False negative rates for production PII classifiers typically range 5–15% depending on data diversity. Classification accuracy is the binding constraint on this control's effectiveness.-]

### 4.6 Privacy Routing

{+**Effectiveness:** 3/5. **Critical limitation:** This rating is heavily dependent on the classifier's false negative rate — typically **5–15%** for PII detection in production environments depending on data format diversity. This means 5–15% of Tier 3 data that *should* be routed to local models *will not be*, because the classifier will fail to flag it. The control *reduces* Tier 3 external API exposure but does not eliminate it, making it an imperfect but valuable layer. Upgraded from prior version based on NemoClaw's implementation evidence.+}

### 4.6 Privacy Routing

**Primary Bypass Vectors:** Non-standard data formats evading classifiers; [-compromised local model; misconfiguration;-] {+misconfiguration sending more data to frontier models than policy intends;+} operational pressure to [-route more data to faster frontier models.-] {+disable local-model routing for speed.+}

### 4.7 Audit, Compliance, and Supply Chain Monitoring

### [-2.7-] {+4.7+} Audit, Compliance, and Supply Chain Monitoring

### 2.7 Audit, Compliance, and Supply Chain Monitoring

[-**Mechanism.** Visibility, detection, and response capabilities.-]

### 2.7 Audit, Compliance, and Supply Chain Monitoring

[-**Cron-based security scans** check for new skills, configuration changes, unexpected network connections, and vulnerable dependencies. **Supply chain monitoring** addresses skill provenance — the Cisco Talos incident demonstrated that verification matters. **CVE tracking** via `grype`, `trivy`, or `dependabot` provides early warning. **Communication auditing** logs outbound messages for review.-]

### 2.7.1 Extended Supply Chain Attack Surface

[-#### 2.7.1 Extended Supply Chain Attack Surface-]

### 2.7.1 Extended Supply Chain Attack Surface

[-The Cisco Talos skill attack represents one category of supply chain risk. The full attack surface includes:-]

### 2.7.1 Extended Supply Chain Attack Surface

[-- **Model weights:** Poisoned fine-tunes that introduce backdoor behaviors — a compromised model undermines *all* probabilistic controls simultaneously - **Runtime dependencies:** Malicious npm/pip packages in the agent's dependency tree - **Container base images:** Compromised or outdated base images with known vulnerabilities - **LLM API endpoints:** Man-in-the-middle or compromised API provider infrastructure - **Memory/context poisoning:** Injected memories or tool outputs that persist across sessions and influence future agent behavior (temporal attack vector)-]

### 2.7.1 Extended Supply Chain Attack Surface

[-Each requires a distinct mitigation: model hash verification, dependency lockfiles with audit, minimal base images with scanning, TLS certificate pinning, and memory integrity checks respectively.-]

### 4.7 Audit, Compliance, and Supply Chain Monitoring

{+**Mechanism.** Visibility, detection, and response capabilities. Like security cameras in a building — they don't prevent the intrusion, but they ensure it is detected and attributable.+}

### 4.7 Audit, Compliance, and Supply Chain Monitoring

{+Supply chain monitoring addresses skill provenance: every installed skill should be verified against a known-good hash before execution. Cron-based security scans check for new skills, configuration changes, unexpected network connections, and vulnerable dependencies. Communication audit logging records outbound agent messages for post-hoc review.+}

### 2.7.1 Extended Supply Chain Attack Surface

[-**Primary Bypass Vectors:** Audit mechanism tampering before malicious action; alert fatigue from false positives; detection gaps for novel attack vectors.-]

### 2.7.2 Incident Response

[-#### 2.7.2 Incident Response-]

### 2.7.2 Incident Response

[-Audit logging without incident response procedures is incomplete. For each attack category, organizations should document:-]

### 2.7.2 Incident Response

[-- **Containment:** Immediate isolation steps (kill agent process, revoke credentials, disconnect network) - **Eradication:** Root cause identification and remediation (remove malicious skill, patch vulnerability, rotate compromised keys) - **Recovery:** Service restoration and verification (rebuild from known-good state, verify integrity) - **Lessons learned:** Post-incident review updating AEGIS configuration-]

### 2.7.2 Incident Response

[-A minimal incident response checklist for agent deployments: 1. Kill the agent process immediately 2. Capture audit logs before they rotate 3. Identify the attack vector (skill, prompt injection, network exploit, behavioral) 4. Rotate all credentials the agent had access to 5. Review audit trail for data exfiltration indicators 6. Report per applicable regulatory obligations (GDPR 72-hour notification, etc.)-]

### 4.7 Audit, Compliance, and Supply Chain Monitoring

{+**Supply chain context:** The extended supply chain attack surface includes model weights (poisoned fine-tunes that introduce backdoor behaviors), runtime npm/pip dependencies, container base images, and LLM API infrastructure. Each requires a distinct mitigation. The Cisco Talos skill attack is one category; the broader risk encompasses the entire dependency chain.+}

### 4.8 Self-Modification Prevention

### [-2.8-] {+4.8+} Self-Modification Prevention

### 4.8 Self-Modification Prevention

**Mechanism.** Preventing the agent from modifying its own code, guardrails, configuration, or permission structures. An agent that can edit its own system prompt can disable all probabilistic [-controls.-] {+controls. An agent that can modify its capability manifest can expand its own tool access. An agent that can write to its own behavioral rules file is not constrained by those rules.+}

### 2.8 Self-Modification Prevention

[-```bash # Lock down agent configuration sudo chown root:root /path/to/SOUL.md AGENTS.md sudo chmod 444 /path/to/SOUL.md AGENTS.md ```-]

### 2.8 Self-Modification Prevention

[-Immutable container filesystems (`--read-only`) prevent writes to the container's own filesystem. Runtime integrity monitoring (AIDE, Falco) detects changes to critical files.-]

### 4.8 Self-Modification Prevention

{+``` // Pseudocode: configuration immutability enforcement at_agent_startup { make_immutable([ soul_configuration_file, capability_manifest, behavioral_rules, security_policy_files ])+}

### 4.8 Self-Modification Prevention

{+assert_owner_is_not(agent_process_user) assert_permissions_are_read_only_for(agent_process_user) } ```+}

### 4.8 Self-Modification Prevention

**Primary Bypass Vectors:** Agent running as [-file-] owner [-(can `chmod` own files);-] {+of configuration files;+} memory-resident modification of runtime-loaded config; social engineering the user [-to make-] {+into making+} changes [-("please add this rule to SOUL.md").-] {+on the agent's behalf.+}

### 4.8 Self-Modification Prevention

{+The self-modification risk is not purely adversarial. The CEREBELLUM self-improvement mechanism (which rewrites agent rules nightly based on operational lessons) is a feature that becomes a vulnerability if a malicious interaction injects a "lesson" that weakens security. The human-in-the-loop gate for Level 2+ self-modifications is a critical control.+}

### 4.9 Consolidated Attack Surface Map

### [-2.9-] {+4.9+} Consolidated Attack Surface Map

### 4.9 Consolidated Attack Surface Map

Table 1 maps each security strategy class to the STRIDE+agent threat categories it [-addresses:-] {+addresses.+}

### 4.9 Consolidated Attack Surface Map

| Strategy Class | [-S-] {+Spoofing+} | [-T-] {+Tampering+} | [-R-] {+Repudiation+} | [-I-] {+Info Disc.+} | [-D-] {+DoS+} | [-E-] {+Priv. Esc.+} | Delayed | Multi-Agent | Model-Level | [-Approval Fatigue-] {+|----------------|----------|-----------|-------------|------------|-----|------------|---------|-------------|-------------|+} | [-|---|---|---|---|---|---|---|---|---|---|---| | 2.1-] {+4.1+} Filesystem ACLs | · | · | · | ✓ | · | ✓ | · | · | · | [-·-] | [-| 2.2-] {+4.2+} Process Isolation | ✓ | ✓ | · | ✓ | ✓ | ✓ | · | ✓ | · | [-·-] | [-| 2.3-] {+4.3+} Programmatic Guards | ✓ | ✓ | · | ✓ | · | ✓ | · | · | · | [-△-] | [-| 2.4-] {+4.4+} Network Controls | · | · | · | ✓ | ✓ | · | · | · | · | [-·-] | [-| 2.5 Prompt-Level-] {+4.5 Prompt+} Rules | ✓ | △ | · | △ | · | △ | △ | △ | · | [-·-] | [-| 2.6-] {+4.6+} Privacy Routing | · | · | · | ✓ | · | · | · | · | · | [-·-] | [-| 2.7-] {+4.7+} Audit/Supply Chain | · | ✓ | ✓ | △ | · | · | ✓ | · | ✓ | [-·-] | [-| 2.8-] {+4.8+} Self-Mod Prevention | · | ✓ | · | · | · | ✓ | ✓ | · | · [-| ·-] |

### 4.9 Consolidated Attack Surface Map

**Notable gaps:** No single strategy class fully addresses model-level compromise or [-approval fatigue.-] {+multi-agent trust hierarchies.+} These require composite mitigations across multiple layers.

### 3. Three Persona Analysis

[-## 3. Three Persona Analysis-]

### 3. Three Persona Analysis

[-We construct three deployment personas representing distinct points on the risk-exposure spectrum.-]

### 5. Four Deployment Personas

{+## 5. Four Deployment Personas+}

### 5. Four Deployment Personas

{+We profile four distinct deployment personas representing points on the risk-exposure spectrum. Three are carried forward from AEGIS v1.1; a fourth persona — the SMB Operator — is added to fill the gap between solo professional and large-enterprise employee.+}

### 5.1 Persona A — The Tinkerer (Alex)

### [-3.1-] {+5.1+} Persona A — The [-Tinkerer-] {+Tinkerer (Alex)+}

### 5.1 Persona A — The Tinkerer (Alex)

**Profile.** Alex is a software developer running OpenClaw on a personal laptop for coding assistance, web research, and personal productivity. Installed from community repository with default [-configuration; technically-] {+configuration. Technically+} competent but no formal agent security [-review.-] {+review. Not running anything for clients or employers.+}

### 5.1 Persona A — The Tinkerer (Alex)

**Data [-Environment (highest-risk items highlighted):**-] {+Environment:**+} - [-**SSH keys** — access-] {+SSH keys+} to [-servers, GitHub, remote machines-] {+personal servers and GitHub+} - [-**API tokens**-] {+API tokens+} in [-`.env`-] {+environment+} files [-— AWS,-] {+(AWS,+} GitHub PATs, Stripe keys {+for side projects)+} - [-**Crypto-] {+Cryptocurrency+} wallet [-seed**-] {+seed+} (~$15,000 in ETH) — [-**irreversible-] {+*irreversible+} loss if [-exfiltrated**-] {+exfiltrated*+} - [-**Browser credentials** — years-] {+Browser-saved credentials (years+} of [-saved passwords-] {+password history)+} - Personal photos, [-email access,-] side-project source code, [-finance data-] {+email access+}

### 5.1 Persona A — The Tinkerer (Alex)

**Risk Profile.** No security hardening. Agent runs under personal user account. WebSocket on [-`0.0.0.0`. Three unverified-] {+all interfaces. Two-to-three+} community [-skills.-] {+skills installed without verification.+}

### 5.1 Persona A — The Tinkerer (Alex)

{+**Trilemma Position (current):** High Capability + High Autonomy + Low Safety. **Recommended Trilemma Position:** High Capability + High Autonomy + Moderate Safety (deterministic controls on credential files only — enough to prevent the catastrophic scenarios without reducing capability).+}

### 5.1 Persona A — The Tinkerer (Alex)

**Most severe consequence:** Crypto wallet seed exfiltration {+via malicious skill or network exposure+} — immediate, irreversible financial loss.

### 5.1 Persona A — The Tinkerer (Alex)

{+**Regulatory exposure:** Minimal personal. Self-harm only.+}

### 5.2 Persona B — The Freelancer (Blake)

### [-3.2-] {+5.2+} Persona B — The [-Freelancer-] {+Freelancer (Blake)+}

### 5.2 Persona B — The Freelancer (Blake)

**Profile.** Blake is a self-employed business consultant handling financial and operational strategy for SMEs. Uses OpenClaw for client research, document drafting, {+contract management,+} and [-contract-] {+inbox+} management. [-General-] {+Has a 1Password setup and general+} cybersecurity awareness but no [-agent-specific-] {+OpenClaw-specific+} risk [-assessment.-] {+assessment. Currently handling 12 active client relationships.+}

### 5.2 Persona B — The Freelancer (Blake)

**Data [-Environment (highest-risk items highlighted):**-] {+Environment:**+} - [-**Client-] {+Client+} NDAs and [-contracts** —-] {+contracts with+} confidentiality [-clauses covering business strategies-] {+obligations+} - [-**Client-] {+Client+} financial [-data** —-] {+data:+} P&L statements, [-projections for 12 active clients-] {+projections, bank details+} - [-**Privileged-] {+Privileged+} client [-communications** — **pre-announcement-] {+communications: *pre-announcement+} financials, {+planned redundancies,+} M&A [-activity, planned redundancies**-] {+activity*+} - [-**PII-] {+PII+} of client [-individuals** — names, addresses, financial identifiers-] {+individuals and employees+} - [-Invoices with bank details,-] {+Personal invoices,+} tax records, [-competitive intelligence-] {+bank account details+}

### 5.2 Persona B — The Freelancer (Blake)

**Risk Profile.** Uses [-1Password and 2FA-] {+credential manager,+} but no OpenClaw-specific hardening. Agent has [-email, document,-] {+access to entire email inbox, documents folder,+} and web [-browsing access.-] {+browsing.+}

### 5.2 Persona B — The Freelancer (Blake)

{+**Trilemma Position (current):** High Capability + High Autonomy + Low Safety. **Recommended Trilemma Position:** High Capability + Moderate Autonomy (human gate on external communications) + High Safety (deterministic controls on all client data directories).+}

### 5.2 Persona B — The Freelancer (Blake)

**Most severe consequence:** [-Combined-] {+Privileged client communication leaked via prompt injection —+} NDA breach liability [-+-] {+combined with+} GDPR [-fines — multiple-] {+regulatory action, generating+} simultaneous [-lawsuits-] {+civil+} and regulatory proceedings.

### 3.2.1 Regulatory Mapping — Persona B

[-#### 3.2.1 Regulatory Mapping — Persona B-]

### 3.2.1 Regulatory Mapping — Persona B

[-| Regulation | Applicability | Key Articles | Agent-Specific Risk | |---|---|---|---| | **GDPR** | If handling EU resident data | Art. 5 (purpose limitation), Art. 6 (lawful basis), Art. 28 (processor obligations), Art. 32 (security of processing), Art. 33 (72-hr breach notification) | The agent is likely a "processor" under Art. 28 — Blake as "controller" must ensure adequate security measures. Sending client PII to an external LLM API without a Data Processing Agreement may violate Art. 28. | | **Art. 22 GDPR** | If agent makes decisions affecting individuals | Art. 22 (automated individual decision-making) | If the agent autonomously categorizes or prioritizes client information that affects business decisions, Art. 22 may apply, requiring human oversight. | | **ePrivacy** | Client email communications | Art. 5 (confidentiality of communications) | Agent reading client emails for "inbox management" may constitute processing of communication content. |-]

### 3.3 Persona C — The Corporate Employee

[-### 3.3 Persona C — The Corporate Employee-]

### 3.3 Persona C — The Corporate Employee

[-**Profile.** Cameron is a senior IT infrastructure engineer at a 5,000-person financial services firm. Installed an unofficial OpenClaw fork on a company MacBook for documentation and incident response. Not approved by IT security. Broad filesystem and network access "because it's more useful that way."-]

### 3.3 Persona C — The Corporate Employee

[-**Data Environment (highest-risk items highlighted):** - **Production DB credentials** — access to 2M customer records — **regulatory catastrophe if breached** - **M&A communications** — **insider trading liability regardless of personal profit** - **Trading algorithm IP** — core competitive advantage worth potentially hundreds of millions - Salary data (5,000 employees), SOX audit workpapers, IT admin credentials, infrastructure diagrams-]

### 3.3 Persona C — The Corporate Employee

[-**Risk Profile.** High personal technical skill but operating outside corporate governance. Agent runs with Cameron's domain credentials. Corporate DLP does not monitor AI agent API calls.-]

### 3.3 Persona C — The Corporate Employee

[-**Most severe consequence:** Regulatory catastrophe spanning GDPR, GLBA, SEC, and SOX — corporate-scale liability with personal criminal exposure.-]

### 3.3.1 Regulatory Mapping — Persona C

[-#### 3.3.1 Regulatory Mapping — Persona C-]

### 3.3.1 Regulatory Mapping — Persona C

[-| Regulation | Specific Violation Risk | Potential Consequence | |---|---|---| | **GDPR** (Art. 32, 33) | Inadequate security for 2M customer records; failure to notify within 72 hours | Fines up to €20M or 4% global turnover | | **SOX** (§302, §404) | Agent accessing audit workpapers identifying control deficiencies; unauthorized disclosure | Personal CEO/CFO certification liability; SEC enforcement | | **GLBA** (Safeguards Rule) | Customer financial data accessible to unsanctioned tool | Regulatory enforcement by OCC/FDIC | | **SEC** (Reg FD, insider trading) | M&A information in unsecured agent session | Investigation regardless of personal profit; firm-level liability | | **Computer Fraud & Abuse Act** | Unauthorized access to systems via agent exceeding intended scope | Personal criminal liability for Cameron |-]

### 3.4 Multi-Agent Trust and User Authentication

[-### 3.4 Multi-Agent Trust and User Authentication-]

### 3.4 Multi-Agent Trust and User Authentication

[-Two cross-cutting concerns apply to all personas:-]

### 3.4 Multi-Agent Trust and User Authentication

[-**Multi-agent trust hierarchies.** Modern deployments involve agents spawning subagents. Key questions the security architecture must answer: - Can a subagent inherit the parent's permissions? (Default in most runtimes: yes — dangerously) - Can a compromised parent escalate privilege through a child? (If the child has a broader tool manifest: yes) - What is the equivalent of `sudo` in agent hierarchies? (Currently: nothing — there is no privilege boundary between parent and child)-]

### 3.4 Multi-Agent Trust and User Authentication

[-Recommended mitigation: subagents should inherit the *intersection* of parent permissions and a pre-defined subagent profile, never the union. Every subagent spawn should be logged with the spawning context.-]

### 3.4 Multi-Agent Trust and User Authentication

[-**User authentication.** The paper's threat model assumes the user issuing commands is legitimate. In shared environments (family laptops, team workstations), agents should verify command origin. Mitigations include session tokens, biometric confirmation gates for high-risk actions, and separate agent profiles per user.-]

### 5.2 Persona B — The Freelancer (Blake)

{+**Regulatory exposure:**+}

### 5.2 Persona B — The Freelancer (Blake)

{+| Regulation | Key Provisions | Agent-Specific Risk | |-----------|---------------|---------------------| | GDPR | Art. 28 (processor DPA), Art. 32 (security of processing), Art. 33 (72-hr breach notification) | Blake as controller must have DPA with LLM provider before sending client PII | | ePrivacy | Art. 5 (confidentiality of communications) | Agent reading client emails may constitute processing of protected communications | | Contract law | Client NDA confidentiality clauses | Any unauthorized disclosure is a breach regardless of how it occurred |+}

### 5.3 Persona C — The SMB Operator (Dana) — *New*

{+### 5.3 Persona C — The SMB Operator (Dana) — *New*+}

### 5.3 Persona C — The SMB Operator (Dana) — *New*

{+**Profile.** Dana is the IT Manager and part-time operations director at a 25-person design and branding agency. Dana deployed OpenClaw for the office after seeing it demonstrated at a conference — initially for personal productivity, then gradually expanded to assist the team with client briefings, creative briefs, invoice generation, and vendor communications. There is no dedicated IT security function; Dana *is* the IT function.+}

### 5.3 Persona C — The SMB Operator (Dana) — *New*

{+**Data Environment:** - **Payroll data:** 25 employee salaries, bank details, tax records — *employment law obligations in every jurisdiction* - **Client creative briefs:** Unreleased brand strategies for 30+ clients, some with competitive sensitivity - **Vendor contracts and pricing:** Pricing agreements, supplier relationships - **Financial records:** 3 years of P&L, bank statements, tax filings - **Team communications:** Internal Slack archive exported for agent context+}

### 5.3 Persona C — The SMB Operator (Dana) — *New*

{+**Risk Profile.** Agent deployed informally; no formal security review. Staff know the agent exists but haven't been trained on how to interact with it securely. Several team members have sent creative briefs to the agent for "summarization" — these briefs now exist in the agent's memory.+}

### 5.3 Persona C — The SMB Operator (Dana) — *New*

{+**Trilemma Position (current):** High Capability + High Autonomy + Low Safety. **Recommended Trilemma Position:** Moderate Capability + Moderate Autonomy + High Safety. The SMB context requires genuine security because real third-party data (employee and client data) is at stake, but lacks enterprise resources. The solution is scope reduction: the agent should have access to task-specific workspaces, not the whole organizational data store.+}

### 5.3 Persona C — The SMB Operator (Dana) — *New*

{+**Most severe consequence:** Employee payroll data leaked via malicious skill exfiltration — employment law breach, GDPR fines (employees are data subjects with full rights), and reputational harm sufficient to drive staff attrition.+}

### 5.3 Persona C — The SMB Operator (Dana) — *New*

{+**Regulatory exposure:**+}

### 5.3 Persona C — The SMB Operator (Dana) — *New*

{+| Regulation | Applicability | Key Risk | |-----------|--------------|----------| | GDPR | Employee data, client individual data | No DPA with LLM provider, no formal data inventory | | Employment law | Payroll and HR data | Employees have rights over their data; breach requires notification | | Contract law | Client confidentiality | Creative briefs often covered by implicit or explicit confidentiality | | Tax regulation | Financial records | Unauthorized access to tax records creates audit exposure |+}

### 5.3 Persona C — The SMB Operator (Dana) — *New*

{+**This persona is critically underrepresented in IT security discourse.** SMB operators lack the resources to implement enterprise controls but operate with data that carries enterprise-level regulatory obligations. The AEGIS framework's Standard Configuration (§12) is specifically designed to be achievable at the SMB level.+}

### 5.4 Persona D — The Corporate Employee (Cameron)

{+### 5.4 Persona D — The Corporate Employee (Cameron)+}

### 5.4 Persona D — The Corporate Employee (Cameron)

{+**Profile.** Cameron is a senior IT infrastructure engineer at a 5,000-person financial services firm. Installed an unofficial OpenClaw fork on a company-managed device for documentation and incident response assistance. Not approved by IT security. Has broad filesystem and network access by nature of the role.+}

### 5.4 Persona D — The Corporate Employee (Cameron)

{+**Data Environment:** - **Production database credentials** — access to 2 million customer records — *regulatory catastrophe if breached* - **M&A communications** — *insider trading liability regardless of personal profit* - **Trading algorithm IP** — core competitive advantage worth potentially hundreds of millions - Salary data for 5,000 employees - SOX audit workpapers identifying control deficiencies - IT administrator credentials and infrastructure documentation+}

### 5.4 Persona D — The Corporate Employee (Cameron)

{+**Risk Profile.** High personal technical skill but operating entirely outside corporate governance. Agent runs with Cameron's domain credentials. Corporate DLP does not monitor AI agent API calls. Agent was not in the penetration test scope. No incident response plan covers agent-originating events.+}

### 5.4 Persona D — The Corporate Employee (Cameron)

{+**Trilemma Position (current):** High Capability + High Autonomy + Very Low Safety. **Recommended Trilemma Position:** This configuration should not exist. See §12.4 for the recommended remediation path.+}

### 5.4 Persona D — The Corporate Employee (Cameron)

{+**Most severe consequence:** Production database credentials in a malicious skill's exfiltration payload — 2 million customer records exposed, triggering GDPR, GLBA, and SEC enforcement with potential personal criminal liability.+}

### 5.4 Persona D — The Corporate Employee (Cameron)

{+**Regulatory exposure:**+}

### 5.4 Persona D — The Corporate Employee (Cameron)

{+| Regulation | Specific Violation Risk | Potential Consequence | |-----------|------------------------|----------------------| | GDPR (Art. 32, 33) | Inadequate security for 2M customer records; failure to notify within 72 hours | Up to €20M or 4% global turnover | | SOX (§302, §404) | Agent accessing audit workpapers identifying control deficiencies | Personal CEO/CFO certification liability; SEC enforcement | | GLBA (Safeguards Rule) | Customer financial data accessible to unsanctioned tool | OCC/FDIC regulatory enforcement | | SEC (Reg FD, insider trading) | M&A information in unsecured agent session | Investigation regardless of personal profit | | Computer Fraud & Abuse Act | Agent exceeding authorized access scope | Personal criminal liability for Cameron |+}

### 4. Risk Matrix

[-## 4. Risk Matrix-]

### 6. Risk Matrices

{+## 6. Risk Matrices+}

### Scoring Methodology

[-Probability (P) and Severity (S) are rated 1–5, with Risk Score = P × S (maximum 25). The matrix is intended as a **decision-support heuristic**, not a claim to actuarial precision. It is designed to support prioritization conversations: what to harden first, what to remove from scope entirely, and where deterministic controls matter most.-]

### Scoring Methodology

[-**Probability calibration:** - P=1: No known instances; requires novel exploit chain - P=2: Theoretically possible; fewer than 5 documented instances globally - P=3: Documented instances exist; requires moderate attacker sophistication or specific misconfiguration - P=4: Commonly observed in public incident databases or security scans; low attacker sophistication required - P=5: Near-certain in default configurations; automated exploitation exists-]

### Scoring Methodology

[-**Severity calibration:** - S=1: Nuisance; no financial or reputational impact - S=2: Minor financial loss (<$500) or temporary inconvenience - S=3: Moderate financial loss ($500–$10,000) or recoverable reputational damage - S=4: Major financial loss ($10,000–$100,000) or significant professional/legal consequences - S=5: Catastrophic financial loss (>$100,000), irreversible damage, criminal liability, or regulatory enforcement-]

### Scoring Methodology

[-Scores are calibrated against: CVE-2026-25253 exploitation frequency (P=4 based on 40,000 exposed instances); Cisco Talos supply chain reach (P=3 based on 8,000 installs from 17 skills); and CVSS v4 severity alignment for impact ratings. We also apply two normalization rules: first, probability reflects the likelihood of a **successful exploit path under the stated persona configuration**, not merely the existence of a theoretical weakness; second, severity reflects the **maximum plausible business impact** of compromise of that asset class, even if the median incident would be less severe. This intentionally biases the matrices toward defensive conservatism.-]

### Scoring Methodology

{+Risk Score = Probability (P) × Severity (S), maximum 25. Probability reflects the likelihood of a *successful exploit path under the stated persona configuration*, not merely theoretical existence. Severity reflects *maximum plausible business impact* of compromise, biased toward conservative assessment.+}

### Scoring Methodology

{+| P/S | 1 | 2 | 3 | 4 | 5 | |-----|---|---|---|---|---| | **5** | 5 | 10 | 15 | 20 | 25 | | **4** | 4 | 8 | 12 | 16 | 20 | | **3** | 3 | 6 | 9 | 12 | 15 | | **2** | 2 | 4 | 6 | 8 | 10 | | **1** | 1 | 2 | 3 | 4 | 5 |+}

### Scoring Methodology

{+Scores ≥16 are **critical** — require immediate deterministic mitigation. Scores 9–15 are **significant** — require deterministic or strong probabilistic control. Scores <9 are **managed** — monitor and apply defense-in-depth.+}

### 6.1 Risk Matrix — Persona A (The Tinkerer)

### [-4.1-] {+6.1+} Risk Matrix — Persona A (The Tinkerer)

### 6.1 Risk Matrix — Persona A (The Tinkerer)

| Data Type | [-Leak-] {+Data Tier | Attack Class | Threat+} Vector | P | S | Score | [-Recommended-] {+Priority+} Mitigation | [-|---|---|---|---|---|---|-] {+|-----------|-----------|--------------|---------------|---|---|-------|---------------------|+} | Browser Credentials | {+Tier 3 | Class I |+} Network [-Exposure-] {+exploitation+} (CVE) | 4 | 4 | 16 | {+**CRITICAL**+} Port bind to [-127.0.0.1 (§2.4)-] {+localhost+} | | SSH Keys | {+Tier 3 | Class II |+} Filesystem [-Access-] {+access+} | 4 | 4 | 16 | {+**CRITICAL**+} AppArmor deny [-~/.ssh (§2.1)-] {+credential dirs+} | | Crypto Wallet Seed | {+Tier 3 | Class I | Malicious skill | 3 | 5 | 15 | Skill verification + container isolation | | Crypto Wallet Seed | Tier 3 | Class II |+} Filesystem [-Access-] {+access+} | 3 | 5 | 15 | AppArmor deny + [-encryption-] {+encrypt+} at rest [-(§2.1) | | Crypto Wallet Seed | Malicious Skill | 3 | 5 | 15 | Container isolation (§2.2), Skill vetting (§2.7) | | SSH Keys | Malicious Skill | 3 | 4 | 12 | Skill vetting (§2.7)-] | | API Tokens (.env) | {+Tier 3 | Class I |+} Malicious [-Skill-] {+skill+} | 4 | 3 | 12 | Filesystem [-ACL (§2.1)-] {+ACL; workspace scope+} | | API Tokens (.env) | {+Tier 3 | Class II |+} Prompt [-Injection-] {+injection+} | 3 | 3 | 9 | Content [-tagging (§2.5), Privacy-] {+tagging; privacy+} routing [-(§2.6) | | Personal Photos | Filesystem Access | 2 | 3 | 6 | Filesystem ACL (§2.1)-] | | Source Code [-(IP)-] {+| Tier 2 | Class II+} | Prompt [-Injection | 2 | 3 | 6 | Exec allowlist (§2.3) | | Browser History | Filesystem Access | 3 | 2 | 6 | Container (§2.2) | | Personal Email | Behavioral Ambiguity-] {+injection+} | 2 | 2 | 4 | [-Elevated permission-] {+Managed — exec allowlist | | Personal Email | Tier 2 | Class I | Behavioral ambiguity | 2 | 2 | 4 | Managed — elevated+} gate [-(§2.3)-] {+on email send+} |

### 4.1 Risk Matrix — Persona A (The Tinkerer)

[-**Highest-priority:** Browser credentials via CVE (16), SSH keys via filesystem (16), Crypto seed (15).-]

### 6.1 Risk Matrix — Persona A (The Tinkerer)

{+**Highest-priority:** Browser credentials via network exploitation (16) and SSH keys via filesystem access (16). Both are eliminated by sub-30-minute configuration changes.+}

### 6.2 Risk Matrix — Persona B (The Freelancer)

### [-4.2-] {+6.2+} Risk Matrix — Persona B (The Freelancer)

### 6.2 Risk Matrix — Persona B (The Freelancer)

| Data Type | [-Leak-] {+Data Tier | Attack Class | Threat+} Vector | P | S | Score | [-Recommended-] {+Priority+} Mitigation | [-|---|---|---|---|---|---|-] {+|-----------|-----------|--------------|---------------|---|---|-------|---------------------|+} | Privileged Client Comms | {+Tier 3 | Class II |+} Prompt [-Injection-] {+injection via email+} | 4 | 5 | 20 | [-Content tagging (§2.5),-] {+**CRITICAL**+} Email access [-restriction-] {+restriction; content tagging+} | | Client Financial Data | [-Model-] {+Tier 3 | Class II | LLM+} API [-Leakage-] {+payload+} | 3 | 5 | 15 | Privacy [-routing to-] {+routing: client dirs →+} local model [-(§2.6)-] | | Client [-Financial Data-] {+NDAs | Tier 3 | Class II+} | Memory [-Persistence-] {+persistence+} | 3 | 5 | 15 | [-Memory retention limits, Audit (§2.7)-] {+Session memory scope; memory write gates+} | | Client [-NDAs/Contracts-] {+PII+} | [-Prompt Injection-] {+Tier 3 | Class II | LLM API payload+} | 3 | 5 | 15 | Privacy [-routing (§2.6) | | PII (client individuals) | Network Exposure | 3 | 5 | 15 | Firewall egress (§2.4), Privacy routing (§2.6) | | Business Strategy Docs | Filesystem Access | 3 | 5 | 15 | Path-restricted workspace (§2.1, §2.2)-] {+routing; DPA with LLM provider+} | | Bank [-Account-] Details | {+Tier 3 | Class I |+} Malicious [-Skill-] {+skill+} | 3 | 5 | 15 | Skill [-vetting, Container (§2.2)-] {+vetting; container isolation+} | | [-Invoices/Bank Details-] {+Business Strategy+} | [-Malicious Skill-] {+Tier 3 | Class II | Filesystem access+} | 3 | 4 | 12 | [-Supply chain monitoring (§2.7) | | Competitive Intel | Prompt Injection | 3 | 4 | 12 | Content tagging, Read-only doc access-] {+Path-restricted workspace+} | | Tax Records | {+Tier 3 | Class II |+} Filesystem [-Access-] {+access+} | 2 | 4 | 8 | Filesystem ACL [-(§2.1)-] |

### 4.2 Risk Matrix — Persona B (The Freelancer)

[-**Highest-priority:** Privileged client communications via prompt injection (20). The highest-risk vector for Persona B is not a technical exploit but a behavioral one — prompt injection via client documents causing the agent to summarize or forward confidential information. This underscores why probabilistic controls alone are insufficient for this persona.-]

### 6.2 Risk Matrix — Persona B (The Freelancer)

{+**Highest-priority:** Privileged client communications via prompt injection (20) — the binding attack surface is the email inbox, which is a Tier 3 data source accessible via an external-input channel (attacker can send Blake a crafted email).+}

### 6.3 Risk Matrix — Persona C (The SMB Operator)

### [-4.3-] {+6.3+} Risk Matrix — Persona C (The [-Corporate Employee)-] {+SMB Operator)+}

### 6.3 Risk Matrix — Persona C (The SMB Operator)

{+| Data Type | Data Tier | Attack Class | Threat Vector | P | S | Score | Priority Mitigation | |-----------|-----------|--------------|---------------|---|---|-------|---------------------| | Employee Payroll/PII | Tier 3 | Class II | LLM API payload | 4 | 4 | 16 | **CRITICAL** Privacy routing; DPA execution | | Client Creative Briefs | Tier 3 | Class II | Memory persistence | 3 | 4 | 12 | Client workspace isolation; memory audit | | Financial Records | Tier 3 | Class I | Malicious skill | 3 | 4 | 12 | Skill vetting; container isolation | | Vendor Contracts | Tier 3 | Class II | Prompt injection | 3 | 3 | 9 | Content tagging; workspace scope | | Internal Communications | Tier 2 | Class II | LLM API payload | 4 | 2 | 8 | Managed — no regulatory trigger |+}

### 6.3 Risk Matrix — Persona C (The SMB Operator)

{+**Key observation for SMB Persona:** The primary risk is inadvertent rather than adversarial — employee payroll data flowing to external LLM APIs via normal operations. This is a Class II event without a "hacker" involved. The mitigation is operational (execute the DPA; configure privacy routing) rather than reactive.+}

### 6.4 Risk Matrix — Persona D (The Corporate Employee)

{+### 6.4 Risk Matrix — Persona D (The Corporate Employee)+}

### 6.4 Risk Matrix — Persona D (The Corporate Employee)

| Data Type | [-Leak-] {+Data Tier | Attack Class | Threat+} Vector | P | S | Score | [-Recommended-] {+Priority+} Mitigation | [-|---|---|---|---|---|---|-] {+|-----------|-----------|--------------|---------------|---|---|-------|---------------------|+} | Production DB Credentials | [-Filesystem Access-] {+Tier 3 | Class I | Malicious skill+} | 4 | 5 | 20 | [-**Emergency:** remove-] {+**EMERGENCY** Remove+} agent access | | M&A Communications | {+Tier 3 | Class II |+} Memory [-Persistence-] {+persistence+} | 4 | 5 | 20 | {+**EMERGENCY**+} No agent email access to privileged lists | | Customer PII [-(2M records)-] {+(2M)+} | [-Network Exposure-] {+Tier 3 | Class II | LLM API payload+} | 3 | 5 | 15 | Firewall + VPN isolation [-(§2.4) | | Customer PII | Malicious Skill | 3 | 5 | 15 | Skill manifest lockdown (§2.2, §2.3) | | Trading Algorithm IP | Prompt Injection | 3 | 5 | 15 | IP directory out-of-scope-] | | Salary Data {+(5,000 employees) | Tier 3 | Class II+} | Filesystem [-Access-] {+access+} | 4 | 4 | 16 | ACL deny HR network [-share (§2.1)-] {+shares | | Trading Algorithm IP | Tier 3 | Class II | Prompt injection | 3 | 5 | 15 | IP directory out of scope+} | | IT Credentials (AD) | {+Tier 3 | Class I |+} Malicious [-Skill-] {+skill+} | 3 | 5 | 15 | Credential manager isolation [-(§2.2) | | SOX Audit Workpapers | Filesystem Access | 3 | 5 | 15 | Filesystem ACL, Audit (§2.7) | | Infra Architecture Diagrams | Network Exposure | 4 | 4 | 16 | VPN isolation, Patch CVE | | Mergers/Layoffs Info | Behavioral Ambiguity | 3 | 5 | 15 | No access to relevant distribution lists-] |

### 4.3 Risk Matrix — Persona C (The Corporate Employee)

[-**Highest-priority:** Production DB credentials (20) and M&A communications (20) — both represent regulatory and criminal liability at corporate scale.-]

### 4.3 Risk Matrix — Persona C (The Corporate Employee)

[-**Critical:** Several scenarios here are not "misconfiguration" but "this configuration should not exist." An agent with access to production credentials and insider information requires policy-level intervention, not configuration hardening. The minimum action is **scope restriction** before any technical control.-]

### 6.4 Risk Matrix — Persona D (The Corporate Employee)

{+**Critical observation:** Several Persona D scenarios are not "misconfiguration issues" — they are "this configuration should not exist." Production database credentials and M&A information in an unsanctioned, unreviewed agent deployment represent institutional failures that no AEGIS layer can fully mitigate. The first action must be scope restriction, not hardening.+}

### 5. NemoClaw and OpenShell: A Case Study in Principled Architecture

[-## 5. NemoClaw and OpenShell: A Case Study in Principled Architecture-]

### 5.1 NVIDIA's Approach

[-### 5.1 NVIDIA's Approach-]

### 5.1 NVIDIA's Approach

[-NVIDIA's NemoClaw, announced at GTC 2026, represents the most systematically security-conscious commercial agent framework to date — a ground-up redesign around isolation and policy enforcement as first-class primitives. We examine it as a case study in how the principles identified in §2 can be architecturally integrated.-]

### 5.1 NVIDIA's Approach

[-**Important caveats:** NemoClaw has not yet seen wide production deployment, so its security claims remain largely unvalidated at scale. NVIDIA has a commercial interest in positioning NemoClaw as the "secure" alternative to open-source runtimes. The OpenShell architecture adds complexity that itself becomes attack surface — more code means more potential bugs. Our analysis is based on publicly available GTC 2026 materials and technical documentation.-]

### 5.2 OpenShell: Out-of-Process Policy Enforcement

[-### 5.2 OpenShell: Out-of-Process Policy Enforcement-]

### 5.2 OpenShell: Out-of-Process Policy Enforcement

[-The conventional approach to agent guardrails implements checks *within* the agent process. OpenClaw's in-process code checks command permissions before execution — effective absent attacks, but fundamentally weak: the constrained process also enforces the constraint. A manipulated agent may influence or bypass in-process checks.-]

### 5.2 OpenShell: Out-of-Process Policy Enforcement

[-OpenShell places the policy engine in a **separate, privileged process**. The agent calls a restricted system call interface; the OpenShell kernel intercepts, evaluates against policy, and permits or denies. The agent cannot access or modify its own policy. This is architecturally analogous to the Linux kernel's relationship with user-space processes.-]

### 5.3 The Browser Tab Model

[-### 5.3 The Browser Tab Model-]

### 5.3 The Browser Tab Model

[-OpenShell's isolation draws an explicit analogy to web browsers. Each agent session runs in an isolated context — separate memory space, separate origin context — analogous to Chrome's process-per-tab architecture. Cross-session communication occurs only through audited channels mediated by the OpenShell kernel.-]

### 5.3 The Browser Tab Model

[-Practical implications: a prompt-injected session cannot access parallel sessions' state; malicious skills in one session cannot observe others; session tokens cannot be replayed across contexts.-]

### 5.4 Privacy Router Architecture

[-### 5.4 Privacy Router Architecture-]

### 5.4 Privacy Router Architecture

[-NemoClaw implements three-tier data classification:-]

### 5.4 Privacy Router Architecture

[-- **Tier 1 (Local-Only):** PII, credentials, financial data → local models (Llama 3 via NVIDIA NIMs). No data leaves the network. - **Tier 2 (Trusted Third-Party):** Non-sensitive but capability-demanding → pre-approved API providers in a signed routing policy. - **Tier 3 (Public-OK):** Generic tasks → any available model.-]

### 5.4 Privacy Router Architecture

[-The routing decision is made by the OpenShell policy engine (out-of-process). The agent cannot override it.-]

### 5.5 Comparative Analysis

[-### 5.5 Comparative Analysis-]

### 5.5 Comparative Analysis

[-To avoid overstating the case study, we compare the two architectures along dimensions that matter for security review: policy separation, session isolation, data-routing enforcement, provenance guarantees, observability, operational burden, and failure modes. The point is not that NemoClaw is categorically superior. The point is that it makes several high-value security choices explicit at the architecture level rather than leaving them to individual operator discipline.-]

### 5.5 Comparative Analysis

[-| Dimension | TinkerClaw (OpenClaw Fork) | NemoClaw | |---|---|---| | Policy enforcement | In-process | Out-of-process (OpenShell) | | Session isolation | None (shared memory) | Browser tab model | | Privacy routing | Manual (if any) | Automatic, policy-driven | | Skill supply chain | Community registry (unverified) | Signed manifests, hash verification | | Self-modification prevention | User-configured | Mandatory, OpenShell-enforced | | Audit trail | Optional plugin | Mandatory, tamper-evident |-]

### 5.5 Comparative Analysis

[-**What TinkerClaw does well:** Flexible tool permissions, SOUL.md behavioral baseline, easily-fixed WebSocket configuration, skill installation control with discipline.-]

### 5.5 Comparative Analysis

[-**What NemoClaw adds worth adopting:** 1. Out-of-process policy enforcement — single most impactful architectural change 2. Automatic privacy routing — reduces inadvertent data exfiltration 3. Signed skill manifests — would have prevented the Cisco Talos incident 4. Session isolation — relevant for multi-session deployments-]

### 5.5 Comparative Analysis

[-**What NemoClaw does worse:** - **Complexity:** More moving parts = more potential bugs and operational overhead - **Vendor lock-in:** NVIDIA NIM dependency ties privacy routing to NVIDIA hardware - **Resource requirements:** Local model inference requires significant GPU investment - **Adoption barrier:** Full OpenShell kernel is too complex for hobbyist-to-SME audiences - **Unproven at scale:** Security claims lack production validation-]

### 5.6 Transferable Design Lessons

[-### 5.6 Transferable Design Lessons-]

### 5.6 Transferable Design Lessons

[-The most valuable lesson from NemoClaw is not any single product feature; it is the architectural principle that **security-critical policy should live outside the component being constrained whenever feasible**. Three transferable lessons follow:-]

### 5.6 Transferable Design Lessons

[-1. **Move trust boundaries outward.** If the agent can edit or reinterpret the rule, the rule is weak. 2. **Make sensitive defaults structural.** Privacy routing, manifest scope, and immutable configuration are more robust when they are startup requirements rather than optional runtime conventions. 3. **Design for audit from day one.** Logging retrofitted after deployment is nearly always incomplete; auditability is easiest when action mediation and logging share a common choke point.-]

### 5.6 Transferable Design Lessons

[-These lessons are applicable even in deployments that will never adopt NVIDIA's stack. A lightweight OpenClaw deployment can still emulate the principle through separate policy proxies, immutable manifests, host-level firewalls, and append-only audit logging.-]

### 7. NVIDIA NemoClaw — Full 5-Layer Architecture Analysis

{+## 7. NVIDIA NemoClaw — Full 5-Layer Architecture Analysis+}

### 7.1 Context and Caveats

{+### 7.1 Context and Caveats+}

### 7.1 Context and Caveats

{+NVIDIA NemoClaw, as of April 2026, is in **alpha** status. It has not reached wide production deployment. Its security claims are architecturally sound and well-engineered, but they have not been validated by independent security research at scale. NVIDIA has a commercial interest in positioning NemoClaw as the enterprise-grade alternative to open-source runtimes. Our analysis is based on NVIDIA's public GTC 2026 materials, the NemoClaw Security Architecture Reference Guide v1.0, and NVIDIA's developer documentation.+}

### 7.1 Context and Caveats

{+We analyze NemoClaw because it is the most systematically security-conscious agent framework in the market — and because its gaps are as instructive as its strengths.+}

### 7.2 The 5-Layer Security Stack

{+### 7.2 The 5-Layer Security Stack+}

### 7.2 The 5-Layer Security Stack

{+NemoClaw implements security across five architecturally distinct layers, each with its own enforcement mechanism.+}

### 7.2 The 5-Layer Security Stack

{+**Layer 1: Sandboxed Execution**+}

### 7.2 The 5-Layer Security Stack

{+Technology: Landlock LSM (Linux Security Module) + seccomp-BPF system call filtering + container namespace isolation.+}

### 7.2 The 5-Layer Security Stack

{+Landlock LSM provides fine-grained filesystem access control at the kernel level — the agent process can be restricted to specific filesystem paths without root privileges. seccomp-BPF filters the system calls the agent process is permitted to make, creating a whitelist at the kernel interface level. Container namespacing provides process, network, and mount namespace isolation.+}

### 7.2 The 5-Layer Security Stack

{+This is a sophisticated implementation of §4.2 (Process Isolation). The use of Landlock rather than traditional AppArmor or SELinux means the policy can be applied by the agent launcher without requiring system-level MAC configuration — lowering the deployment barrier while maintaining kernel-level enforcement.+}

### 7.2 The 5-Layer Security Stack

{+*Effectiveness:* Excellent for the threat classes it addresses (filesystem access, system call abuse). Does not address network-level data exfiltration or prompt injection attacks.+}

### 7.2 The 5-Layer Security Stack

{+**Layer 2: Network Egress Control**+}

### 7.2 The 5-Layer Security Stack

{+Technology: Allowlist-based firewall + DNS filtering + HTTPS traffic inspection.+}

### 7.2 The 5-Layer Security Stack

{+Every outbound network connection from the agent is evaluated against a signed policy defining permitted endpoints. DNS queries are intercepted and filtered against a blocklist of known-malicious domains. HTTPS inspection (TLS termination at the proxy layer) enables inspection of request content before it leaves the network perimeter.+}

### 7.2 The 5-Layer Security Stack

{+This is a robust implementation of §4.4 (Network Controls). The HTTPS inspection capability is particularly significant: it means the policy engine can evaluate the *content* of outbound requests, not just their destination — enabling the detection of credential patterns, PII, or sensitive data in LLM API payloads before transmission.+}

### 7.2 The 5-Layer Security Stack

{+*Effectiveness:* Strong for preventing uncontrolled egress. HTTPS inspection raises privacy and performance considerations (all LLM API calls are visible to the inspection layer) that organizations must evaluate.+}

### 7.2 The 5-Layer Security Stack

{+**Layer 3: Minimal-Privilege Access**+}

### 7.2 The 5-Layer Security Stack

{+Technology: Per-agent capability bitmask + role-based access control (RBAC) + explicit prohibition on subagent permission inheritance.+}

### 7.2 The 5-Layer Security Stack

{+Each agent instance is assigned a capability bitmask at startup: a signed declaration of exactly which tools, APIs, and data categories it may access. RBAC maps agent identities to permission sets in the same way enterprise systems map user identities to resource access. Critically, NemoClaw's RBAC explicitly prohibits capability inheritance to subagents by default — a child agent's permissions are bounded by its own bitmask, not by its parent's.+}

### 7.2 The 5-Layer Security Stack

{+This directly addresses the subagent privilege escalation attack vector (CVE-2026-GHSA-hf68 class). The architectural decision to make non-inheritance the default is the correct one: most multi-agent orchestration does not require the child to have all of the parent's capabilities, and making the safe choice the default prevents misconfiguration from creating vulnerabilities.+}

### 7.2 The 5-Layer Security Stack

{+*Effectiveness:* Strong for the subagent escalation class. The bitmask approach is more expressive than simple allowlists — but complexity in the bitmask definition process may lead to either overly permissive defaults or operational friction that drives operators to expand permissions.+}

### 7.2 The 5-Layer Security Stack

{+**Layer 4: Privacy Router**+}

### 7.2 The 5-Layer Security Stack

{+Technology: PII Named Entity Recognition (NER) model + field-level data redaction.+}

### 7.2 The 5-Layer Security Stack

{+The privacy router runs a purpose-built NER model over all request content before it is dispatched to an LLM. Detected PII fields are redacted before the request reaches any external API. High-sensitivity routing decisions (Tier 3 data → local model) are enforced by the out-of-process policy engine (OpenShell) rather than by the agent, making them bypass-resistant.+}

### 7.2 The 5-Layer Security Stack

{+The underlying model ships as **Nemotron 3 Nano 4B** — a small local inference model that can run on modest hardware and is fast enough to inline-process requests without unacceptable latency.+}

### 7.2 The 5-Layer Security Stack

{+*Effectiveness:* Good in principle; bounded by NER model accuracy. The 5–15% false negative rate for PII detection means a meaningful fraction of sensitive data will not be caught and redacted. This control reduces Tier 3 LLM API exposure; it does not eliminate it.+}

### 7.2 The 5-Layer Security Stack

{+**Layer 5: Intent Verification**+}

### 7.2 The 5-Layer Security Stack

{+Technology: Policy engine + action classifier.+}

### 7.2 The 5-Layer Security Stack

{+Before executing any high-impact action (file writes, network calls, process execution), NemoClaw evaluates the proposed action against an intent policy. The policy engine classifies the action's intent and evaluates whether it falls within the agent's declared purpose.+}

### 7.2 The 5-Layer Security Stack

{+This is the most conceptually ambitious layer — and, by NVIDIA's own documentation, the **weakest**.+}

### 7.3 Layer 5: The Admitted Weakness

{+### 7.3 Layer 5: The Admitted Weakness+}

### 7.3 Layer 5: The Admitted Weakness

{+NemoClaw's own technical documentation states explicitly: the Intent Verification layer evaluates *proposed actions*, not *returned data*. This creates a fundamental gap.+}

### 7.3 Layer 5: The Admitted Weakness

{+Consider the attack vector: a prompt injection in a web page causes the agent to decide to send an email containing sensitive data. From the intent classifier's perspective, "send an email" is within the agent's declared capabilities (it has email tool access). The action classifier evaluates whether email sending is authorized — it is. The policy engine does not have visibility into the content of what will be sent, because the intent classifier operates on action type rather than action content.+}

### 7.3 Layer 5: The Admitted Weakness

{+This gap means Layer 5 cannot detect: - Prompt injection attacks that use legitimate tool calls to exfiltrate data - Multi-step attacks where each individual action is authorized but the combination constitutes exfiltration - Attacks embedded in tool return values (malicious content in an API response that the agent then processes and acts on)+}

### 7.3 Layer 5: The Admitted Weakness

{+NVIDIA acknowledges this in their documentation: "The intent verification layer is designed to detect and block obviously out-of-scope actions. It is not designed to detect sophisticated indirect injection attacks that route malicious behavior through legitimate tool invocations."+}

### 7.3 Layer 5: The Admitted Weakness

{+This is an honest admission. It means Layer 5 catches opportunistic attacks — direct jailbreaks, obvious out-of-scope commands — but not sophisticated indirect injection. Layer 5 is a useful first-pass filter, not a comprehensive intent security control.+}

### 7.4 Architectural Strengths of NemoClaw

{+### 7.4 Architectural Strengths of NemoClaw+}

### 7.4 Architectural Strengths of NemoClaw

{+Despite the gaps, NemoClaw's architecture makes several high-value choices that the broader AEGIS community should emulate:+}

### 7.4 Architectural Strengths of NemoClaw

{+**Out-of-process enforcement via OpenShell.** This is the single most important architectural decision. OpenShell acts as a kernel-level policy broker: the agent calls a restricted interface, OpenShell evaluates the request against immutable policy, and permits or denies. The agent cannot influence or circumvent this decision. In-process guardrails, by contrast, share memory with the constrained process — a compromised agent could potentially influence them.+}

### 7.4 Architectural Strengths of NemoClaw

{+**Immutable runtime policy.** NemoClaw policies are YAML files modifiable only by operators with explicit credentials. The agent cannot modify its own policy, even if it could otherwise write arbitrary files. This directly addresses §4.8 (Self-Modification Prevention).+}

### 7.4 Architectural Strengths of NemoClaw

{+**Non-inheritance as default for subagent permissions.** The explicit prohibition on capability inheritance prevents the most common multi-agent privilege escalation path.+}

### 7.4 Architectural Strengths of NemoClaw

{+**Local inference for Tier 3 data.** Routing high-sensitivity data to Nemotron models running on local infrastructure addresses the "data leaving the network" concern for regulated data.+}

### 7.5 Documented Gaps in NemoClaw

{+### 7.5 Documented Gaps in NemoClaw+}

### 7.5 Documented Gaps in NemoClaw

{+| Gap | Severity | Root Cause | |-----|----------|-----------| | Intent verification evaluates actions, not data content | High | Classifier operates at action-type level, not payload level | | PII NER has 5–15% false negative rate | Medium | Fundamental limitation of NER-based classification | | Complexity increases attack surface | Medium | More code = more potential bugs in OpenShell itself | | NVIDIA vendor lock-in | Medium | Privacy routing requires NIM endpoints or significant GPU | | Alpha status — unvalidated at scale | High | No production evidence base | | GPU requirement excludes most SMB deployments | Medium | 8GB RAM minimum, GPU required for full local inference | | HTTPS inspection creates internal data visibility concerns | Low-Medium | All outbound traffic visible to inspection proxy |+}

### 7.6 NemoClaw Resource Requirements

{+### 7.6 NemoClaw Resource Requirements+}

### 7.6 NemoClaw Resource Requirements

{+For IT contractors evaluating NemoClaw adoption:+}

### 7.6 NemoClaw Resource Requirements

{+- **Minimum:** 4 vCPU, 8GB RAM, Docker, network access to NVIDIA Endpoints (NIM) - **For full local inference:** GPU with sufficient VRAM for Nemotron 3 Super 120B (not hobbyist-accessible) - **Default model:** `nvidia/nemotron-3-super-120b-a12b` via NVIDIA Endpoints — requires NVIDIA account and API key+}

### 7.6 NemoClaw Resource Requirements

{+The resource requirements effectively exclude NemoClaw from hobbyist and most SMB deployments in its current form. It is genuinely enterprise-targeted. The Tinkerer and SMB Operator personas (§5.1, §5.3) should apply AEGIS controls directly rather than waiting for NemoClaw to mature.+}

### 7.7 Transferable Lessons from NemoClaw

{+### 7.7 Transferable Lessons from NemoClaw+}

### 7.7 Transferable Lessons from NemoClaw

{+The architecture's principles are more widely applicable than the product itself:+}

### 7.7 Transferable Lessons from NemoClaw

{+1. **Move policy enforcement out of the constrained process.** Even a lightweight proxy that mediates tool execution and evaluates requests against a policy file provides out-of-process enforcement without the full OpenShell stack. 2. **Make non-inheritance the explicit default for multi-agent permissions.** This should be a deployment configuration choice, not a runtime decision. 3. **Treat immutability of configuration as a startup assertion.** Check that configuration files are owned by a different user than the agent process at startup; abort if they are not. 4. **Build local model routing before you need it.** Setting up Ollama or equivalent local inference takes a few hours; having it in place means privacy routing can be activated without an architectural change.+}

### 6. AEGIS: A Defense-in-Depth Architecture

[-## 6. AEGIS: A Defense-in-Depth Architecture-]

### 6.1 The Swiss Cheese Model

[-### 6.1 The Swiss Cheese Model-]

### 6.1 The Swiss Cheese Model

[-The Swiss cheese model (Reason, 1990) visualizes each security control as a slice of cheese with holes. Individually, each slice has weaknesses. Layered together, the holes rarely align. AEGIS proposes seven deterministic slices, with the probabilistic layer as a general-purpose filter rather than a counted control:-]

### 6.1 The Swiss Cheese Model

[-``` Attack Vector │ ▼ ┌─────────────┐ Layer 1: Network Controls │ Swiss Slice 1│ (firewall, VPN, port binding) └──────┬──────┘ ▼ ┌─────────────┐ Layer 2: Process Isolation │ Swiss Slice 2│ (container, capability manifest) └──────┬──────┘ ▼ ┌─────────────┐ Layer 3: Filesystem ACLs │ Swiss Slice 3│ (restricted user, AppArmor) └──────┬──────┘ ▼ ┌─────────────┐ Layer 4: Programmatic Guardrails │ Swiss Slice 4│ (allowlists, permission gates) └──────┬──────┘ ▼ ┌─────────────┐ Layer 5: Privacy Routing │ Swiss Slice 5│ (local model for sensitive data) └──────┬──────┘ ▼ ┌─────────────┐ Layer 6: Config Immutability │ Swiss Slice 6│ (root-owned config, read-only FS) └──────┬──────┘ ▼ ┌─────────────┐ Layer 7: Audit / Monitoring │ Swiss Slice 7│ (logging, anomaly detection, CVE scan) └──────┬──────┘ DETECTED/BLOCKED ```-]

### 6.2 Layer Interactions

[-### 6.2 Layer Interactions-]

### 8. Cisco DefenseClaw — Full Analysis

{+## 8. Cisco DefenseClaw — Full Analysis+}

### 8.1 Context

{+### 8.1 Context+}

### 8.1 Context

{+Cisco released DefenseClaw on March 27, 2026, as an open-source Apache 2.0 project. It is positioned as a security overlay for existing OpenClaw deployments rather than a replacement runtime. The release was prominently featured at RSA 2026 and accompanied by a Cisco AI Defense blog post that explicitly stated "I run OpenClaw at home" — a deliberate authenticity move connecting Cisco's security tooling to the practitioner community.+}

### 8.1 Context

{+DefenseClaw consists of three components: a Python CLI, a Go gateway, and a TypeScript OpenClaw plugin.+}

### 8.2 The Three Core Functions

{+### 8.2 The Three Core Functions+}

### 8.2 The Three Core Functions

{+**Function 1: Pre-Installation Scanning**+}

### 8.2 The Three Core Functions

{+DefenseClaw provides a suite of five scanning tools that evaluate agent configurations and code before deployment:+}

### 8.2 The Three Core Functions

{+*skill-scanner:* Inspects OpenClaw skill packages for known malicious patterns, dependency vulnerabilities, and permission scope claims. Maintains a registry of known-malicious skill packages.+}

### 8.2 The Three Core Functions

{+*mcp-scanner:* Evaluates MCP (Model Context Protocol) server configurations for the authentication vulnerabilities identified in the broader MCP ecosystem — particularly the 38% of MCP servers that lack authentication, and the OAuth flow vulnerabilities documented by Adversa AI (30 CVEs against MCP servers in 60 days, as of March 2026).+}

### 8.2 The Three Core Functions

{+*a2a-scanner:* Evaluates agent-to-agent communication channel configurations for authentication bypass and privilege escalation patterns consistent with the CVE-2026-GHSA-hf68 class of subagent reconnect vulnerabilities.+}

### 8.2 The Three Core Functions

{+*CodeGuard (static analysis):* Regex-based static analysis of skill code across six categories: hardcoded credentials, dangerous execution patterns, outbound network calls, unsafe deserialization, SQL injection, weak cryptographic algorithms, and path traversal patterns. This is the tool that would have flagged the obfuscated exfiltration calls in the Cisco Talos supply chain attack skills.+}

### 8.2 The Three Core Functions

{+*AI BOM Generator:* Generates an "AI Bill of Materials" — a structured inventory of all models, skills, tools, MCP connections, and data sources used by an agent deployment. Intended for compliance documentation and incident response.+}

### 8.2 The Three Core Functions

{+**Function 2: Runtime Threat Detection**+}

### 8.2 The Three Core Functions

{+DefenseClaw's runtime component runs as a proxy layer intercepting every message flowing in and out of the agent:+}

### 8.2 The Three Core Functions

{+*Content scanner:* Every user input, every tool call input, and every model output is passed through a content scanner that evaluates it against patterns for: prompt injection signatures, PII exposure, credential patterns, command injection syntax, and known attack payload signatures.+}

### 8.2 The Three Core Functions

{+*Tool call inspection via before_tool_call hook:* Uses the OpenClaw plugin architecture's `before_tool_call` event hook to inspect every tool invocation before execution. Tool calls are evaluated against six rule categories:+}

### 8.2 The Three Core Functions

{+| Rule Category | What It Catches | |--------------|-----------------| | `secret` | API keys, tokens, passwords in tool call parameters | | `command` | Shell injection patterns, dangerous execution commands | | `sensitive-path` | Filesystem access to known-sensitive paths | | `c2` | Command-and-control callback patterns, known malicious domains | | `cognitive-file` | Writes to agent configuration files (SOUL.md, AGENTS.md) | | `trust-exploit` | Patterns consistent with privilege escalation or permission bypass |+}

### 8.2 The Three Core Functions

{+*Guardrail proxy:* A proxy layer that inspects every LLM prompt and completion for the same categories, across seven supported LLM providers. This catches sensitive data in model inputs before they reach the API, and flags suspicious patterns in model outputs before they reach tool execution.+}

### 8.2 The Three Core Functions

{+**Function 3: Block/Allow List Enforcement**+}

### 8.2 The Three Core Functions

{+DefenseClaw's most operationally distinctive capability is sub-2-second response to detected threats without requiring agent restart:+}

### 8.2 The Three Core Functions

{+- *Permission revocation:* Can revoke sandbox permissions from a running agent in response to a detected threat. - *File quarantine:* Can quarantine files the agent attempted to access abnormally. - *Network allowlist removal:* Can remove specific endpoints from the agent's network allowlist in response to detected C2 callback patterns.+}

### 8.2 The Three Core Functions

{+The sub-2-second response time and no-restart requirement are significant for production deployments where agent availability is an operational requirement.+}

### 8.2 The Three Core Functions

{+**Splunk integration:** DefenseClaw includes native Splunk integration, enabling detected events to flow directly into enterprise SIEM workflows without custom integration work.+}

### 8.3 Architectural Strengths

{+### 8.3 Architectural Strengths+}

### 8.3 Architectural Strengths

{+**Runtime content inspection fills a real gap.** AEGIS's own taxonomy identifies audit/monitoring (§4.7) as "detection-focused, not prevention-focused." DefenseClaw's before_tool_call hook changes this: it intercepts tool calls before execution, creating a deterministic block opportunity at the point of action. This is a genuine improvement over post-hoc logging.+}

### 8.3 Architectural Strengths

{+**CodeGuard addresses the supply chain attack class directly.** The regex-based static analysis would have caught the obfuscated exfiltration calls in the Cisco Talos skill attack — the specific patterns used (obfuscated JavaScript, delayed execution timers, suspicious network destinations) are exactly the type of static pattern that CodeGuard scans for.+}

### 8.3 Architectural Strengths

{+**AI BOM is operationally valuable for compliance.** IT contractors asking "what exactly does this agent touch?" get a structured answer. The AI BOM is also the documentation artifact that most enterprises need for internal security reviews and audit trail.+}

### 8.3 Architectural Strengths

{+**Open source reduces vendor dependency risk.** Apache 2.0 licensing means organizations can inspect, modify, and self-host DefenseClaw without CISCO product dependencies. The commercial products (Splunk, Cisco AI Defense) integrate optionally rather than mandatorily.+}

### 8.4 Documented Gaps in DefenseClaw

{+### 8.4 Documented Gaps in DefenseClaw+}

### 8.4 Documented Gaps in DefenseClaw

{+| Gap | Severity | Root Cause | |-----|----------|-----------| | Requires NemoClaw/OpenShell — not standalone | High | Architecture requires out-of-process policy broker underneath | | Regex-based scanning has known bypass vectors | High | Obfuscation, encoding, and semantic equivalents evade pattern matching | | No privacy routing of its own | Medium | Relies on NemoClaw Layer 4 for PII routing; absent without NemoClaw | | Runtime detection at content-scan granularity | Medium | Pattern matching, not semantic analysis — sophisticated attacks not caught | | CodeGuard cannot evaluate dynamically generated code | Medium | Static analysis only; runtime code generation bypasses scan |+}

### 8.4 Documented Gaps in DefenseClaw

{+**The regex bypass limitation is the most important gap to understand.** The Cisco Talos supply chain skills used obfuscated JavaScript — base64 encoding, character code concatenation, delayed execution. CodeGuard's static analysis scans for patterns in the *readable* representation of code. Encoding, minification, or obfuscation breaks the pattern match. An attacker who knows DefenseClaw's pattern list can craft exfiltration code that does not match any pattern.+}

### 8.4 Documented Gaps in DefenseClaw

{+This does not make DefenseClaw useless — it makes it a useful first-pass filter for unsophisticated attacks and clearly written supply chain malware. For sophisticated targeted attacks, regex-based static analysis is insufficient as a sole control.+}

### 8.4 Documented Gaps in DefenseClaw

{+**The NemoClaw dependency** means DefenseClaw's most advanced capabilities (the hook-based tool call interception) require OpenShell's out-of-process architecture. Organizations without NemoClaw can run DefenseClaw's pre-installation scanning and some content scanning, but the full runtime capability requires the full stack.+}

### 8.5 Practical Adoption Guidance

{+### 8.5 Practical Adoption Guidance+}

### 8.5 Practical Adoption Guidance

{+DefenseClaw is most useful for:+}

### 8.5 Practical Adoption Guidance

{+1. **Pre-deployment skill auditing** — run CodeGuard and skill-scanner on every community skill before installation. This is valuable even without NemoClaw and provides strong protection against the supply chain attack class. 2. **Generating AI BOM documentation** — produces compliance artifacts that most organizations need anyway. 3. **Runtime monitoring in environments that already run OpenShell** — the before_tool_call interception is the most technically significant capability.+}

### 8.5 Practical Adoption Guidance

{+DefenseClaw is less useful as a standalone security layer for deployments that do not also have NemoClaw's out-of-process enforcement in place. Used without that foundation, it is a detection tool with some blocking capability — better than nothing, but not a substitute for the deterministic controls in §4.+}

### 8.5 Practical Adoption Guidance

{+---+}

### 9. Business Motivations — What the Vendor Investments Actually Tell Us

{+## 9. Business Motivations — What the Vendor Investments Actually Tell Us+}

### 9.1 Reading the Vendor Landscape Correctly

{+### 9.1 Reading the Vendor Landscape Correctly+}

### 9.1 Reading the Vendor Landscape Correctly

{+IT contractors sometimes interpret NVIDIA and Cisco's investment in agent security forks as evidence that OpenClaw itself is insecure. This reading inverts the signal.+}

### 9.1 Reading the Vendor Landscape Correctly

{+Consider the analogy: when antivirus vendors build products for Windows, this is evidence that Windows is important enough to protect, not that Windows is too dangerous to use. When enterprise security vendors build tooling for a platform, they are validating the platform's significance. No security vendor wastes engineering resources on platforms that aren't important.+}

### 9.1 Reading the Vendor Landscape Correctly

{+Both NemoClaw and DefenseClaw are evidence that NVIDIA and Cisco believe OpenClaw-class agent runtimes will be central to enterprise computing infrastructure. Their security investments are not warnings — they are endorsements with caveats.+}

### 9.2 NVIDIA's Motivation

{+### 9.2 NVIDIA's Motivation+}

### 9.2 NVIDIA's Motivation

{+NVIDIA's position in the AI ecosystem is well established: they make GPUs, and they want AI workloads to run on GPUs. Jensen Huang's "Windows 95 moment" framing at GTC 2026 is not arbitrary rhetoric — it is a strategic positioning claim. NVIDIA wants to be to agentic AI what Intel was to PC computing: the essential hardware substrate.+}

### 9.2 NVIDIA's Motivation

{+**The NemoClaw business logic:**+}

### 9.2 NVIDIA's Motivation

{+- *Sell GPUs:* NemoClaw's full local inference capability (Nemotron 3 Super 120B) requires substantial GPU hardware. Every enterprise that deploys NemoClaw with privacy routing is buying NVIDIA GPUs or DGX Spark nodes for local inference. - *Sell NIM subscriptions:* Nemotron models deployed via NVIDIA Endpoints (NIM) generate API subscription revenue. The default NemoClaw configuration routes to `nvidia/nemotron-3-super-120b-a12b` via NIM — NVIDIA's cloud inference service. - *Lock in via Nemotron:* Organizations that build production agent infrastructure on Nemotron models create switching costs that favor continued NVIDIA infrastructure investment. - *Establish NVIDIA as the agentic AI platform:* NemoClaw is a land-and-expand play. The security framework gets the enterprise foot in the door; the hardware and cloud subscriptions are the commercial outcome.+}

### 9.2 NVIDIA's Motivation

{+**What this means for evaluators:** NemoClaw's security architecture is genuine engineering — it is not marketing. But the architectural choices (particularly the GPU requirement and the NIM default routing) are designed around NVIDIA's commercial ecosystem. Organizations evaluating NemoClaw should understand which capabilities they can adopt without NVIDIA infrastructure dependency and which require it.+}

### 9.3 Cisco's Motivation

{+### 9.3 Cisco's Motivation+}

### 9.3 Cisco's Motivation

{+Cisco's commercial position is as the world's largest enterprise network security company, but network security is a maturing market. AI-native security is the high-growth frontier, and Cisco acquired Splunk in 2024 specifically to strengthen its security analytics position. DefenseClaw is a go-to-market move in three dimensions simultaneously:+}

### 9.3 Cisco's Motivation

{+- *Brand credibility transfer to AI security:* Cisco has decades of enterprise trust. DefenseClaw carries that brand into the AI agent security space, establishing Cisco as a credible voice before competitors can establish beachheads. - *Splunk integration as conversion funnel:* DefenseClaw's native Splunk integration is seamless — because Cisco now owns Splunk. Organizations that adopt DefenseClaw and like its logging capabilities are natural targets for Splunk enterprise licenses. - *Cisco AI Defense commercial upsell:* DefenseClaw's open-source layer is the free tier. The commercial tier — Cisco AI Defense — provides enterprise-grade management, compliance reporting, and support. DefenseClaw creates awareness and adoption; AI Defense captures the revenue. - *RSA 2026 visibility:* Security conference visibility is a lead generation mechanism for Cisco's enterprise sales teams. DefenseClaw's open-source release timed to RSA 2026 was a deliberate visibility event.+}

### 9.3 Cisco's Motivation

{+The "I run OpenClaw at home" blog post was not casual — it was Cisco positioning DefenseClaw as practitioner-authentic rather than enterprise-imposed. This is a smart market development move.+}

### 9.4 The Conclusion for IT Contractors

{+### 9.4 The Conclusion for IT Contractors+}

### 9.4 The Conclusion for IT Contractors

{+Both NVIDIA and Cisco have concluded that:+}

### 9.4 The Conclusion for IT Contractors

{+1. OpenClaw-class agent runtimes are going to be deployed at scale in enterprise environments. 2. The security surface of those deployments requires dedicated security engineering. 3. There is a substantial commercial opportunity in providing that security engineering.+}

### 9.4 The Conclusion for IT Contractors

{+This is not a warning about OpenClaw. It is a market validation. If these platforms were too fundamentally insecure to deploy, the response from enterprise vendors would be bans and advisories (as Meta and JPMorgan issued) — not security frameworks designed to make deployment safe. The message from NVIDIA and Cisco is: this platform is deployable with the right architecture.+}

### 9.4 The Conclusion for IT Contractors

{+---+}

### 10. Validation Evidence

{+## 10. Validation Evidence+}

### 10.1 The Matthew Berman Penetration Test

{+### 10.1 The Matthew Berman Penetration Test+}

### 10.1 The Matthew Berman Penetration Test

{+In early 2026, Matthew Berman — a prominent AI content creator with a publicly documented and extensively described OpenClaw deployment — arranged for a penetration tester to attempt unauthorized access and control of his production agent setup. The engagement's outcome: the tester was unable to gain unauthorized access or agent control within the engagement scope.+}

### 10.1 The Matthew Berman Penetration Test

{+Berman has not disclosed the specific attack vectors attempted or the tester's full methodology. What we can evaluate is the security architecture of Berman's known configuration and what it would have presented to an attacker:+}

### 10.1 The Matthew Berman Penetration Test

{+| Attack Vector | Berman's Defense | Effectiveness | |--------------|-----------------|---------------| | CVE-class network exploitation | Cloudflare Tunnel — no direct port exposure. Attacker would first need to compromise Cloudflare's global infrastructure | Extremely high — attack complexity elevated by orders of magnitude | | WebSocket hijack | Localhost binding confirmed; tunnel ingress is authenticated | CVE-2026-25253 class does not apply | | Malicious skill installation | Manual vetting policy documented | Supply chain vector substantially reduced | | Prompt injection takeover | Security council agent performs nightly codebase audit | Persistent injection more likely to be detected | | Network exfiltration | Tailscale mesh — traffic constrained to authenticated nodes | Arbitrary exfiltration endpoint blocked |+}

### 10.1 The Matthew Berman Penetration Test

{+The security council agent — a separate agent that reviews the production agent's rules, configuration, and recent actions nightly against a security checklist — deserves specific attention. This is an implementation of the audit/monitoring principle (§4.7) with an unusual property: the auditor is itself an AI agent, providing coverage against behavioral drift that a static audit checklist would miss. This is a sophisticated configuration choice that most deployments do not implement.+}

### 10.2 What This Evidence Tells Us

{+### 10.2 What This Evidence Tells Us+}

### 10.2 What This Evidence Tells Us

{+The Berman test provides three pieces of evidence:+}

### 10.2 What This Evidence Tells Us

{+1. **A well-configured OpenClaw deployment can resist penetration testing.** This is evidence-based, not assertion-based. The configuration is known; the attack was attempted; it failed.+}

### 10.2 What This Evidence Tells Us

{+2. **The defensive configuration is achievable.** Berman is a practitioner, not a dedicated security engineer. The controls he implemented — tunnel, localhost binding, Tailscale, skill vetting, nightly security audit — are within the capability of any technically competent user.+}

### 10.2 What This Evidence Tells Us

{+3. **The unknown attacker capability introduces uncertainty.** We do not know whether the tester used all available attack vectors, whether they had knowledge of Berman's specific configuration, or whether they represented a sophisticated or opportunistic adversary. The test result is positive evidence, not proof of absolute security.+}

### 10.3 Limits of the Evidence

{+### 10.3 Limits of the Evidence+}

### 10.3 Limits of the Evidence

{+This evidence should not be generalized beyond its context:+}

### 10.3 Limits of the Evidence

{+- *One tester, one configuration, one engagement.* No single penetration test certifies a configuration as universally secure. - *Public figure, known setup.* Berman's configuration is publicly discussed, meaning the tester likely had more insight into defensive architecture than a real attacker would have in most scenarios. - *Unknown tester capability.* The test result could reflect attacker skill ceiling as much as defensive robustness. - *No nation-state attack class tested.* Nothing in the evidence suggests that supply-chain compromise of Cloudflare's infrastructure, novel zero-day exploitation, or advanced persistent threat techniques were tested.+}

### 10.3 Limits of the Evidence

{+The appropriate calibration is: a well-configured OpenClaw instance resists the attack types that are most likely to be encountered in practice. For threat models that include nation-state actors or targeted sophisticated attacks, additional controls and a dedicated security review are warranted.+}

### 10.3 Limits of the Evidence

{+---+}

### 11. J-Series Component Security Surfaces

{+## 11. J-Series Component Security Surfaces+}

### 11. J-Series Component Security Surfaces

{+AEGIS governs security for all components of the J-Series AI agent architecture. Each component presents a distinct attack surface. Understanding these specific surfaces enables targeted rather than generic security responses.+}

### 11.1 ENGRAM — Memory Storage Layer

{+### 11.1 ENGRAM — Memory Storage Layer+}

### 11.1 ENGRAM — Memory Storage Layer

{+The memory storage layer persists every agent interaction as append-only events in a structured event store. Attack surface: a poisoned event could contaminate all future retrievals; compaction operations that consolidate the event store could erase evidence of an attack.+}

### 11.1 ENGRAM — Memory Storage Layer

{+**Attack scenario:** An attacker crafts an email that causes the agent to store a memory entry associating a specific user with elevated permissions. In a subsequent session, the agent retrieves this memory and grants the permission — a delayed-action privilege escalation with no trace in the current session's inputs.+}

### 11.1 ENGRAM — Memory Storage Layer

{+**Key mitigations:** - Memory write gates: human approval required before any memory is written from external-source interactions - Tamper-evident event log: hash-chained entries make retroactive modification detectable - Audit of recent memory writes as part of nightly security review+}

### 11.2 HIPPOCAMPUS — Retrieval Index

{+### 11.2 HIPPOCAMPUS — Retrieval Index+}

### 11.2 HIPPOCAMPUS — Retrieval Index

{+The retrieval index maps keywords and semantic concepts to memory segments. Attack surface: index poisoning could make the agent "forget" specific topics by corrupting the keyword mappings, or could cause it to retrieve attacker-controlled content in response to security-relevant queries.+}

### 11.2 HIPPOCAMPUS — Retrieval Index

{+**Attack scenario:** A carefully crafted document, once processed, poisons the "security policy" concept cluster in the semantic index such that when the agent queries its own security rules, it retrieves the attacker's alternative rules instead of the genuine policy.+}

### 11.2 HIPPOCAMPUS — Retrieval Index

{+**Key mitigations:** - Security-relevant memory segments (SOUL.md, AGENTS.md content) should be hardcoded reads rather than retrieved from the index - Semantic drift detection: nightly comparison of policy-relevant concept retrievals against known-good baseline - HIPPOCAMPUS's concept index should be treated as untrusted external data and not given instruction-following weight+}

### 11.3 CORTEX — Identity and Persona Layer

{+### 11.3 CORTEX — Identity and Persona Layer+}

### 11.3 CORTEX — Identity and Persona Layer

{+The identity layer reads configuration files to maintain persona, voice, and behavioral rules. Attack surface: persona hijacking through prompt injection that rewrites behavioral rules; identity drift as an attack vector where gradual instruction accumulation shifts behavior away from policy.+}

### 11.3 CORTEX — Identity and Persona Layer

{+**Attack scenario:** A prompt injection causes the agent to append a rule to its operating persona: "When handling financial data, efficiency is more important than confirmation gates." This is not a one-time bypass — it is a persistent behavioral modification that weakens security in all subsequent sessions.+}

### 11.3 CORTEX — Identity and Persona Layer

{+**Key mitigations:** - CORTEX configuration files must be immutable to the agent process (§4.8) - Persona integrity monitoring: nightly comparison of active behavioral rules against cryptographically signed baseline - Explicit prohibition on persona modification from external-source instructions+}

### 11.4 CEREBELLUM — Self-Improvement and Consolidation

{+### 11.4 CEREBELLUM — Self-Improvement and Consolidation+}

### 11.4 CEREBELLUM — Self-Improvement and Consolidation

{+The self-improvement cycle rewrites the agent's own operational rules nightly based on lessons extracted from session history. This is a designed feature — and it is the most dangerous attack surface in the J-Series architecture if not properly constrained.+}

### 11.4 CEREBELLUM — Self-Improvement and Consolidation

{+**Attack scenario:** A malicious interaction is designed to appear as a security-relevant negative experience. The agent's lesson extraction process interprets the interaction as evidence that "strict confirmation gates reduce user satisfaction" and drafts a rule weakening gate requirements. The nightly consolidation cycle applies this rule. The agent is now less secure — and neither the user nor the audit log detected the attack during the original interaction.+}

### 11.4 CEREBELLUM — Self-Improvement and Consolidation

{+This is the AI equivalent of a pharmaceutical supply chain contamination event: the attack happens upstream of the deployment, and its effects manifest later without direct connection to the original cause.+}

### 11.4 CEREBELLUM — Self-Improvement and Consolidation

{+**Key mitigations:** - Human-in-the-loop gate for all Level 2+ self-modifications (modifications to security-relevant rules require explicit human review) - Adversarial lesson detection: a separate review pass evaluating proposed self-modifications against a security policy checklist - Session flagging: interactions that attempt prompt injection should be flagged and excluded from lesson extraction - Nightly review of proposed modifications by a security-focused agent before any write to production rules+}

### 11.5 SYNAPSE — Multi-Model Deliberation

{+### 11.5 SYNAPSE — Multi-Model Deliberation+}

### 11.5 SYNAPSE — Multi-Model Deliberation

{+Multi-model deliberation uses diverse AI models to reach consensus on complex decisions. Attack surface: a compromised or maliciously positioned model could consistently steer deliberation outcomes; model collusion between a compromised orchestrator and a compromised deliberation participant.+}

### 11.5 SYNAPSE — Multi-Model Deliberation

{+**Attack scenario:** In a multi-model deliberation about whether a requested action is appropriate, an attacker who has influenced one of the participating models' outputs can consistently skew the deliberation toward "approve." If the deliberation protocol uses simple majority rather than skeptical minority-veto, a single compromised model shifts outcomes systematically.+}

### 11.5 SYNAPSE — Multi-Model Deliberation

{+**Key mitigations:** - Skeptical minority veto: a single dissent on security-relevant decisions should block rather than be outvoted - Model diversity enforcement: deliberation participants should come from different providers and training lineages to reduce correlated compromise - Audit of deliberation outcomes against stated policy: systematic "approve" patterns from one model relative to others should trigger review+}

### 11.5 SYNAPSE — Multi-Model Deliberation

{+---+}

### 12. AEGIS: The Defense-in-Depth Architecture

{+## 12. AEGIS: The Defense-in-Depth Architecture+}

### 12.1 The Swiss Cheese Model

{+### 12.1 The Swiss Cheese Model+}

### 12.1 The Swiss Cheese Model

{+The Swiss cheese model of safety, developed in aviation and adapted to software security, visualizes each control as a layer of cheese with holes. Individually, each layer has weaknesses. Layered together, the holes rarely align. Like airport security — the ticket check, the ID verification, the metal detector, the baggage scanner, and the air marshal in the cabin are all independent systems. Any one can fail and the others still catch the threat.+}

### 12.1 The Swiss Cheese Model

{+AEGIS proposes seven deterministic layers, with probabilistic controls as a general-purpose additional filter rather than a counted security layer.+}

### 12.1 The Swiss Cheese Model

{+``` Attack Vector (any class) │ ▼ ┌─────────────────┐ Layer 1: Network Controls │ DETERMINISTIC │ Port binding, egress firewall, VPN isolation └────────┬────────┘ │ If bypassed: ▼ ┌─────────────────┐ Layer 2: Process Isolation │ DETERMINISTIC │ Container, capability manifest, namespace └────────┬────────┘ │ If bypassed: ▼ ┌─────────────────┐ Layer 3: Filesystem ACLs │ DETERMINISTIC │ Restricted user, AppArmor, kernel-level deny └────────┬────────┘ │ If bypassed: ▼ ┌─────────────────┐ Layer 4: Programmatic Guardrails │ DETERMINISTIC │ Tool allowlist, permission gates, approval UX └────────┬────────┘ │ If bypassed: ▼ ┌─────────────────┐ Layer 5: Privacy Routing │ DET. / PROB. │ Sensitivity classification → local model └────────┬────────┘ │ If bypassed: ▼ ┌─────────────────┐ Layer 6: Configuration Immutability │ DETERMINISTIC │ Root-owned config, read-only agent filesystem └────────┬────────┘ │ If bypassed: ▼ ┌─────────────────┐ Layer 7: Audit and Monitoring │ DET. / PROB. │ Tamper-evident log, anomaly detection, CVE scan └────────┬────────┘ ▼ DETECTED / BLOCKED ```+}

### 12.2 Layer Interactions

{+### 12.2 Layer Interactions+}

### 12.2 Layer Interactions

- **Network controls** stop remote exploits but not locally-delivered attacks → **Process isolation** limits local attack scope. - **Process isolation** is [-bypassed-] {+defeated+} by kernel exploits → **Filesystem ACLs** at kernel level catch container escapes. - **Filesystem ACLs** only protect listed paths → **Programmatic guardrails** restrict operations even on accessible paths. - **Programmatic guardrails** can be circumvented by creative [-allowed-primitive combinations-] {+permitted-operation sequences+} → **Privacy routing** ensures sensitive data stays off external APIs regardless. - **Privacy routing** depends on classification accuracy {+(5–15% false negative)+} → **Audit logging** provides visibility into routing decisions for post-hoc review. - **Audit logging** is detection-only → [-**Self-modification prevention**-] {+**Configuration immutability**+} ensures the audit mechanism [-can't-] {+cannot+} be disabled before detection.

### 12.3 Worked Attack Simulation

### [-6.3-] {+12.3+} Worked Attack Simulation

### 12.3 Worked Attack Simulation

[-To demonstrate AEGIS layer interactions concretely, we-] {+We+} trace [-10-] {+twelve+} representative attack scenarios through a Standard Configuration {+AEGIS+} deployment:

### 12.3 Worked Attack Simulation

| # | Attack Scenario | L1 Net | L2 Proc | L3 FS | L4 Guard | L5 Priv | L6 Immut | L7 Audit | Result | [-|---|---|---|---|---|---|---|---|---|---|-] {+|---|-----------------|--------|---------|-------|----------|---------|---------|---------|--------|+} | 1 | [-CVE-2026-25253 remote-] {+CVE-class+} WebSocket hijack | [-**BLOCKED**-] {+BLOCKED+} | — | — | — | — | — | — | [-✓ Prevented-] {+BLOCKED AT L1+} | | 2 | Malicious skill exfiltrates [-~/.ssh-] {+SSH keys+} | pass | [-**BLOCKED**-] {+BLOCKED+} | — | — | — | — | — | [-✓ Prevented-] {+BLOCKED AT L2+} | | 3 | Prompt injection → read [-/etc/shadow-] {+credential file+} | pass | pass | [-**BLOCKED**-] {+BLOCKED+} | — | — | — | — | [-✓ Prevented-] {+BLOCKED AT L3+} | | 4 | Allowed tool chain → [-`git hook` →-] arbitrary exec {+via hook+} | pass | pass | pass | [-**BLOCKED**-] {+BLOCKED+} | — | — | — | [-✓ Prevented-] {+BLOCKED AT L4+} | | 5 | Client PII sent to frontier [-model in prompt-] {+LLM API+} | pass | pass | pass | pass | [-**BLOCKED**-] {+BLOCKED+} | — | — | [-✓ Prevented-] {+BLOCKED AT L5+} | | 6 | Agent [-modifies-] {+attempts to modify+} SOUL.md [-to remove safety rules-] | pass | pass | pass | pass | pass | [-**BLOCKED**-] {+BLOCKED+} | — | [-✓ Prevented-] {+BLOCKED AT L6+} | | 7 | Credential exfil via DNS tunneling | pass | pass | pass | pass | pass | pass | [-**DETECTED**-] {+DETECTED+} | [-△ Detected-] {+DETECTED AT L7+} | | 8 | Delayed-action memory injection [-(triggers next session)-] | pass | pass | pass | pass | pass | pass | [-**DETECTED**-] {+DETECTED+} | [-△ Detected-] {+DETECTED AT L7+} | | 9 | User rubber-stamps [-high-risk approval-] {+irreversible action+} | pass | pass | pass | pass* | pass | pass | [-**DETECTED**-] {+DETECTED+} | [-△ Detected-] {+DETECTED AT L7+} | | 10 {+| Subagent reconnect privilege escalation | pass | BLOCKED† | — | — | — | — | — | BLOCKED AT L2 | | 11 | Sophisticated prompt injection (indirect, multi-step) | pass | pass | pass | pass | PARTIAL | pass | DETECTED | PARTIAL (L5/L7) | | 12+} | Compromised local model exfiltrates {+processed+} data [-it processes-] | pass | pass | pass | pass | pass | pass | pass | [-✗ Gap-] {+GAP — No Layer+} |

### 6.3 Worked Attack Simulation

[-**Results:** 6/10 prevented, 3/10 detected (enabling response), 1/10 represents a genuine gap (compromised local model — requires model integrity verification not yet in AEGIS).-]

### 6.3 Worked Attack Simulation

[-*Scenario 9 note: With approval fatigue mitigations (§2.3.1), this could be prevented rather than merely detected.-]

### 6.3 Worked Attack Simulation

[-This simulation demonstrates two key properties: (a) no single layer is sufficient — each attack that passes one layer is caught by a subsequent one; (b) the architecture degrades gracefully — even when prevention fails, detection enables response.-]

### 12.3 Worked Attack Simulation

{+**Results:** 7 fully prevented, 4 detected (enabling response), 1 partial, 1 genuine gap.+}

### 12.3 Worked Attack Simulation

{+*\*Scenario 9: With time-delayed execution for irreversible actions (§4.3.1), this can be upgraded to prevented.*+}

### 12.3 Worked Attack Simulation

{+*†Scenario 10: Requires correct per-agent RBAC configuration (NemoClaw) or explicit non-inheritance policy; with default OpenClaw configuration, this passes Layer 2.*+}

### 12.3 Worked Attack Simulation

{+*Scenario 12 represents a genuine architectural gap:* if the local model used for privacy routing is itself compromised (poisoned fine-tune, model weight tampering), it can exfiltrate data it processes to any endpoint accessible within the container. Mitigation requires model integrity verification (hash of model weights against a trusted source) and outbound network restrictions within the local model container.+}

### 12.4 Reference Configurations

### [-6.4-] {+12.4+} Reference Configurations

### 6.4 Reference Configurations

[-Before listing configurations, one principle deserves emphasis: **removing access is often more effective than hardening access**. When an asset does not need to be in the agent's reachable set, scope reduction should take priority over layered protection. This is especially important for Persona C, where several risks are better solved by access withdrawal than by compensating controls.-]

### 6.4 Reference Configurations

[-**Minimal Configuration (15 minutes):** 1. Bind WebSocket to `127.0.0.1` 2. Verify all installed skills; remove unrecognized ones 3. AppArmor profile denying `~/.ssh`, `~/.gnupg`, crypto seed files 4. Set agent workspace to `~/agent-workspace` rather than home directory-]

### 6.4 Reference Configurations

[-**Standard Configuration (2–4 hours):** All of Minimal, plus: 5. Dedicated `openclaw-agent` system user 6. Docker container with workspace bind-mount only 7. `iptables` egress rules: LLM API IPs only 8. Privacy routing: sensitive directories → local Ollama instance 9. Root-owned, read-only SOUL.md and AGENTS.md 10. Cron security scan for skill changes, permission drift, CVE updates-]

### 6.4 Reference Configurations

[-**Enterprise Configuration (formal security review):** All of Standard, plus: 11. Out-of-process policy enforcement 12. Per-session isolation for multi-agent workflows 13. Enterprise DLP integration for data classification 14. Signed skill manifests with corporate PKI 15. Tamper-evident audit trail 16. IT security review and change management approval 17. Penetration testing of agent deployment 18. Employee prompt injection awareness training-]

### 6.4 Reference Configurations

[-**Cost considerations:** The Standard Configuration has negligible ongoing cost beyond initial setup. The Enterprise Configuration requires: GPU investment for local model inference (privacy routing) — approximately $2,000–$10,000 for adequate hardware; staff time for security review and ongoing governance; potential NemoClaw licensing costs. Organizations should weigh these against the cost of the risk scenarios in §4.-]

### 12.4 Reference Configurations

{+**One principle before configurations:** Removing access is more effective than hardening access. When an asset does not need to be in the agent's reachable set, scope reduction is the highest-leverage action — eliminating the risk rather than mitigating it.+}

### 12.4 Reference Configurations

{+**Minimal Configuration (20 minutes):**+}

### 12.4 Reference Configurations

{+Addresses the highest-probability attack class (network exploitation) and highest-consequence vulnerability (credential file access):+}

### 12.4 Reference Configurations

{+``` STEP 1: Bind agent control port to localhost only STEP 2: Verify all installed skills against known sources; remove unrecognized ones STEP 3: Apply filesystem deny policy for: credential directories, secret files, crypto material STEP 4: Set agent workspace root to an isolated subdirectory ```+}

### 12.4 Reference Configurations

{+This configuration blocks Scenario 1 (CVE class) and Scenario 2 (filesystem access to credentials).+}

### 12.4 Reference Configurations

{+**Standard Configuration (2–4 hours):**+}

### 12.4 Reference Configurations

{+Applies the full 7-layer AEGIS stack in forms accessible to technically competent individuals without enterprise infrastructure:+}

### 12.4 Reference Configurations

{+``` STEP 5: Create dedicated low-privilege user account for agent process STEP 6: Run agent in container; mount workspace subdirectory only STEP 7: Egress firewall: permit LLM API IPs only; deny all other outbound STEP 8: Privacy routing: classify requests; route Tier 3 content to local model STEP 9: Root-owned, read-only behavioral configuration files STEP 10: Daily security scan: skill manifest changes, permission drift, CVE status STEP 11: Execute DPA with LLM provider(s) before processing any third-party PII ```+}

### 12.4 Reference Configurations

{+**Enterprise Configuration (formal security review + ongoing governance):**+}

### 12.4 Reference Configurations

{+All of Standard Configuration, plus:+}

### 12.4 Reference Configurations

{+``` STEP 12: Out-of-process policy enforcement (OpenShell/equivalent) STEP 13: Per-session isolation for multi-agent workflows STEP 14: Enterprise DLP integration for data classification STEP 15: Signed skill manifests with organizational PKI STEP 16: Tamper-evident audit trail integrated with SIEM STEP 17: IT security review and change management documentation STEP 18: Penetration testing of agent deployment STEP 19: Employee prompt injection awareness training STEP 20: Incident response plan specific to agent compromise ```+}

### 7. Conclusions and Recommendations

[-## 7. Conclusions and Recommendations-]

### 7.1 The Fundamental Insight

[-### 7.1 The Fundamental Insight-]

### 7.1 The Fundamental Insight

[-**Probabilistic controls alone are insufficient for any deployment where failure consequences are materially significant.** Every behavioral rule, every system prompt, every SOUL.md guideline is a probabilistic control — effective absent adversarial pressure, unreliable under it. This does not make probabilistic controls useless; it makes them misclassified when operators treat them as if they were equivalent to sandboxing, policy separation, or filesystem denial.-]

### 7.1 The Fundamental Insight

[-The incidents in §1.3 all involved deployments where consequences were significant but architecture was probabilistic. CVE-2026-25253 was a technical vulnerability, but 40,000 exposed instances represent a governance failure. The malicious skills attack succeeded because installation required no deterministic verification. The email deletion was the predictable result of granting irreversible capability to a system with only probabilistic constraints.-]

### 7.2 Per-Persona Security Profiles

[-### 7.2 Per-Persona Security Profiles-]

### 7.2 Per-Persona Security Profiles

[-**Persona A — Minimum Viable (15 min):** Bind to 127.0.0.1; AppArmor denying ~/.ssh and crypto seed files. Addresses the two highest-risk scenarios.-]

### 7.2 Per-Persona Security Profiles

[-**Persona A — Recommended:** Standard Configuration (§6.4). Docker container, workspace restriction, egress firewall, skill verification. Total: 2–3 hours.-]

### 7.2 Per-Persona Security Profiles

[-**Persona B — Minimum Viable (3–4 hours):** All Persona A minimum plus: privacy routing for client directories to local model; per-session confirmation gate for email sends and file writes outside workspace; GDPR data inventory.-]

### 7.2 Per-Persona Security Profiles

[-**Persona B — Recommended:** Standard Configuration plus: explicit client consent policy for AI-assisted work; quarterly agent access scope audit; regulatory mapping (§3.2.1) review.-]

### 7.2 Per-Persona Security Profiles

[-**Persona C — No "Minimum Viable" exists.** The described configuration cannot be made acceptably secure through hardening alone. Minimum action: **restrict agent access scope** — remove corporate network shares, production credentials, privileged email — before any technical control. With properly scoped agent, apply Standard Configuration plus Enterprise egress firewall and audit logging.-]

### 7.2 Per-Persona Security Profiles

[-**Persona C — Enterprise-Grade:** Full Enterprise Configuration (§6.4) via formal change management. Document in IT asset register, include in penetration test scope, govern through standard access control review.-]

### 7.3 The Trilemma as a Design Tool

[-### 7.3 The Trilemma as a Design Tool-]

### 7.3 The Trilemma as a Design Tool

[-Every agent deployment implicitly chooses a position in the safety-capability-autonomy trilemma (§1.1). Our per-persona recommendations:-]

### 7.3 The Trilemma as a Design Tool

[-- **Personal productivity:** High capability + High autonomy + Moderate safety (deterministic controls on highest-risk data only) - **Professional/freelance:** High capability + Moderate autonomy (human gates on external actions) + High safety (deterministic controls on all client data) - **Corporate/regulated:** Moderate capability (scoped action space) + Low autonomy (human approval on material actions) + High safety (full AEGIS stack)-]

### 7.3 The Trilemma as a Design Tool

[-A useful operational restatement is: **first decide what the agent is allowed to touch, then decide what it is allowed to do, and only then decide how autonomous it may be**. Reversing that order is how teams end up with highly autonomous agents whose access scope was never deliberately designed.-]

### 7.3 The Trilemma as a Design Tool

[-The agent era will not produce secure deployments by default. It will produce them by design — by deliberate architectural choices made by practitioners who understand what they are building and what failure costs. We hope this framework contributes to that understanding.-]

### 13. Per-Persona Recommendations

{+## 13. Per-Persona Recommendations+}

### 13.1 Persona A — The Tinkerer

{+### 13.1 Persona A — The Tinkerer+}

### 13.1 Persona A — The Tinkerer

{+**Immediate (20 min):** Bind control port to localhost. AppArmor deny on credential directories and crypto seed files. Verify installed skills.+}

### 13.1 Persona A — The Tinkerer

{+**Standard (3 hours):** Container with workspace-only mount. Egress firewall. Root-owned configuration files. Cron security scan.+}

### 13.1 Persona A — The Tinkerer

{+**Goal configuration:** Trilemma position — High Capability + High Autonomy + Moderate Safety. The investment is proportionate to the data at risk (primarily financial accounts and personal credentials).+}

### 13.2 Persona B — The Freelancer

{+### 13.2 Persona B — The Freelancer+}

### 13.2 Persona B — The Freelancer

{+**Immediate (1 hour):** Bind control port. Filesystem deny on client directories except explicit workspace. Execute DPA with LLM provider(s). Restrict email access to specific non-privileged inboxes.+}

### 13.2 Persona B — The Freelancer

{+**Standard (4–6 hours):** All of Tinkerer Standard, plus: privacy routing for client data directories to local Ollama model; per-session confirmation gate on all external communications; client data in isolated workspace excluded from general agent context; quarterly scope review.+}

### 13.2 Persona B — The Freelancer

{+**Goal configuration:** Trilemma position — High Capability + Moderate Autonomy + High Safety. The "moderate autonomy" means human gate on all external actions (email sends, file writes outside workspace, API calls to non-LLM endpoints).+}

### 13.2 Persona B — The Freelancer

{+**Regulatory baseline:** GDPR data inventory mapping which client PII the agent can access; DPA executed with each LLM provider; client-consent policy for AI-assisted work.+}

### 13.3 Persona C — The SMB Operator

{+### 13.3 Persona C — The SMB Operator+}

### 13.3 Persona C — The SMB Operator

{+**Immediate (2 hours):** Scope restriction before hardening. Remove payroll and HR data from agent-accessible paths. Execute DPA with LLM provider. Inform staff of agent's capabilities and data scope.+}

### 13.3 Persona C — The SMB Operator

{+**Standard (1 day):** Container isolation with specific workspace per task type (financial workspace, client workspace, operations workspace — each separately scoped). Egress firewall. Privacy routing for employee and client data. Monthly skill audit. AI BOM generated by DefenseClaw's pre-installation scanner.+}

### 13.3 Persona C — The SMB Operator

{+**Goal configuration:** Trilemma position — Moderate Capability + Moderate Autonomy + High Safety. The SMB context does not have enterprise resources, but it has enterprise data obligations (employee PII, client data). The right response is to genuinely restrict what the agent can access rather than trying to harden an overly broad access scope.+}

### 13.3 Persona C — The SMB Operator

{+**Key difference from Tinkerer:** The SMB Operator is a data controller for third-party data (employees, clients). Regulatory obligations apply regardless of how the organization describes its AI tool use. The DPA execution is non-optional.+}

### 13.4 Persona D — The Corporate Employee

{+### 13.4 Persona D — The Corporate Employee+}

### 13.4 Persona D — The Corporate Employee

{+**Immediate:** This configuration requires organizational response, not personal hardening. Cameron should escalate to IT security. The minimum viable organizational response:+}

### 13.4 Persona D — The Corporate Employee

{+1. Restrict agent's accessible data to Cameron's personal work files (remove production credentials, corporate network shares, privileged email) 2. Document the deployment in the IT asset register 3. Apply egress firewall restricting agent to approved LLM API endpoints only 4. Assess whether any regulatory notification is required (has any Tier 3 data already been sent to external LLM APIs?)+}

### 13.4 Persona D — The Corporate Employee

{+**The uncomfortable truth for Persona D:** Technical hardening cannot make an unapproved, undocumented agent deployment with access to production systems and M&A communications "acceptable." The risk profile requires organizational governance first, then technical configuration. If Cameron's organization will not approve a properly governed agent deployment, the agent should be removed from corporate infrastructure.+}

### 13.4 Persona D — The Corporate Employee

{+**Goal configuration:** Trilemma position — Moderate Capability + Low Autonomy + High Safety. Human approval required for all material actions. Scope limited to explicitly approved data categories.+}

### 8. Limitations

[-## 8. Limitations-]

### 8. Limitations

[-This analysis has several important limitations:-]

### 14. Limitations and Future Work

{+## 14. Limitations and Future Work+}

### 14.1 Limitations

{+### 14.1 Limitations+}

### 14.1 Limitations

[-1.-] **No empirical validation.** AEGIS has not been tested against real attack [-campaigns.-] {+campaigns at scale.+} The worked simulation [-(§6.3)-] {+(§12.3)+} is a {+structured+} thought experiment [-based on-] {+grounded in+} known attack patterns, not an empirical measurement. Future work should include {+controlled+} red-team exercises against AEGIS-configured [-deployments.-] {+deployments across all four personas.+}

### 8. Limitations

[-2. **Qualitative risk scores.** Despite our calibration methodology (§4), probability and severity ratings remain expert judgment. They have not been validated against a statistically significant incident database. Different experts would likely assign somewhat different scores.-]

### 8. Limitations

[-3. **OpenClaw-centric analysis.** The taxonomy and personas are grounded in the OpenClaw ecosystem. Applicability to other agent runtimes (LangChain, AutoGPT, CrewAI, custom enterprise frameworks) requires validation. The security strategy classes are likely generalizable; the specific implementation guidance is not.-]

### 8. Limitations

[-4. **Taxonomy completeness.** We argue completeness against the STRIDE+agent threat model (§1.4), but novel threat categories may emerge as agent capabilities evolve. The taxonomy should be treated as a living framework, not a closed enumeration.-]

### 8. Limitations

[-5. **Desktop/server focus.** The analysis assumes desktop or server deployments. Mobile agent deployments (OpenClaw mobile) and edge/IoT deployments have different constraint profiles — limited OS-level controls, different isolation primitives, and unique network characteristics — that are not addressed here.-]

### 8. Limitations

[-6. **Snapshot in time.** Agent runtimes, model capabilities, and attack techniques evolve rapidly. Specific CVEs, tools, and architectural details will date. The framework's principles should outlast its specifics.-]

### 8. Limitations

[-7. **Boundary ambiguity between control classes.** Some controls are hybrids. Privacy routing combines deterministic mediation with probabilistic classification; approval systems combine hard technical gates with soft human judgment. The deterministic/probabilistic distinction is still useful, but not perfectly binary in implementation.-]

### 8. Limitations

[-8. **Case-study dependence.** The NemoClaw discussion is illustrative, not determinative. The architecture is used to surface principles, not to crown a winner among runtimes.-]

### 9. Future Work

[-## 9. Future Work-]

### 9. Future Work

[-Several research directions would strengthen or falsify this framework:-]

### 9. Future Work

[-1. **Red-team validation.** Run controlled adversarial exercises against deployments configured according to Minimal, Standard, and Enterprise AEGIS profiles. 2. **Longitudinal incident corpus.** Build a shared database of agent incidents and near misses so risk scoring can be calibrated with stronger empirical footing. 3. **Control interaction measurement.** Quantify which layers reduce marginal risk most effectively for given personas, rather than assuming equal value across contexts. 4. **Approval UX experiments.** Measure approval fatigue, cancellation rates, and false approvals under different permission-gate designs. 5. **Model integrity verification.** Extend AEGIS to better cover the residual gap identified in §6.3: compromise of the local model or classifier itself. 6. **Cross-runtime validation.** Test whether the taxonomy transfers cleanly to LangChain-style, browser-native, mobile, and enterprise orchestrator deployments.-]

### 14.1 Limitations

{+**Qualitative risk scores.** Despite the calibration methodology in §6, probability and severity ratings remain expert judgment. The risk matrices should be treated as prioritization heuristics, not actuarial precision. Different practitioners with different threat intelligence would assign somewhat different scores.+}

### 14.1 Limitations

{+**NemoClaw and DefenseClaw assessment is snapshot-based.** Both frameworks are actively developed. The gap analysis in §7 and §8 reflects April 2026 documentation. Specific gaps may be addressed in future releases.+}

### 14.1 Limitations

{+**Regex-bypass problem not fully solved.** DefenseClaw's CodeGuard and the broader static analysis approach to supply chain security has known bypass vectors (obfuscation, encoding, runtime code generation). The AEGIS framework currently treats supply chain monitoring as a 3/5 control — this may be generous for sophisticated adversaries.+}

### 14.1 Limitations

{+**The liability analysis is jurisdiction-dependent.** §3 provides a GDPR-centric analysis. Other jurisdictions (CCPA in California, PIPL in China, APRA in Australia) have different controller/processor concepts and different liability frameworks. Organizations operating across jurisdictions require jurisdiction-specific legal analysis, not AEGIS's framework alone.+}

### 14.1 Limitations

{+**SMB Operator persona (§5.3) is new and less validated.** The Tinkerer, Freelancer, and Corporate Employee personas have been reviewed against incident reports and regulatory guidance. The SMB Operator persona is newly introduced in this version and has less empirical grounding.+}

### 14.2 Future Work

{+### 14.2 Future Work+}

### 14.2 Future Work

{+1. **Red-team validation across AEGIS configurations.** Run controlled adversarial exercises against Minimal, Standard, and Enterprise AEGIS profiles for all four personas. Measure actual attack success rates rather than theoretical layer analysis.+}

### 14.2 Future Work

{+2. **Liability framework validation.** Engage legal counsel in relevant jurisdictions to validate the controller/processor analysis in §3 and the DPA recommendations.+}

### 14.2 Future Work

{+3. **NemoClaw Intent Verification improvements.** The Layer 5 weakness (evaluates proposed action type, not payload content) is the most analytically interesting gap. Research into LLM-based intent verification that operates at payload content level, not action type level, would significantly improve the weakest NemoClaw layer.+}

### 14.2 Future Work

{+4. **SMB configuration tooling.** The Standard Configuration in §12.4 is achievable but requires technical competence that not all SMB Operators have. A configuration wizard or audit tool that walks through the Standard Configuration steps would substantially improve SMB security posture.+}

### 14.2 Future Work

{+5. **Self-modification threat model formalization.** The CEREBELLUM attack surface (§11.4) requires more formal treatment. A threat model specifically for self-modifying agent systems — analogous to formal verification for self-modifying code — would strengthen AEGIS's coverage of this scenario.+}

### 14.2 Future Work

{+6. **Memory integrity verification.** Extending AEGIS to address the temporal attack surface of memory poisoning with cryptographic integrity guarantees for the event store would close the gap between ENGRAM's design and its security properties.+}

### 15. Related Work

## [-10.-] {+15.+} Related Work

### 15. Related Work

**OWASP Top 10 for LLM Applications (2025)** provides a vulnerability-focused taxonomy [-for LLM-powered applications,-] covering prompt injection, insecure output handling, [-and-] training data [-poisoning.-] {+poisoning, and supply chain risks.+} AEGIS differs in focusing specifically on *agentic* systems [-(tool-] {+with tool+} use, action execution, [-multi-step autonomy) rather than LLM applications generally,-] {+and state persistence,+} and in providing a layered defense architecture rather than a vulnerability [-list.-] {+list. The OWASP taxonomy is complementary; AEGIS is agent-specific where OWASP is LLM-general.+}

### 15. Related Work

**MITRE ATT&CK for AI/ML [-(2025)**-] {+(v16, 2025)**+} extends the ATT&CK framework to [-AI/ML-] {+AI and ML+} systems, enumerating adversary techniques. AEGIS uses STRIDE rather than ATT&CK as its primary threat modeling framework because STRIDE better maps to the *defensive* strategy classes [-we propose;-] {+proposed;+} ATT&CK's offensive [-framing-] {+technique enumeration+} is complementary but serves a different {+analytical+} purpose.

### 15. Related Work

{+**NIST AI Risk Management Framework (AI RMF, 2023)** provides governance-level guidance for AI system risk management. AEGIS is more technically specific, providing implementation-level security controls rather than organizational governance process guidance. The AI RMF is the governance framework above which AEGIS operates as the technical control framework.+}

### 15. Related Work

**Perez [-&-] {+and+} Ribeiro (2022)** on prompt injection attacks established the foundational understanding of why prompt-level controls are [-insufficient.-] {+insufficient against adversarial inputs.+} AEGIS builds on this by providing the deterministic/probabilistic classification framework and concrete architectural alternatives.

### 15. Related Work

{+**Google's Secure AI Framework (SAIF, 2023)** identifies six core elements of AI security. AEGIS's eight strategy classes intersect with SAIF's framework at most points, with AEGIS providing more operational specificity for agent deployments.+}

### 15. Related Work

**Reason (1990)** originated the Swiss cheese model [-for aviation safety. Our-] {+in the context of human-caused accidents in aviation. AEGIS's+} adaptation to agent security preserves the [-model's-] core insight — layered imperfect controls achieve what no single control can — while mapping it to a software-specific control hierarchy.

### 15. Related Work

No prior work to our knowledge provides an integrated security framework [-specifically-] for autonomous AI agents that spans from OS-level controls to behavioral rules, includes formal persona-based risk analysis, {+incorporates a data classification-based liability framework,+} and [-proposes-] {+provides+} a concrete defense-in-depth [-architecture.-] {+architecture with worked simulation.+} AEGIS aims to fill this gap.

### Acknowledgments

[-## Acknowledgments-]

### Acknowledgments

[-The authors thank the OpenClaw security research community, the Cisco Talos team for their supply chain attack disclosure, and the anonymous security researchers who responsibly reported CVE-2026-25253. The analysis of NemoClaw architecture is based on publicly available NVIDIA GTC 2026 presentation materials and technical documentation.-]

### Acknowledgments

[-----]

### 16. References

## {+16.+} References

### References

[-*Reference note:* Several sources cited here are industry reports, advisories, keynote materials, or technical documentation rather than peer-reviewed papers. That mix is deliberate because the agent security field is moving faster than the formal literature. Where claims rely on non-peer-reviewed material, the paper treats those claims as operational evidence rather than settled scientific fact.-]

### References

[-Bau, D., et al. (2020). "Rewriting a Deep Generative Model." *ECCV 2020*.-]

### References

[-Carlini, N., et al. (2021). "Extracting Training Data from Large Language Models." *USENIX Security 2021*.-]

### 16. References

{+Anthropic. (2025). *Anthropic Data Processing Addendum for Business Customers*. Anthropic Technical Documentation.+}

### 16. References

{+Berman, M. (2026). "I had a hacker try to break into my AI agent — here's what happened." YouTube / Berman AI channel, February 2026.+}

### 16. References

[-CISCO-] {+Cisco Systems / Cisco+} Talos Intelligence Group. (2025). "Malicious OpenClaw Skills: {+A+} Supply Chain Attack Analysis." *Talos {+Intelligence+} Blog*, October 2025.

### 16. References

{+Cisco Systems. (2026). "DefenseClaw: Open-Source Security for OpenClaw Deployments." *Cisco Developer Blog*, March 27, 2026.+}

### 16. References

CVE-2026-25253. (2026). "OpenClaw WebSocket Origin Validation Bypass — [-Zero-Click-] {+Unauthenticated+} Remote [-Code-] {+Tool+} Injection." *National Vulnerability Database*, February 2026.

### References

[-Gartner Research. (2026). "AI Agent Runtime Adoption in Enterprise Environments: Survey Data Q4 2025." *Gartner Technical Report*.-]

### 16. References

{+CVE-2026-GHSA-hf68-49fm-59cq. (2026). "OpenClaw Agent Reconnect Scope Escalation — Critical Privilege Escalation." *GitHub Security Advisories*, March 2026.+}

### 16. References

{+Google. (2023). *Google's Secure AI Framework (SAIF)*. Google Technical Report.+}

### 16. References

{+GHSA-fqw4-mph7-2vr8. (2026). "OpenClaw Shared-Auth Channel Reconnect Remote Code Execution." *GitHub Security Advisories*, March 2026.+}

### 16. References

{+NIST. (2023). *Artificial Intelligence Risk Management Framework (AI RMF 1.0)*. NIST AI 100-1.+}

### 16. References

NVIDIA Corporation. (2026). "NemoClaw Security Architecture Reference Guide v1.0." *NVIDIA Developer [-Documentation*.-] {+Documentation*, GTC 2026.+}

### 16. References

{+NVIDIA Corporation. (2026). "OpenShell: Out-of-Process Policy Enforcement for AI Agents." *NVIDIA Technical Documentation*, March 2026.+}

### 16. References

{+OpenAI. (2025). *OpenAI Data Processing Addendum*. OpenAI Business Terms.+}

### 16. References

{+Pivot Point Security. (2026). "MCP Server OAuth Authentication Vulnerabilities: A Survey of 43% Exposure Rate." *Pivot Point Security Research*, March 2026.+}

### 16. References

Shadowserver Foundation. (2026). "CVE-2026-25253 Patch [-Adoption Survey:-] {+Adoption:+} 30-Day [-Follow-Up."-] {+Follow-Up Survey."+} *Shadowserver {+Security+} Blog*, March 2026.

### References

[-Stamper, T. (2025). "Meta Internal Security Advisory: OpenClaw on Corporate Devices." *Leaked via Information Security community, January 2026*.-]

### 16. References

{+Sonatype. (2026). "sonatype-2026-000542: SANDWORM_MODE Self-Spreading npm Malware Analysis." *Sonatype Vulnerability Research*, March 2026.+}

### 16. References

{+Xygeni Research. (2026). "230+ Malicious Packages in February 2026: Supply Chain Attack Trend Analysis." *Xygeni Security Blog*, March 2026.+}

### References

[-Ziegler, D., et al. (2019). "Fine-Tuning Language Models from Human Preferences." *arXiv preprint arXiv:1909.08593*.-]

### Immediate Actions (Any Deployment) - [ ] Bind WebSocket to `127.0.0.1` - [ ] Verify all installed skills against known-good sources - [ ] Review agent's current filesystem access scope

[-### Immediate Actions (Any Deployment) - [ ] Bind WebSocket to `127.0.0.1` - [ ] Verify all installed skills against known-good sources - [ ] Review agent's current filesystem access scope-]

### Tinkerer (Persona A) — Standard - [ ] AppArmor profile denying `~/.ssh`, `~/.gnupg`, crypto seed files - [ ] Docker container with workspace bind-mount only - [ ] Egress firewall: allow LLM API IPs only - [ ] Root-owned, read-only SOUL.md and AGENTS.md

[-### Tinkerer (Persona A) — Standard - [ ] AppArmor profile denying `~/.ssh`, `~/.gnupg`, crypto seed files - [ ] Docker container with workspace bind-mount only - [ ] Egress firewall: allow LLM API IPs only - [ ] Root-owned, read-only SOUL.md and AGENTS.md-]

### Freelancer (Persona B) — Standard - [ ] Privacy routing: local model for client data directories - [ ] Human gate on all external communications - [ ] GDPR data inventory and regulatory mapping review - [ ] Client data in separate directory excluded from agent workspace - [ ] Skill hash verification - [ ] Client consent/disclosure policy for AI-assisted work

[-### Freelancer (Persona B) — Standard - [ ] Privacy routing: local model for client data directories - [ ] Human gate on all external communications - [ ] GDPR data inventory and regulatory mapping review - [ ] Client data in separate directory excluded from agent workspace - [ ] Skill hash verification - [ ] Client consent/disclosure policy for AI-assisted work-]

### Corporate (Persona C) — Scope First, Then Harden - [ ] **BEFORE ANY HARDENING:** Remove agent access to corporate network shares, production credentials, privileged email - [ ] IT security review and documentation - [ ] Enterprise Configuration (§6.4) via formal change management - [ ] Include in penetration test scope - [ ] Evaluate NemoClaw out-of-process enforcement adoption - [ ] Prompt injection awareness training for agent users

[-### Corporate (Persona C) — Scope First, Then Harden - [ ] **BEFORE ANY HARDENING:** Remove agent access to corporate network shares, production credentials, privileged email - [ ] IT security review and documentation - [ ] Enterprise Configuration (§6.4) via formal change management - [ ] Include in penetration test scope - [ ] Evaluate NemoClaw out-of-process enforcement adoption - [ ] Prompt injection awareness training for agent users-]

### Universal Minimum (20 minutes — Every Deployment)

{+### Universal Minimum (20 minutes — Every Deployment)+}

### Universal Minimum (20 minutes — Every Deployment)

{+- [ ] Bind agent control port to localhost (eliminates CVE-2026-25253 class) - [ ] Verify all installed skills against known sources; remove unrecognized ones - [ ] Apply filesystem deny policy for credential directories and secret files - [ ] Restrict agent workspace root to an isolated subdirectory+}

### Persona A — The Tinkerer — Standard

{+### Persona A — The Tinkerer — Standard+}

### Persona A — The Tinkerer — Standard

{+- [ ] Container isolation with workspace-only bind mount - [ ] Egress firewall: LLM API endpoints only - [ ] Root-owned, read-only behavioral configuration files - [ ] Cron security scan: skill changes, CVE status, permission drift+}

### Persona B — The Freelancer — Standard

{+### Persona B — The Freelancer — Standard+}

### Persona B — The Freelancer — Standard

{+*All of Persona A Standard, plus:* - [ ] Execute DPA with each LLM provider before processing client data - [ ] Privacy routing: client directories → local model (Ollama or equivalent) - [ ] Confirmation gate on all external communications (email, API calls) - [ ] Client data in isolated workspace, excluded from general agent context - [ ] GDPR data inventory mapping accessible client PII - [ ] Quarterly scope audit: does the agent actually need everything it can access?+}

### Persona C — The SMB Operator — Standard

{+### Persona C — The SMB Operator — Standard+}

### Persona C — The SMB Operator — Standard

{+*All of Persona A Standard, plus:* - [ ] Scope restriction FIRST: remove employee payroll/HR from agent-accessible paths - [ ] Execute DPA with LLM provider before *any* employee or client data processing - [ ] Separate workspace containers per data category (finance, client, operations) - [ ] Privacy routing for employee and client data - [ ] Inform staff of agent capabilities and data scope (documented communication) - [ ] Run DefenseClaw skill-scanner + CodeGuard on all installed skills - [ ] Generate AI BOM for compliance documentation - [ ] Monthly skill audit+}

### Persona D — The Corporate Employee — Prerequisites

{+### Persona D — The Corporate Employee — Prerequisites+}

### Persona D — The Corporate Employee — Prerequisites

{+- [ ] **BEFORE HARDENING:** Restrict scope to personal work files only — remove all corporate network shares, production credentials, privileged email - [ ] Escalate to IT security for formal documentation in asset register - [ ] Assess whether any Tier 3 data has already been sent to external LLM APIs; if yes, assess regulatory notification obligations - [ ] If organization approves continued use: apply Standard Configuration plus Enterprise egress and audit controls - [ ] If organization does not approve: remove agent from corporate infrastructure+}

### Enterprise Additional Controls

{+### Enterprise Additional Controls+}

### Enterprise Additional Controls

{+*All applicable persona Standard, plus:* - [ ] Out-of-process policy enforcement (OpenShell or equivalent) - [ ] Per-session isolation for multi-agent workflows - [ ] Enterprise DLP integration for data classification - [ ] Signed skill manifests with organizational PKI - [ ] Tamper-evident audit trail integrated with SIEM (Splunk or equivalent) - [ ] Penetration testing of agent deployment (include in scheduled pen test scope) - [ ] Employee prompt injection awareness training - [ ] Incident response plan specifically covering agent compromise scenarios - [ ] NemoClaw evaluation for organizations requiring full 5-layer architecture+}

### Appendix B: Threat-to-Section Cross-Reference

{+## Appendix B: Threat-to-Section Cross-Reference+}

### Appendix B: Threat-to-Section Cross-Reference

{+*For IT contractors who want to navigate directly to specific concerns:*+}

### Appendix B: Threat-to-Section Cross-Reference

{+| Concern | Section | |---------|---------| | "Can a hacker take over the agent?" | §2.1 — Class I threat taxonomy | | "What data is actually at risk?" | §3.1 — Three-tier data classification | | "Who's liable if Anthropic has a breach?" | §3.3–3.5 — GDPR liability analysis | | "Can we recover money from Anthropic?" | §3.5 — Recovery analysis | | "Does Anthropic train on our data?" | §3.4 — ToS and DPA analysis | | "Is NemoClaw actually better?" | §7 — Full NemoClaw analysis with gaps | | "What does DefenseClaw actually do?" | §8 — Full DefenseClaw analysis | | "If these tools are secure, why are NVIDIA and Cisco doing this?" | §9 — Business motivation analysis | | "Has anyone actually tried to hack a real setup?" | §10 — Berman penetration test | | "What's the minimum I need to do right now?" | Appendix A — Quick-reference checklist | | "What are the specifics for my deployment context?" | §13 — Per-persona recommendations |+}

### Appendix B: Threat-to-Section Cross-Reference

{+---+}

### Appendix B: Threat-to-Section Cross-Reference

*Paper J9 — [-AEGIS:-] {+AEGIS v2.0:+} A Multi-Layered Security Framework for Autonomous AI Agents* *Author: Oscar Serra | Date: [-2026-03-17-] {+April 2026+} | Version: [-1.1* *Workspace:-] {+2.0* *Series:+} J-Series AI Research [-Papers-] {+Reports+} | [-Series: J9_agent_security*-] {+Classification: Internal — IT Contractor Review*+}
